Question

Refreshing the current form.

  • 21 June 2023
  • 0 replies
  • 44 views

Badge +3

Hello,

A repopulate can be accomplished by calling the DataSourcePopulate method on a window or a child table. Doing this on a form window will repopulate the window, and add newly created records and remove deleted records from the record selector. For table windows and child tables new records will be added and deleted records will be removed from the table.
Forms can be refreshed by calling the DataSourceRefresh method. This will re-fetch only the record currently selected in the record selector, with its objid. DataSourceRefresh can be called on table windows but that will do a repopulate rather than a refresh.

How do I use this in visual studio?


0 replies

Be the first to reply!

Reply