Hello, i actually insert new Field as follows....
TreeNode treeNode; AOTTableFieldList fieldList; #AOT ; treeNode = TreeNode::findNode(@'\\Data Dictionary\Tables\CCenter\'); fieldList = treeNode.AOTfindChild('fields'); fieldList.addEnum('MyNewFIeld'); SqlDataDictionary::synchronize();
How i can add the next baseenum to this field by code??
Thanks in advance
*This post is locked for comments
Is correct Sukrut, thank very much.
fieldNode.AOTsetProperty(#PropertyEnumType, 'DayCostCenter');
Thanks Sukrut, but it did not work
I understand that this code is to set the value, but not the Enum, is correct?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156