Share via


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

Applies To: CursorAdapter Class

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

See Also

Reference

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

Other Resources

Events (Visual FoxPro)