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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB - logon but how to tell if it's a missing database

Status
Not open for further replies.

AndrewBaines

Technical User
Apr 19, 2002
463
GB
VB, CR8.5, ODBC connection
I'm testing if a password is needed for a database using
table.TestConnectivity
This returns:
true if I can connect, without a password
false if I need a password of if the database is unavailable

How do I tell if the database is available/valid?
At the moment I'm prompting for a password whether the user will be able to logon or not.

Thanks Andrew Baines
Chase International
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top