简体   繁体   中英

How to check an “empty” fill-in field which is not empty due to the format?

I have a window, containing some fill-in fields. One of them is meant to contain a date, having 99/99/9999 as a format. Due to that format, when emptying the field (selecting the content and press the DEL button), I see "__/__/____" on screen (the underscores mean spaces).

In order to check if this fill-in field is empty, currently the source code does this as follows:

IF Date_Fill-In:SCREEN-VALUE <> "/  /"

As you can see, this is heavily dependent on the format of the fill-in field.

Is there a built-in function I can use to check if the screen-value of a fill-in field is empty, without needing to check the format?

Thanks in advance
Dominique

Check for the INPUT-VALUE property returning?.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM