Board index » delphi » Pack and Reindex
Michael Chrétien
![]() Delphi Developer |
Fri, 05 Oct 2001 03:00:00 GMT
|
Michael Chrétien
![]() Delphi Developer |
Fri, 05 Oct 2001 03:00:00 GMT
Pack and Reindex
I would like to pack and reindex a .dbf file. I know it's possible and i
would like to know how. Regards, Micha?l Chrtien |
Steve Koters
![]() Delphi Developer |
Fri, 05 Oct 2001 03:00:00 GMT
Re:Pack and ReindexOn Mon, 19 Apr 1999 10:24:36 -0400, "Michael Chrtien" Quote<ChretienM...@Bfusa.com> wrote: table. One way would be to make a call to the BDE API function procedure TForm1.Button4Click(Sender: TObject); As when calling any BDE API function, the BDE API wrapper unit BDE Another way to handle this situation -- if you know at design-time all procedure TForm1.Button3Click(Sender: TObject); When iterating through the items in the TIndexDefs object, the cycling If information about the index definitions is not known at Once the definition information for all indexes are stored to memory, ////////////////////////////////////////////////////////////////////////// |
od
![]() Delphi Developer |
Sat, 06 Oct 2001 03:00:00 GMT
Re:Pack and Reindexsee the following code : Filename: BSPKTBL.PAS BSPKTBL is a TTABLE replacement with additional functions to Installation/Usage Notes incorporated in header. OTHER FREEWARE / SHAREWARE components and applications available from {============================ BSPKTBL Distribution Notes 1. PACK (returns 'True:boolean' if successful) {COPYRIGHT NOTICE} {IF YOU HAVE ANY DOUBTS ABOUT WHETHER YOU MAY LEGALLY USE OR DISTRIBUTE THIS {VISIT BUSINESS SOFTWARE'S WEB SITE AT {WARRANTY / ACCEPTANCE OF LIABILITY / INDEMNITY} {INSTALLATION} {USING BSPktbl} The TABLETYPE property is correctly set to reflect the tabletype i.e. or: The TABLENAME property must have the file extension added i.e. EXCLUSIVE must be set to true!} unit BSPktbl; interface Type procedure fixtabletype; procedure register; implementation procedure register; constructor TBSPktbl.create(Aowner:Tcomponent); destructor TBSPktbl.destroy; procedure BDECheck(BDERes: DBIResult); function TBSPktbl.pack:boolean; procedure packpdx; procedure packdbf; begin function TBSPktbl.regenindexes:boolean; procedure TBSPktbl.fixtabletype; end. -- Quote> I would like to pack and reindex a .dbf file. I know it's possible and i |
1. Ann: ChimneySweep service-update released to handle pack/reindex w/multiple passwords
2. How to pack/reindex DBase3 files?
3. Reindex&pack
4. Dbase - ReIndex and/or pack at runtime
5. Pack/Reindex/Rebuild Paradox tables in Delphi
6. Reindex and pack a database
7. Pack/Reindex dbf files on a multi user environment
8. Table pack error (was: packing a database [delphi])