Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange .VCX behaviour
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00585493
Message ID:
00585569
Views:
18
Sergey,

Thanks for this info. That would explain this sort of behaviour

Regards,

Gerard



>Hi Gerrard,
>
>It looks like the number of DE records in SCX is stored in DE record in Reserved2 field. You'll have to ajust it after you delete/add DE records. Don't forget to pack SCX after that.
>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform