Hello all,
I have a button, wich when clicked... i need to show a display menu item with different datasources based of the name of the dataset that the selected record is.
For example :
if the dataset of the selected record is custtable --> show the menuitem of type display with SalesTable as datasource , otherwise show the menuitem with SalesLine as datasource.
All the datasources that i will add on code are part of form datasources.
I want to know:
1. How to check wich is the name of the current record dataset.
2. How to call the menuitem with a specific datasource .
I am onclicked() of button event.
Thank you in advance