Показать сообщение отдельно
Старый 07.07.2011, 16:05   #1  
Dark Smile is offline
Dark Smile
Junior AX Developer
 
16 / 10 (1) +
Регистрация: 17.06.2011
Get the parent Table of a field only by fieldid
Hey Guys,


I got the following informations:
- UtilElementName (Name of a tablefield)
- UtilElementType (=TableField)
- ID ( fieldname2id(UtilElementName) )

What i want is the Table which the field is in.
I tried to use TreeNode but i failed because the path isn't complete (\\Data Dictionary\\Tables\\???\\Fieldname).

I also can't use SysDictField because it wants a TableId too.

My next idea was to search for the Table but i don't get it with SysTreeSearch - maybe i haven't the needed expierince.

So can anyone help me to get the parentTable ?

Thank you.
__________________
Kind Regards
Robin