How to use Tableid in X++ select statements ?

HI ,

i have a TableId , now i wanted to use it in X ++ select statements like

while select Tableid ,

{

}

it allows common objects only , wont allow tableid … so how to convert it into common object…

could any one please help me ??

You’re probably looking for this:

Common common = new DictTable(tableId).makeRecord();

Thanks for your reply…

this is not exactly i am looking for…

… and you won’t get any better answer unless you explain what you are looking for …