CursorDetach Method
Frees the currently attached cursor from the current instance of CursorAdapter.
CursorAdapter.CursorDetach()
Return Values
Logical data type. CursorDetach returns True (.T.) if cursor is detached successfully and False (.F.) if not detached successfully.
Remarks
Visual FoxPro preserves all settings, such as buffering and so on, available to a normal cursor in the freed cursor.
Visual FoxPro preserves all unsaved changes. For example, you do not need to call the TABLEUPDATE( ) function before detaching the cursor.
See Also
Methods | CursorAdapter Object Properties, Methods, and Events | TABLEUPDATE( ) Function | BeforeCursorDetach Event | AfterCursorDetach Event | CursorAttach Method
Applies To: CursorAdapter Class