>My app use a data base container, but sometimes when a cdx or any file is deleted or modified DBC is no updated and app raise and error
>After, I use validate databases recover command to fix DBC, this command only works in interactive mode. I want to check dbc file in runtime before open any table. My question is if does any way to check DBC's integrity before open tables and cdx's ?
Get Stonefield Database Toolkit. You will spend far less time [and time is $$$] dealing with this if you get SDT. The time you save is more than offset by the low cost of SDT.
The VALIDATE DATABASE command can be used at runtime as long as you omit the RECOVER option.
Mark McCasland
Midlothian, TX USA