Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Leave open tables from form to form
Message
From
28/09/2000 01:02:07
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00421742
Message ID:
00421884
Views:
18
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform