×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

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.

Students Click Here

Difference between .BTR and .DAT

Difference between .BTR and .DAT

Difference between .BTR and .DAT

(OP)
We have two applications that use the Btrieve engine to store data. However, one application stores its data in .DAT files and the other stores them in .BTR. I am using Colibri.OLEDB interface to access the data through ADO and it works fine with .DAT files but seems to be having difficulty with the .BTR files.

Can someone please explain the difference between the two file types. Is there any reason why my OLEDB interface shouldn't work with both file types.

Mise Le Meas,

Mighty

RE: Difference between .BTR and .DAT

There is no difference between the two because Btrieve does not specify nor require any particular extention. SoftCraft, Novell, and Btrieve Technologies, Inc. used the .btr extension for samples just like Pervasive uses the .mkd extention now. Lots of companies used the .dat extension instead. I would guess that the problem probably lies in the metadata which is contained in the DDF files. They are probabably pretty good for the app that has the .DAT files and they are either bad or non-existent for the app with the .BTR files. You also may have different file formats for the two sets of files and if the .BTR files are a later file version than the engine you are trying to open them with they would not be accessible. I doubt this is the case since I assume you application opens those files just fine, but it is a possiblity. You should do a -STAT on the files to find out their info though. Just run BUTIL -STAT with the file name and it will give you all the info on the file. If you need docs or info on Btrieve file formats and utilities to deal with them I would recommend the Pervasive.SQL 2000i SDK which is a Btrieve 7.82 SDK with ODBC and SQL added.

Pervasivite

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! Already a Member? Login

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