Checks if a field is present in the current screen or subfile.
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#bFound := #myscreen_wrapper.Check_Field_Exists(sName iInd)
Name | Char 256 – Required | Integer that specifies the row number where to position the cursor. | |
|---|---|---|---|
Index | Integer – Optional | An Integer that specifies the subfile row of the field.
|
Found | Boolean | true – the field was found in the current screen. false – the field was not found. |
|---|
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#FldFound := #myscreen_wrapper.Check_Field_Exists("SURNAME")
#FldFound := #myscreen_wrapper.Check_Field_Exists("SURNAME" #listcount)
Dowhile (#myscreen_wrapper.check_field_exists( "SKILLCODE" #listcount ))
#myscreen_wrapper.getvalue From("skillcode") Value(#skilcode) Index(#listcount)
#listcount += 1
Endwhile