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 > Data Access, Manipulation & Batch Languages > Delphi, C etc > DBF Databases

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-03-02, 08:42
Liko Liko is offline
Registered User
 
Join Date: May 2002
Location: kosovo
Posts: 1
Red face DBF Databases

Im trying to pack a Dbf database with ado connection and its not working.
Please Help?
Reply With Quote
  #2 (permalink)  
Old 05-03-02, 13:43
vududoc vududoc is offline
Registered User
 
Join Date: Jul 2001
Location: NC
Posts: 102
Add the ADO Ext 2.5 for DDL and Security reference to your application and check it it has a method for packing dBase databases. It's been a LONG time since I worked with dbfs, but if I remember right, when you delete a record, you only tag the record as deleted. To undelete a record, you untag it.

The only way I know how to pack a dbf database, is the old way:
(1) Copy the dbf to another name, which copies structure and only untagged records.
(2) Erase the original dbf with tagged and untagged records.
(3) Rename the dbf created in step 1, giving it the same name as the original dbf.
(4) Create the index files.

Hope this helps.
Reply With Quote
  #3 (permalink)  
Old 05-06-02, 10:44
IGelin IGelin is offline
Registered User
 
Join Date: Nov 2001
Posts: 336
Hi,

DBF file could be a Clipper or FoxPro (DOS) or VFP or DBase table. May you specify what type of language do you use?

Igor
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On