>On our clients machine we do not have FoxPro installed. So if I make a exe that has the code to validate the database, will I be able to execute it on their end.
>
>The code looks like:
>
>close all
>Open database \\ServerName\Data\Students exclusive
>Validate database noconsole to file \\ServerName\Data\Validation.txt
>
>close all
Might work, but I didn't test it - I only work with a local database here (not distributed to the client, only for internal company use). You can try it with an executable on your machine - if you can get hold of a copy of the corrupted database!
For more sophisticated database maintenance / correction, you may want to check the Stonefield Database Toolkit.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)