Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leave open tables from form to form
Message
De
28/09/2000 01:02:07
 
 
À
27/09/2000 16:03:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00421742
Message ID:
00421884
Vues:
17
>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???????

Jason, Trey, and Barbara have all given you answers. There's one other way you may want to consider though, just to make the forms less dependant of each other and therefore more reusable. You could pass the primary key of the record you want to display to the Init() of each form, and have the form position the record itself.

This won't work with a report very well, but in that case, I recomend you create a cursor with all teh data the report will need, no more no less, and have that selected when the report is run. The report can then use it, make all expressions just the field names, no aliases, do not use a Private Data session and do not open tables int eh DE.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform