
To get FieldId from a Field name, where the Field name is a string type you can use fieldname2id() method
int fieldId = fieldname2id(tableNum(Salestable), 'SalesId');

To get FieldId from a Field name, where the Field name is a string type you can use fieldname2id() method
int fieldId = fieldname2id(tableNum(Salestable), 'SalesId');
More Posts
Leave a comment