Parameter | Description |
---|---|
hoDD | The DataDictionary Object (DDO) handle that failed |
eReason | The refind error type (retCannotRereadMain or retCannotRereadConstrainingParent) |
Procedure OnNavigateForwardRefindError Handle hoDD Integer eReason
This event is called when a refind record error occurs during forward navigation. It is called in place of OnNavigateForward.
By default it calls, OnRefindRecordError, followed by NavigateCancel, which will close the view.
OnNavigateForwardRefindError can be used to customize the handling of this. This is called after the navigate forward process is complete, so you can do whatever you want. Realistically errors will rarely occur and customizing the error handling is pretty complicated - but it is there if you want it. You know which DDO failed and you know if this was a constraining parent or the main DD that failed.
If you are debugging, a possible refind record error you should start by setting the pbShowAllRefindErrors property to True. You may also wish to place a breakpoint on the cWebView OnRefindRecordError event.