How does field group help in terms of creating form? (Any example would be great)
Also, when I make a change to a table such as change the name of a field then the Table drops itself under Datasource node on Form. Any explanation as to why this is happening would be helpful. Thanks!
*This post is locked for comments
you can change their properties by code via iterating inside the field group and getting them by their names
see an example here alexvoy.blogspot.com/.../how-to-set-properties-for-reference.html
Hi,
In my Form there is a datagroup of assigned on the form and AutoDataGroup porperty set to yes.But if I set AutoDataGroup Property set to yes tha the properties of the fields inside that group are not editable.
does any one know how can i make it editable without changing the AutoDataGroup to no.
don't forget to set the auto group property on yes in the form control. otherwise restore will not help you
Thank you! This makes lot of sense now :D
Hi Lhadol,
When creating a form, you can drag a field group to a grid to add all fields in the field group in the grid at once. If you drag a field group to a tab, a group control will be created in the tab containing all fields in the field group.
When you update the field group, say add a new field to the field group at the table, the added fields will appear in the form as well.
There are many examples in AX. One would be the LedgerJournalTable Form. You can go to Designs > Design > Group:Group > Tab:Tab > TabPage: General > Group:Identification.
If you look at the DataGroup property of the group, you'll see "Identification" assigned.
As for your other inquiry, I never encountered that. Normally I would change the field name, then "restore" the form object (so that the datasources are refreshed), then edit the DataField property of the affected controls. So that's an unexpected behavior you got there.
Kind Regards,
Dominic
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,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156