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!

SQL 2000 server and FoxPro 2.6

Status
Not open for further replies.

cp84

Programmer
Apr 2, 2003
11
0
0
GB
I have to import and modify Foxpro 2.6 .dbf files in a .NET application using SQL 2000. Is it best to use "Linked Server" as sugested by MS or can a schema file be used and if so whats the best software to create it.

All replies most appreciated.

 
When you say "import and modify", do you mean that you will be storing this data separately? A linked server will update the tables directly. I have a similar setup with a Btrieve application (both FoxPro and Btrieve are using a file system for the database structure). It is rather slow working through a linked server. You may be better off using the OLEDB/ODBC driver to access the files directly. Create the DSN, then in .NET point your ADO.NET connection to this DSN. I also am using the old ADO connections in some of my .NET forms, too. It works just fine.


Linguinut
------------------
Bill Cunnien
ConBrio Consulting
 
Thanks Linguinut, I had been lead to believe that this was not possible and that "Linked Server" was the way to go.
However, I have trawled through my Wrox books but cannot find how to connect to a local System.DSN.

Is this the way you suggest.

Your help much appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top