Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to dataenvironment openTables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00106261
Message ID:
00106296
Vues:
23
>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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform