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

ODBC vs. OLEDB 2

Status
Not open for further replies.

FoxAmateur

Programmer
Apr 24, 2002
13
US
I am taking my first step into the remote data world and would rather use ODBC over OLEDB and have to deal with record sets. I have to take an ascii file and insert those records into an Oracle table. Do you have to create a DSN on each computer that runs this code?


Chris


[spin]
 
No. You can either use a File DSN, which is simply a file that distributed to each computer or you can create the connection string in code and use that.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
Craig,

>>you can create the connection string in code and use that. <<

Is there a a thread that I can see an example of a connection string in code? I will check my Hentzenwerke books for this but it might be quicker if you could point me in the right direction.

Thanks,
Chris


[spin]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top