Executes the CursorFill method with a default of no parameters. When the CursorAdapter object exists in a data environment, the data environment calls AutoOpen automatically from within the DataEnvironmentВ OpenTables method.
CursorAdapter.AutoOpen() |
Return Value
Logical data type. AutoOpen returns True (.T.) if successful. Otherwise, AutoOpen returns False (.F.).
![]() |
---|
If AutoOpen fails, the DataEnvironmentВ OpenTables method does not report an error. To retrieve error information when AutoOpen returns False (.F.), you must call the AERROR( ) Function function because Visual Foxpro error handling, such as the ON ERROR command, Error event, and TRY...CATCH...FINALLY command, does not capture this error information. |
Remarks
Applies To: CursorAdapter Class
You can override AutoOpen by using the NODEFAULT command and explicitly calling CursorFill.