Validate (screenRef as Object, mapname as String) as Boolean
or
Validate (screenRef as CclOScreen, mapname as String) as Boolean
Validate map against the current screen.
If TRUE is returned, the FieldByName method can be used to access fields using their BMS name.