>I read something here about putting the DBC in the exe to avoid corruption.
>Is it a good habit ? I suppose that, then, it becomes impossible to modify the structure of the database ? Is there any other bad side of this ?
>
>Thanks
>Eric
Personally, I do not like this idea. In order to modify the DBC, you have to distribute the modified APP/EXE file. This is a real PITA. You are better off citing the benefits of routine backups to your customers. Since that almost never works, you can provide the DBC, DCT and DCX files in a memo field of a FREE table. When the database files need to be recovered, you can use StrToFile() function to recreate them. You would use FileToStr() function to get them into the memo fields.
Then there is always Stonefield that I highly recommend for keeping your customers' database, tables, indexes, etc., all up to date.
Mark McCasland
Midlothian, TX USA