If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > accessing *.BTR files - importing to MS Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-06, 13:11
mestrel54 mestrel54 is offline
Registered User
 
Join Date: Jan 2006
Posts: 2
accessing *.BTR files - importing to MS Access

Hello.

I have an app that uses data files with a BTR application. We are using Pervasive 7. I do have corresponding DSC files for each data file.

I want to extract the data in a formatted matter (i.e. such as comma delimited) to create a database in MS access. The app I am using does have an export utility, but it is limited.

Any suggestions?

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-09-06, 16:51
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Check out http://www.goldstar-sw.com/btrvodbc.asp.
It's a good primer on accessing Btrieve files using ODBC. Basic overview of things you'll need:
1. DDFs. The DDFs describe the Btrieve files. They are not DSC files.
2. ODBC driver. PSQL 7 had a seperate ODBC driver install. Newer versions have ODBC included with the client install.
Once you've got an ODBC DSN, you can import or link the tables using Access or any ODBC compliant app.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 01-10-06, 08:57
mestrel54 mestrel54 is offline
Registered User
 
Join Date: Jan 2006
Posts: 2
Thanks for the advice, however, I do not have DDFs for the BTR files.
I do not have the ability to create the needed DDFs. Any other suggestions?

Thanks,

Matt
Reply With Quote
  #4 (permalink)  
Old 01-10-06, 11:05
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
The only way to access Btrieve files through ODBC or Access or any third party tool is to have DDFs. If you know the exact record structure (down to the byte), you can create DDFs using any number of tools including Pervasive's own tools. If you don't know the exact structure you are going to need to get the DDFs from the vendor of the application.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On