Creating fields at run time is not the best thing ever. Still, if this is what you need you can do this :
AOTTableFieldList fields;
TreeNode myTable;
TreeNode field;
myTable = TreeNode::findNode("\\Data Dictionary\\Tables\\TheTable");
fields = myTable.AOTfindChild("Fields");
fields.addReal("NewField");
myTable.AOTcompile();
Appl.dbSynchronize(tableNum(TheTable), true, false, true);
Steeve...
-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la part de vk
Envoyé : 19 avril 2006 08:22
À : AXKnowledgeVillage; DevelopmentAxapta
Objet : [development-axapta] Create New fields during runtime in dialog
Hi,
hoiw to create a new fields during run time in dialog.any one know the answer help me...
my requirement is In my dialog having a field, i have entered 4 means 4 field creating automatically.how to do?
regards,
vijay
Send instant messages to your online friends http://uk.messenger.yahoo.com
[Non-text portions of this message have been removed]
Yahoo! Groups Links
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

