<< Click to Display Table of Contents >>
Copy contents of Btrieve server to DBF File
METHOD CopyDb ( cNewFile, bForBlock, bWhileBlock ) CLASS BtServer
<cNewFile> STRING Name of new table
<bForBlock> CODEBLOCK For expression , Defaults to TRUE
<bWhileBlock> CODEBLOCK While Expression, Defaults to TRUE
LOGIC TRUE when the export was succesful, FALSE when a runtime error has occurred.
Both the For Block and the While block receive the server object as a parameter
The exporting of records starts at the first record, using the current active index (and scope when applicable)
Both code blocks should return LOGIC values.
When the For block returns TRUE the current record is written to the DBF file
When the While block returns FALSE exporting is halted