Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Does anyone know how to get access to the openTables event in the dataenvironment.
>>
>>I have a form that works fine, but at one point I want to run a second form, which contains reports. When the second form closes it closes the tables in both form (even though I have private datasessions on both forms - I think it is the report causing me problems) anyway, when I return to the 1st form, if I could call openTables again somehow then I would be all set.
>>
>>I can make a workaround, but it is alot of extra code, there are about 15 tables, views, relations set, buffering etc that I would have to take care of.
>>
>>Thanks in advance.
>
>Are you sure you have turned the Private Data Session in the Report also ?
>
>The OpenTables() method will open up all tables and views in the DataEnvironment. Therefore, you need to be sure that all tables, views, etc you intend to open are closed prior to call OpenTables(). Why not issuing a CloseTables() before ?
Thanks,
It works great!
Robert
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