USE myform.scx EXCLUSIVE
DELETE ALL FOR baseclass = "dataenvironment" OR ;
baseclass = "cursor" OR ;
baseclass = "relation"
PACK
CLOSE ALL
COMPILE FORM myform
This should do it. Back up the SCX and SCT files first in case of trouble.
>I have somehow corrupted the data environment inside a form. If I open the Data Environment I instantly get a fatal error which prevents me from correcting rebuilding it. Any ideas how to delete my data environment programmatically. Or rebuilding it without opening the D.E.???? Thanks Rick
------------------------------------------------
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