Todd....try this...VFP6 SP3 allows for runtime compilation so....
CLOSE DATA
USE mydatabase.DBC EXCLUSIVE
PACK
USE
COMPILE DATABASE mydatabase
>I would like to see the "clean up database" option of the database designer be available programmatically. That way, in my big "Fix Anything that might be wrong" maintance routine, I could do a clean up!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05