Hi,
Do you mean that you have declared the variables in a module, and then you want to refer to one or some variable(s) to populate the text box?
If that is the case, then you could make a table with the variable names in it, and then populate your text box or combo box with that table.
That would pass the proper name to your module.
In any event, you can't query the module for the variable names.
When you mention that there are 80 variables and they each need a seperate piece of data, does that mean you want to pass data to the functions in your module? If so, you can store data in a seperate table and pass the selected values to your functions.
You also say you have a report that is a form? That isn't right. But you have text boxes on a report that needs to get data from a module? If that is the case, then you need to enter the name of the function in the unbound text boxes control source. I have a function called "PG" in one of my reports that I reference from the control source like this: =PG()
Since the language of your question is ambiguous, it is difficult for me to fully address your needs. Can you be more specific and not equivocate?
Thanks,
mmcdonal
|