reindex and pack procedures for using dbase files in Visual Basic 
Author Message
 reindex and pack procedures for using dbase files in Visual Basic

Does anybody know how or where I can get a hold of some code or 3rd party tool that
can do a pack and reindex of .DBF's.


Tue, 02 Dec 1997 03:00:00 GMT  
 reindex and pack procedures for using dbase files in Visual Basic

Quote:

>Does anybody know how or where I can get a hold of some code or 3rd
party tool that
>can do a pack and reindex of .DBF's.

It isn't that hard to do. Copy the DBF to a temp file, delete the
original and any indexes, create (or copy) an empty DBF file with the
same structure into the old files place - complete with indexes, copy
the records from the temp file to the new file (with the old name) -
which takes care of the indexes, kill the temp file and you are done.

I understand that dBase actually does something very similar to pack
their databases.

Steven



Tue, 02 Dec 1997 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Accessing Borland dBase files via VISUAL BASIC

2. Accessing Borland dBase files via Visual Basic

3. Reindex a Dbase database

4. I can't read dBase III file in Visual Basic

5. Visual Basic Accessing Dbase files/records

6. HELP- READING DBASE II FILES INTO VISUAL BASIC

7. Reindex a dBase table ?

8. Visual Basic 6.0 vs. Visual Dbase 7.01

9. Visual Dbase Vs Visual Basic

10. visual dbase VS visual basic

11. dbase programming(basic) in relation to Visual Basic programming

12. visual dbase VS visual basic

 

 
Powered by phpBB® Forum Software