BeforeCursorUpdate Event

Occurs immediately before the TABLEUPDATE( ) function executes.

PROCEDURE Object.BeforeCursorUpdate 
LPARAMETERS nRows, lForce

Parameters

  • nRows
    Specifies the setting of the nRows parameter from the TABLEUPDATE( ) function.
  • lForce
    Specifies the value of the lForce parameter from the TABLEUPDATE( ) function.

Remarks

BeforeCursorUpdate occurs once at the beginning of the update process. If multiple rows are being updated, the BeforeUpdate, BeforeInsert, and BeforeDelete events occur for each updated row as appropriate.

If code in BeforeCursorUpdate returns False (.F.), no update, insert, or delete operations occurs.

See Also

Events | CursorAdapter Object Properties, Methods, and Events | TABLEUPDATE( ) Function | BeforeUpdate Event | BeforeInsert Event | BeforeDelete Event | AfterCursorUpdate Event

Applies To: CursorAdapter Class