MSM-Workstation
Events

MoveLast

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

This event occurs when a SQL Data control moves to the last field in sequence.

The event MoveLast 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 MoveLast 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 MoveLast completes.

Otherwise the SQL Data control moves to the last record.

If there are no records, the event MoveLast 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 MoveLast action logic is executed. If action logic on that event causes execution of code from the macro %%NotOK the event MoveLast completes.

Otherwise any action logic for the UpdateControls event is executed.

Go to the alphabetic list of events.