A combination of SysDictTable.primaryIndex() and SysDictIndex should do just find.  If you need more info on how to use those object, just ask.

Regards,

Steeve...


-----Message d'origine-----
De : development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de kamchung322
Envoyé : 13 juillet 2005 22:03
À : development-axapta@yahoogroups.com
Objet : [development-axapta] Find Record by TableId & RecId

Hi All,

I want to write an generic program.  I pass the tableid, recid and the
program will display the Primary Key.  ie.  When I pass the tableid of
ProdTable, it will display the ProdId.  When I pass the tableId of
InventTable, it will display the ItemId.  Is it possible to do it and
how to do ?

Thank you very much.

Kenneth.







Yahoo! Groups Links











YAHOO! GROUPS LINKS




Reply via email to