Frees the currently attached cursor from the current instance of .
Logical data type. returns True (.T.) if cursor is detached successfully and False (.F.) if not detached successfully.
|To retrieve error information when CursorDetach returns False (.F.), you must call the AERROR( ) Function function because Visual Foxpro error handling, such as the command, event, and command, does not capture this error information.|
Applies To: CursorAdapter Class
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 В function before detaching the cursor.