Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leave open tables from form to form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00421742
Message ID:
00421835
Vues:
15
Roland,
To expand on Trey's answer a little: Use a private datasession in the main form, and open all the tables there. Use the Default datasession for the child form and do not put ANY tables into its dataenvironment. It will see all the tables in the Main form. Then be sure that when you call your report that a) the correct table is open and on the right record and b) you do NOT have 'private datasession' set in the report (check the Report menu) and c) that you do NOT have any tables in the report's dataenvironment.

HTH
Barbara

>I have created some form and reports.
>
>The main form finds a record from user input.
>
>The detail form displays the record found.
>Click on the control to print the detail form.
>
>Print report the displayed record found.
>
>When a do form is executed to do next form the dbf gets opened again
>and the next form looses the record pointer.
>
>I use the DATAENVIRONMENT ON ALL FORMS/REPORTS. It make you fille ouit the dataenvironment each time you create a new form/report. Any way of just using the DATAENVIRNMENT from the first FORM???????
>
>How do you OPEN Databases in MAIN FORM.
>
>Keep them opened when you go to DETAIL FORM.
>
>Keep them opened when you go to REPORT.
>
>
>THANKS IN ADVANCE!!!!
>Roland...
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform