Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another DE & Formset question
Message
De
30/04/2003 14:36:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00783333
Message ID:
00783342
Vues:
15
>>Hi all,
>>
>>I have a problem using a custom DE on a custom Form added to a Formset. Copy the code snippet and change the DEClassLibrary value to where you would save the program file.
>>
>>When a form is added to a formset it gets confused so that the DataSession property of the form is not even valid!
>>
>>Is this by design or sort of a bug?
>
>It's by design. From VFP8 help:
>
>Forms or Form classes that specify a DEClass and DEClassLibrary cannot be converted to or used with a FormSet. (Error 2069)
>
>Visual FoxPro does not support the DataEnvironment DEClass and DEClassLibrary properties for form sets. An error occurs under the following conditions at design time:
>
>When attempting to convert a form to a form set after the DEClass and DEClassLibrary properties have been specified for the form.
>When attempting to add a Form class that specifies the DEClass and DEClassLibrary properties to a FormSet class when the form set is open in the Form Designer.

I can't understand why the VFP Team did not go the extra mile for this one. Is there a workaround this that you know of, Sergey?
ramil
~~ learning to stand still
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform