Partager via


AfterCursorUpdate Event

Occurs immediately after all intermediate AfterUpdate, AfterDelete, or AfterInsert events have occurred and before the TABLEUPDATE( ) function returns.

PROCEDURE Object.AfterCursorUpdate
LPARAMETERS nRows, lTableUpdateResult, cErrorArray

Parameters

  • nRows
    Specifies the setting from the nRows parameter from a TABLEUPDATE( ) function operation.
  • lTableUpdateResult
    Specifies the value returned by a TABLEUPDATE( ) operation.
  • cErrorArray
    Contains the contents of the cErrorArray parameter from a TABLEUPDATE( ) operation. Visual FoxPro populates this array from TABLEUPDATE( ) only under the circumstances described by the cErrorArray description in the TABLEUPDATE( ) function.

Remarks

AfterCursorUpdate occurs once upon the completion of the update process. If multiple rows are being updated, the AfterUpdate, AfterInsert, and AfterDelete events occur for each updated row as appropriate.

You can call the AERROR() function to retrieve errors from upstream data sources.

See Also

Events | CursorAdapter Object Properties, Methods, and Events | BeforeCursorUpdate Event | AfterDelete Event | AfterInsert Event | TABLEUPDATE( ) Function | AERROR( ) Function

Applies To: CursorAdapter Class