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

DDF Builder Limitations

DDF Builder Limitations

(OP)
Currently have ddf's for btrieve 6.15 created with an old copy of Smithware DDF Builder.

Have never had a problem using this utility till today.  

I was editing some fields (20 of them) in one data file changing field formats from 2 to 4 decimal places.  When I closed the definition editor and told ddf to update the file definitions, the program crashed.

Restarted ddfbuilder and removed some tables and was then able to re-do the field edits I made previously.  Now, I can't add back the tables I deleted.

Is there some internal limits on field.ddf?
I have same number of files and fields as I have had previously.  Only thing has changed is record size, field size and decimal places.

Any other product that will allow me to edit my existing ddf's?

RE: DDF Builder Limitations

If you have existing files and want to extend the record size you would have to build a new file and copy your existing data to the new file.  Just changing the DDF file record length will not change the actual file.  Another tool that you can use to edit Btrieve DDF files is BtSearch32 at www.nssdd.com.  It will allow you to insert or delete fields as well as change lengths and data types.  But again this does not automatically change the actual data in the file.  If you change the structure you will have to export out from the old file and then re-import into the new file.

Gil

RE: DDF Builder Limitations

(OP)
I don't have a problem in building files... problem seems to be size limit on field.ddf  Mine is 511K and can't make it any larger without crashing.  Is there a limit on file size for field.ddf?

RE: DDF Builder Limitations

It also is a Btrieve file.  So it should easily surpass 511K.  I know in the past when I used DDF Builder sometimes it would corrupt my field.ddf.  I always kept backups when working with the DDF files just in case.   If you have any backups prior to changing them you might give that a try.

Gil

RE: DDF Builder Limitations

The only limitation I know of for DDFs (specifically FILE and FIELD) would be related to the number of records. The ID fields (XF$ID and XE$ID) are 2 byte unsigned integers which gives them a limit of 65534 records.  
Then again, you are using products that haven't been updated in probably close to 10 years (Btrieve 6.15 was last released in 1995 and DDF BUilder was released before that).

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
Custom VB and Btrieve development.
http://www.mirtheil.com

RE: DDF Builder Limitations

(OP)
I solved the problem by building a new set of ddf's and importing all file definitions.  Ended up with a 456K field.ddf and its working OK.  

I've been using the same DDF's for years and have always added or removed files but never rebuilt ddfs from scratch since 1995. There may have been an internal error somewhere in the file.

Thanks for all the help.

Case Closed!

Lee

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