Question and Answer Database FAQ1414C.txt Cannot find method to pack database Category :BDE Platform :All Product :C++Builder 1.x Question: I can't find a method to pack a database file at run time. Answer: The VCL does not encapsulate all of the BDE functions calls, but you can call the BDE directly for functions not encapsulated. Here is a example of calling the BDE DbiPackTable() function. DBIResult DBIFN DbiPackTable (hDb, hCursor, pszTableName, [pszDriverType], bRegenIdxs); - hDb is the handle to the database - hCursor is a handle to the cursror - pszTableName use the table name from you VCL calls. - bRegenIdxs is a boolean ti indicate if you want indexes regenerated. Look at BDE.HPP in VCL include directory for more information. 7/2/98 10:32:32 AM
Last Modified: 01-SEP-99