>Hi. I'm new at VFP6 and want to do something clever but don't have the foggiest clue how to accomplish this. I have a report driver screen that lists a number of reports and allows the user to select the appropriate report. (So far so good...) Once the user highlights the report title I want to display options on the lower portion of the screen. These are report specific options and I would like to put the code (that builds the objects - like a date range, or a picklist) into a database and extract the code from there. I figure that way I will only have to code one screen and whenever I add a new report, I will only need to add the code into that database. I know it must be possible to do since VFP is all databases anyways but can anyone tell me how to do this?? (I'm slow so explain in fairly good detail.)
>
>Thanks!!!
>
>Sandi
YOu could probably do what you want to do with some difficulty, but I would aproach it a bit differently: create a table that stores report names and the names of corresponding report forms. YOu can then visually create a form for each report that needs special procesing, and when hte user selects a certain report, just do the form listed in the table for that report...
Otherwise, you will be hand coding a bunch of AddObject code and manually setting locations, properties, etc, and then messing with getting your code to compile at runtime.
Erik Moore
Clientelligence