Retrieve Table name

Hi Community,

can someone give me a tip, how I can retrieve a name of a table.

I was going for smth like this:

tblName = myTable::find(recID).tableName;

only there is no option after find(recID). available.

Thanks

Try tableStr(myTable)

Also, take a look at this.

If you know the tableid you use the tableid2name function.

InventTable InvTable;

;

info(

tableId2name(InvTable.TableId));

Thanks!

Both suggestions work!