Condividi tramite


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

Applies To: CursorAdapter Class

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.

In Visual FoxPro 9.0, the target record is kept current in an ADODB.Recordset during the AfterCursorUpdate event.

See Also

Reference

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

Other Resources

Events (Visual FoxPro)