DBGETCOMMENT( "myField", "FIELD", "INPUTMASK" )and
DBGETCOMMENT( "myField", "FIELD", "FORMAT" )where "myField" is the name of the field in the selected alias for which you want to get the inputmask or format. The database containing the table must be open and set.