if you want to refresh a form, but want to stay on the current record you are on, use this code:
void refreshForm()
{
FormTable current;
;
if (FormTableDataSource.RecId)
{
FormTableDataSource_ds.write();
current.data(FormTableDataSource);
FormTableDataSource_ds.research();
FormTableDataSource_ds.setRecord(current);
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment