Board index » delphi » DbiDoRestructure call usage

DbiDoRestructure call usage

Does anyone have some example code for restructuring tables at runtime
using the BDE? I want to check the structure of an existing table at open
time, compare that to another table, and restucture if they are not the
same. My reading of the BDE manual seems to indicate that the
DbiDoRestructure call must be made once for each change in the table
structure. Is this correct? I am writing in Delphi, but C code would be
fine.

Thanks much,
Paul.
kaara...@facstaff.wisc.edu

 

Re:DbiDoRestructure call usage


Quote
Paul Kaarakka <kaara...@facstaff.wisc.edu> wrote:
> Does anyone have some example code for restructuring tables at runtime
> using the BDE? I want to check the structure of an existing table at open
> time, compare that to another table, and restucture if they are not the
> same. My reading of the BDE manual seems to indicate that the
> DbiDoRestructure call must be made once for each change in the table
> structure. Is this correct? I am writing in Delphi, but C code would be
> fine.

It's in the BDE-reference help-file, complete with an example in C++
and one in Delphi as well. It works only for STANDARD tables (dBase
and Paradox), however.

Jasper

PS: please take into consideration
- when replying, I just think I know;
- when asking, be sure that I don't.

Other Threads