[Stackoverflow] [Progress OpenEdge ABL] How to check an "empty" fill-in field which is not empty due to the format?

Status
Not open for further replies.
D

Dominique

Guest
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:

Code:
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

Continue reading...
 
Status
Not open for further replies.
Top