CHECKTABLEEXIST

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

bool CHECKTABLEEXIST(string TableName);

example:
if CHECKTABLEEXIST(‘foobar’) then 
	local foobar = Record(‘foobar’); 
	foobar.INIT(); 
	… 
end;