Procedure RefreshRecord
| Call: | Send RefreshRecord |
RefreshRecord performs a refind and refresh based on the main view's DataDictionary object (DDO) record. If the record cannot be found, OnRefreshRecordError is called.
This can be used to reset the data in your view with the latest data. If you have made changes in your view, those changes will be lost without any data-loss warning.
This action menu item will refind the view's record data clearing any changes a user might have made.
Object oCancelChangesBtn is a cWebMenuItem
Set psCaption to "Clear Changes"
Set peActionDisplay to adMenu
Procedure OnClick
Send RefreshRecord
End_Procedure
End_Object