Recid 2 tableid

How can I get the tableid if I have only the recid

Thanks

You can’t. The same RecId may be used in many different tables.