MSM-Workstation
Events

MoveFirst

The high level event MoveFirst may occur for components of the type SQL data.

This event occurs when a SQL Data control moves to the first field in sequence. The event MoveFirst is one of a group of Move-events (MoveFirst, MoveLast, MoveNext, MovePrevious and MoveTo).

This event is caused by a execution of code generated by the macro %%Perform in other action logic.

When that happens, MSM-Workstation will first process a Validate event. If action logic on that event causes execution of code from the macro %%NotOK the event MoveFirst completes.

Otherwise if

MSM-Workstation will process an UpdateRecord event. If action logic on that event causes execution of code from the macro %%NotOK the event MoveFirst completes.

Otherwise the SQL Data control moves to the first record.

If there are no records, the event MoveFirst completes.

Otherwise, if there are any list-type controls on the window that are bound to one of these SQL Data Control components (see the property ChoiceField), then those lists are loaded from the new record. After this, any MoveFirst action logic is executed. If action logic on that event causes execution of code from the macro %%NotOK the event MoveFirst completes.

Otherwise any action logic for the UpdateControls event is executed.

Go to the alphabetic list of events.