Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environment Problem
Message
From
09/06/1999 08:50:07
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
07/06/1999 14:42:33
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00226443
Message ID:
00227822
Views:
21
I assume you know that forms are stored in a table with a .SCX extension. These tables can be opened just like any VFP table.

When you create a dataenvironment the second record of the screen is the DE record, the Class field reads "dataenvironment". All records between the dataenvironment record and the one with the Class field = "form" are part of the DE. These can include Cursors and Relations. In the worse case, just delete these records, pack, close the .SCX file, open in the Form designer and add the DE again. Make sure you make a backup of the .SCX file first.


HTH

Rex

>>Brad,
>>
>>Have you tried opening the form as a table and removing the DE references? Then all you have to do is open in Form Designer and add the tables.
>>
>>HTH
>>
>>Rex
>>
>>>I have a form that I created in VFP 5.0a and have recently upgraded to 6.0
>>>
>>>The form had only one table in the environment while in 5.0, and now I need to add another table. However, when I do Fox crashes hard with an exception error.
>>>
>>>Does anyone have any suggestions for this. I really do not want to have to rebuild the whole form from scratch, but that may be what I have to do.
>>>
>>>Thanks, Brad.
>
>
>Rex,
>
>I am not sure how to do this. I assume it must be a command done in the command window. Can you enlighten me on this?
>
>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform