Hi Can any one help through code .
How to access form data source methods in class, can I get the code for this in X++.
Hi Can any one help through code .
How to access form data source methods in class, can I get the code for this in X++.
Hi mahiims18,
you can just call the methods as long as you have the reference to the data source object.
For example "myDataSource.myMethod();".
If you need any more details, please share more details about your situation.
Hi mahiims18,
Have you got your datasource object?
FormDataSource MyRandomTable_ds = sender.dataSource(formDataSourceStr(SomeForm, MyRandomTableDS));
Check here: daxingwitheshant.blogspot.com/.../get-formrun-form-control-datasource-and.html
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156