onNavigate
Topic group Related topics Example
Event fired when the record pointer in a table in a work area is moved.
Parameters
<workarea expN>
The work area number where the navigation took place.
Property of
Browse, Form, SubForm
Description
The form’s (or browse’s) onNavigate event is used mainly for form-based data handling with tables in work areas. It also fires when there is navigation in the form’s primary rowset.
Use onNavigate to make your application respond each time the user moves from one record to another.
When using tables in work areas, onNavigate will not fire unless the form is open and has controls dataLinked to fields. For example, if you USE a table, create and open an empty Form, assign an onNavigate event handler, and SKIP in the table, the onNavigate will not fire simply because the form is open.
When navigating in the form’s primary rowset, the form’s onNavigate fires after the rowset’s onNavigate, and the <workarea expN> parameter is zero.