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

Trying to get ODBC Connection without manual intervention

Status
Not open for further replies.

SercoSteve

Programmer
Sep 25, 2002
44
0
0
GB
I am attempting to connect to a Server using ODBC from a Paradox 8 Script. The script runs fine and connects to the server, however the first thing it does is display a dialog box requesting server information. I dont need to enter the information I just hit <CR> and it connects successfully.

Does anybody know a way of connecting to a server, using ODBC, without displaying the dialog box? The script is going to run as a sheduled task on my machine, when complete, and must be free of manual intervention.

Thanks in advance.

Steve
 
Hi

HAve you included the server in your connection script?

ie: strConn = &quot;driver={SQL Server};&quot; & _
&quot;server=RSGCODA01;uid=cadenzaprod;pwd=cadenzaprod;data base=cadenzaprod&quot;

I use this and it connects fine!!

Paul

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top