Thank you for the info...
Just so you know, I always use private datassession (the whole application use private datasessions and I didn't designed it, so it would be a mess to change the whole thing should there be a need) and I had my tables in each datasession... It happened that at some place, the table was closed withouth me knowing it... so it wasn't really there anymore. I just had to reopen it.
>>If I am running a form within a form (ie, I have a DO form in a click event)... is that possible that the data environment get transfert...)?
>>I ask this because when I load a certain form from another form, it seem that the data environment for this form is empty. I add the right table to my "parent" form and then it was working correctly...
>>
>>any comment on this...? -)
>
>David,
>Is the second form configured to use the Default Datasession (Datasession = 1) or create a Private Datasession (Datasession = 2). If the former, then all tables opened in the first form will be visible to the second form. If the latter, then you need to add the table to the DE of the second form or manually open it during form instantiation (e.g in the Load event/method).
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