Performs a new query, refetches all data, and repaints the form or browse.
The <OBJECT>.RESYNCH() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer, the name of the form, PARENTFORM, or TOPPARENT)
The <OBJECT>.RESYNCH() method does a new query, re-fetches all data for the form or browse, and then repaints it. Optionally you can limit resynch to a table.
This script is attached to a button on a form. It re-synchronizes the form with the data in the table and repaints all of the controls on the form, including any embedded browse controls.
This script refreshes an embedded browse named browse1. Note that an embedded browse must have focus before being updated.
Desktop applications only.