Combo Box with Macro Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a combo box that points to a list of available reports, the issue that
I am having is this,
On the event "click" I run a macro that runs the selected report, the
problem is that the macro does not understand which report I selected from
the combo box.
What am I doing wrong?

Thanks,
 
Assuming your combo box is bound to a list of reports, leave macros to
others and use code. I would not tie the opening of the report to an event
of the combo box.

Add a command button to your form and use the command button wizard to open
any one of the reports. Then modify the code to replace the report name with
something like:

DoCmd.OpenReport Me.cboReport, acPreview
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top