dbTalk Databases Forums  

DTS to FoxPro DB (.dbf)

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS to FoxPro DB (.dbf) in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LP
 
Posts: n/a

Default DTS to FoxPro DB (.dbf) - 01-22-2004 , 04:21 PM






Hello,

One of our 'clients' needs data in FoxPro readable format. They insist it has to be .dbf file.
I am trying export one table to a new .dbf file. I don't have FoxPro installed on my machine nor Server, but I do see a few FoxPro drivers including MS .dbf driver. I wasn't successful with any of these drivers, usually it asks me to create a new DSN and then I have to pick an existing "FoxPro" database file, not .dbf file. I don't know anything about FoxPro and none of these makes sense to me. If you have any experience DTSing to FoxPro or any other way to get data to .dbf file, please walk me through the steps. I would really appreciate your help.

Thank you.


Reply With Quote
  #2  
Old   
Cindy Winegarden
 
Posts: n/a

Default Re: DTS to FoxPro DB (.dbf) - 01-25-2004 , 12:47 PM






In news: F1AB2ED1-6FAF-475C-8EBD-CBA6334A18B7...soft (DOT) com,
LP <anonymous (AT) discussions (DOT) microsoft.com> wrote:
Quote:
One of our 'clients' needs data in FoxPro readable format. They
insist it has to be .dbf file.
I am trying export one table to a new .dbf file. I don't have FoxPro
installed on my machine nor Server, but I do see a few FoxPro drivers
including MS .dbf driver. I wasn't successful with any of these
drivers, usually it asks me to create a new DSN and then I have to
pick an existing "FoxPro" database file, not .dbf file. I don't know
anything about FoxPro and none of these makes sense to me. If you
have any experience DTSing to FoxPro or any other way to get data to
.dbf file, please walk me through the steps. I would really
appreciate your help.
Hi Lenny,

I was able to export tables from Pubs with just about every combination of
OLE DB, ODBC, to a DBC and to a free table. Here's the steps I used:

DTS Export data, from Pubs.

OLE DB, OLE DB, DBC
Microsoft OLE DB provider for SQL Server > Microsoft OLE DB provider for
Visual FoxPro, Properties, DBC, choose a DBC I had already created, to DBC >
Copy tables and views > choose Authors > successful - table created in SQL
Server Binn directory.

OLE DB, ODBC, DBC
Microsoft OLE DB provider for SQL Server > Microsoft Visual FoxPro Driver
(ODBC), Properties, DBC, choose a DBC I had already created > Copy tables
and views > choose a data source I already had to a DBC I already created >
choose Discounts, successful - table created in SQL Server Binn directory.

ODBC, ODBC, DBC
Microsoft ODBC Driver for SQL Server > Microsoft Visual FoxPro Driver
(ODBC), System data source, choose a data source I already had to a DBC I
already had > choose DtProperties, successful - table and memo file (DBF and
FTP) created in SQL Server Binn directory.

OLE DB, OLE DB, free tables
Microsoft OLE DB provider for SQL Server > Microsoft OLE DB provider for
Visual FoxPro, Properties, free table directory, choose SQL Server Binn
directory > choose Employee > successful - table created in SQL Server Binn
directory.

OLE DB, ODBC, free tables
Microsoft OLE DB provider for SQL Server > Microsoft Visual FoxPro Driver
(ODBC), Properties, System data source, create a new data source for free
tables, choose sQL Server Binn directory > choose Publishers > successful -
table created in SQL Server Binn directory.

ODBC, ODBC, free tables
Microsoft ODBC Driver for SQL Server > Microsoft Visual FoxPro Driver
(ODBC), System data source, Microsoft ODBC driver for Visual FoxPro, free
table directory, choose SQL Server Binn directory > choose Jobs >
successful - table created in SQL Server Binn directory.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden (AT) mvps (DOT) org www.cindywinegarden.com





Reply With Quote
  #3  
Old   
LP
 
Posts: n/a

Default Re: DTS to FoxPro DB (.dbf) - 01-26-2004 , 10:31 AM



Thank you, it worked. But there's still a small problem with Unicode data. Some fields are nvarchar(500) for Unicode data
These fields don not get imported to .dbf correctly. When I query .dbf file with openrowset function, I'm seeing ???? instead of 日精ビ . Any ideas how to make Unicode to go in correctly

Thank fot your help.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.