Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement