Partager via


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

Applies To: CursorAdapter Class

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

Reference

CursorAdapter Object Properties, Methods, and Events

TABLEUPDATE( ) Function

BeforeUpdate Event

BeforeInsert Event

BeforeDelete Event

AfterCursorUpdate Event

Other Resources

Events (Visual FoxPro)