Notifications
Announcements
No record found.
HI,
How can i refresh the caller form without using f5. i've already use refresh caller() but it doesnt work. It'll be great if someone guide me through example which works
*This post is locked for comments
Refresh calling form data source
FormDataSource fds;
_CallerTable = element.args().record();
if (_CallerTable .isFormDataSource())
{
fds = _CallerTable.dataSource();
if (fds)
fds.executeQuery();
}
Regards,
Agha
You may refer into this link axcompendium.wordpress.com/.../how-to-refresh-caller-datasource
If it doesn't work, share your code here
It still doesn't work.
i've write the method on form level by overriding refresh caller().
/* Common common; FormDataSource assetTable;
common = element.args().record(); if (common) { assetTable = common.dataSource(); if (assetTable) { // Referenced datasources must be reread before calling research as data has been modified behind the scenes // without calling research will fail to position selection correctly assetTable.reread(); assetTable.rereadReferenceDataSources(); assetTable.research(true); } } */
this still doesn't work
Zohan,
If u have updated/ Inserted values to table, u have to run 'ExecuteQuery' method. Have a try with it
Regrards,
so i've to write refresh logic on execute query method ? that's what are you trying to say?
as replied earlier,
this doesn't work as i've mentioned earlier
Did u bugged it, does it really run excuteQuery method ?
Otherwise thats confirm solution to it
Thanks you blog helped me to fix my issue
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Priya_K 4
Martin Dráb 4 Most Valuable Professional
MyDynamicsNAV 2