INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

extract data from Btrieve 3.14 database

extract data from Btrieve 3.14 database

(OP)
We are trying to extract data from a Btrieve 3.14 database so we can load it to another system.

Does anyone have any suggestions on free tools we could use to extract the data? We tried using the BView tool, but haven't been successful yet.

Thanks in advance!

RE: extract data from Btrieve 3.14 database

Wow, Btrieve 3.14 is really old. If you have the data files and either the record structure or DDFs, you can install a later version (like PSQL v11) on a machine, copy the data, copy (or create) the DDFs, and use ODBC to extract the data.

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: extract data from Btrieve 3.14 database

(OP)
Hi,
Thanks for your reply! This is a legacy vendor application and we're trying to extract the data so we can use it in another system without having to re-key in every piece of data. We have the BTR files and some DTA files, but unfortunately we do not have the DDF files.

We tried using BView to create a DSP file to view the BTR, but haven't been successful yet since we don't know what the record layout is.

Do you have any tips on creating a DDF even though we don't have any documentation on what it should look like?

Thanks for your help!

RE: extract data from Btrieve 3.14 database

Have you tried contacing the vendor for the layout? How about other users of the application? If you don't know the structure, about the only thing you can do would be to guess. Using the DDF Builder, you can guess at the structure as seen in the docs.

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: extract data from Btrieve 3.14 database

(OP)
Thanks for your help! Based on your past experiences, are vendors usually willing to provide clients with the DDF files? I will check with our business partners to see if they could contact the vendor.

thanks!

RE: extract data from Btrieve 3.14 database

It depends on the vendor. Some are better than others. If the app is as old as the Btrieve part, the vendor may not even have that information.

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: extract data from Btrieve 3.14 database

(OP)
Hi,

If we have a test server that has Pervasive SQL 8, do you think it could open a copy of our 3.14 database?

Is the data stored only in the .BTR file or could it also be stored in other files? We have some files with the following extensions, but we're not sure what they are:
.SCR --- assuming this is for a screen
.FCT
.DTA
.PRM



thanks for your help!

RE: extract data from Btrieve 3.14 database

Btrieve data files can any extension. I've seen .BTR, .MKD, .DAT, .DTA, .B, and a few others. Those files you list might be Btrieve files. You can use BUTIL -STAT to check. If it returns status 30 (not a Btrieve file), then it's probably not a Btrieve file.
PSQL v8 should be able to open the files using the standard tools.

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close