Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'N-Tier' Data Entry Form does not 'release' completely
Message
De
21/02/2008 11:49:32
 
 
À
21/02/2008 11:35:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01294612
Message ID:
01294815
Vues:
19
Fred,

I already did make the BO.oDataLayer = NULL in the Form's Destroy... still same.

To review what I did:

1. I pointed the Form.DEClass property to my DE Class
2. Then, dropped my BO on the form.
3. The BO has a oDataLayer property which I assigned as "=thisform.mydeclassname"
4. The form only calls methods of the BO, which is then relayed to the oDataLayer object reference, which is the DE.
5. The DE then performs its job, relays back to the BO, which relays back to the Form.

Could it be because of a 'cyclic' reference? Is my way of referencing not allowed?

Thanks again.

Dennis



>>Fred,
>>
>>Could it be because of the order of dropping the controls/objects on the form?
>>
>>Dennis
>>
>>>
>>>All I can tell you is it works for me. I recently had to do this for code for a ToolBar that was shared by many forms.
>
>No, it shouldn't be. If you clear it out in the form destroy, it should take care of itself. You already said if you don't populate that property, then the form (and datasession) close normally.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform