Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
? on assigning data envir. for forms/reports at runtime
Message
From
29/07/1996 15:56:18
 
 
To
29/07/1996 15:46:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00004751
Message ID:
00004752
Views:
32
>I intended to have a course.dbf which contains a course id, >
>I want to be able to then have the forms, use the particular dbf for the "current" golfer. Current golfer would be decided by a Select Golfer menu option. It would give them a list of all the golfers they've added, Bill, Sue, etc, and when they select that, I would want to do all the forms, reports etc with that golfers dbf, ie bill.dbf or sue.dbf. How do I design the forms, so that the data environment can be assigned at runtime?

u should (IMHO) have ur DEs seperated from your forms
(read - coded <s>) - then it is just like any other
object.
and instantiate them when u start forms
u can look at my DE-Extractor utility (avail. on the VFPYP download corner) - this will help u to move ur current DEs to code

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform