Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

odbc conection

Status
Not open for further replies.

bowsermxli

Programmer
Aug 27, 2002
9
MX
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top