Yes form A pass a record to form B
I mentioned Form A is salestablelistpage and Form b is salestablepage.
The same approach does work when i call the dialog from form A however requirement is that even when dialog is called from form B the above code should be modified in a way that it does research form A in addition to form B.
The datasource of formA and Form b is common , salesTable.
I cannot use the element,args in above code as element is out of context of controller class.
I need to know how to refresh /reread parent form data source salestable which may or may not be the primary datasource.
List of root datsources will be bind to formrun , formrun will have formb and we need to refresh form A's salestable and not form B.
Please suggest a fix using which form A gets refreshed/researched(incase refresh does not work) immeditaely after form b is researched in above code.
Flow
User selects record in salestablelistpage --> clicks the record --> salestableform is opened -->launches dialog --> returns to salestableform from dialog prompt after clicking Ok on dialog -->salestableform gets researched and updated values are seen ALL GOOD UNTIL HERE
Now user closes salestableform and lands back on salestablelistpageform and here the updated values cannot be seen till user manually refresh the page. THIS IS what needs to be done AUtomatically via the code.
Let me know if you still need anything more.
Just need to know how to refresh /reread parent form (salestablelistage) data source salestable (which may or may not be the primary datasource ) in controller class after controller class is done refreshing/rereading the child form (salestable) as shown in code above.
Thanks
Mav