GETTABLENO

int Record:GETTABLENO();

Example:
Customer:GETTABLENO(); 
returns 18

Returns the number of table.