OK I have a form that asks for a Vin number. Usinf the vin the database uses a table to search for that vin and when it finds that finds a model code associated with that vin. Using that model code the database opens the appropraite report. Here's where I'm lost. I need to take information from the form and insert it into textboxes and labels on the report. I have several variables dimmed as global at the top. The trick is the same variables are used no matter which report is open. So for example report_8AC is opened. I can simply typr report_8AC.txtVin, but it won't be report_8AC every time. How do I call upon an object in a report when the report itself is opened usin a variable.
using MC as the variable for MC I said docms.openreport MC which worked but I can't say report_MC.txtVin=.......
just doesnt work that way.


