bowsermxli
Programmer
hi. ok this is my problem
i need to connect to a Sybase DB, and i do using odbc driver, everything fine,... but sometimes the system need disconnect from database (for manteinance or other tasks) and then reconect to the same database.
the problem is when my code try automatically to re-connect to the database this is not available, and the system show to user a odbc popup window asking for more data to connect, all the data is ok but the database is not available at that time.
i need to find if there is posible not show the odbc popup window when the re-connection is not posible, so the user don't see the odbc window and don't need to press cancel to get in code that was not posible connect to db.
is there a way to not show the odbc window when the conection fails?
please help!! thank's
i need to connect to a Sybase DB, and i do using odbc driver, everything fine,... but sometimes the system need disconnect from database (for manteinance or other tasks) and then reconect to the same database.
the problem is when my code try automatically to re-connect to the database this is not available, and the system show to user a odbc popup window asking for more data to connect, all the data is ok but the database is not available at that time.
i need to find if there is posible not show the odbc popup window when the re-connection is not posible, so the user don't see the odbc window and don't need to press cancel to get in code that was not posible connect to db.
is there a way to not show the odbc window when the conection fails?
please help!! thank's