Skip to Content
0
Former Member
Oct 19, 2007 at 12:40 PM

dynamic naming for screen fields possible?

12 Views

Hi.

I am trying to loop through some screen fields, and hence need to dynamically name the fields. I use the following codes, but it gave me an error:

*********************************

IF MAND_CHECK = 'X' AND (TXT_FILE) IS INITIAL.

"TXT_FILE is a variable that contains the name of the screen field.

SET CURSOR FIELD TXT_FILE.

"TXT_FILE is a variable that contains the name of the screen field.

ENDIF.

*********************************

Error: Fehlerhafter logischer Ausdruck "(TXT_FILE)": Nach "(".......