Hello.
I want to call the validate method of Dimension[x] form the form's datasource in one of the form's methods.
(eg: VendTrans_ds.object(fieldnum(VendTrans, Dimension[2])).validate();)
I know there is a function which can distinguish the number of the Dimensions/array field, but I cannot find it. (like when you use ranges on different dimension fields)
So how can I set the number of the array Dimension in my example?
Thanks a lot,
NaM
*This post is locked for comments
I've found it
VendTrans_ds.object(fieldId2Ext(fieldNum(VendTrans, Dimension), 2)).validate();
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,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156