CHECKCOLUMNEXIST

Use this function to check, if a field, of a certain table exists on the mobile device. The Anveo Synchronization Package defines what Dynamics tables and fields are sent to the mobile device.

bool Record.CheckColumnExist(string FieldName);

example:
local foo = Record(‘foo’); 
if foo.CheckColumnExist(‘bar’) then 
	foo.SETRANGE(‘bar’, 1); 
end;