Checks the result of a call to the MySQL. Syntax: function CheckOpen(Status: DBIResult): Boolean; Description: Call CheckOpen to determine if a call to the MySQL returns an error when an attempt is made to access a dataset. Status is the return result of a previous call. CheckOpen returns True if access is successful. If Status indicates insufficient table rights when accessing a table, CheckOpen calls the GetPassword method to prompt the user for a password. If the dialog is successful, CheckOpen returns True. Otherwise CheckOpen returns False, indicating that dataset access failed. |