General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only