BeforeCursorDetach Event

Occurs immediately before a CursorAdapter object detaches a cursor. You can use this event to perform any necessary operations before detaching the cursor or table.

PROCEDURE Object.BeforeCursorAttach 
LPARAMETERS cAlias

Parameters

  • cAlias
    Specifies the alias of the cursor or table being detached.

Remarks

If the code in BeforeCursorDetach returns a value of False (.F.), the cursor does not detach, and any return values are ignored.

See Also

Events | CursorAdapter Object Properties, Methods, and Events | AfterCursorDetach Event | CursorDetach Method

Applies To: CursorAdapter Class