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!

ADO Control- No connection

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi!!!

I have a doubt in ADO Control.......

I got one in a form that is connected to a Table in a server (Another Computer in the network) and another one that use the same information but local...

My question is this:

If I cannot connect to my network, how can I say in my code that don't do an error, and instead of this connect to the other ADO Control that use local table?

Thanks a lot for any help!!!

CR
 
you can trap the error number. if it indicates failed build connection to server then order it to connect to local.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top