AfterCursorDetach Event

Occurs immediately after a CursorAdapter object detaches a cursor. You can use AfterCursorDetach to perform tasks such as reset cursor adapter properties and perform operations on the freed table.

PROCEDURE Object.AfterCursorAttach
LPARAMETERS cAlias, lResult

Parameters

  • cAlias
    Specifies the alias of the detached cursor or table.
  • lResult
    Specifies True (.T.) if the CursorAdapterCursorDetach method detaches the cursor or table successfully and False (.F.) if not detached successfully.

Remarks

Applies To: CursorAdapter Class

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

See Also

Reference

CursorAdapter Object Properties, Methods, and Events
BeforeCursorDetach Event
CursorDetach Method

Other Resources

Events (Visual FoxPro)