Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange .VCX behaviour
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Strange .VCX behaviour
Miscellaneous
Thread ID:
00585493
Message ID:
00585493
Views:
44
I have a requirement where I am programatically amending the SCX file.
I cannot understand the following behaviour:-

1. I set up a brand new Form, with about 3 Text Boxes
2. In the Data Environment, I insert 3 tables

This is fine and I can bring up the screen.

3. I now Use the Scx file
4. I delete one of the Cursor records (i.e. Table in DE)

I go back out and Modi Form again .. no problem ,and I can still see the Data Environment table I deleted..The form designer obviously ignores deleted records)

5. I go out and PACK the scx table
6. I now try to MODI FORM and get :
Error loading File... Label2 (or one of its membere... Parent object calss is invalid....


I would have thought that by deleting one of the Tables from the DE (By using the .scx file) should not affect anything else

I have tried this on a few different screens with different objects, but deleting a DE table record from the .SCX file always seems to cause a problem.

Any help appreciated

Regards,

Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform