Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement