Brianwarnock
Retired
- Local time
- Today, 21:19
- Joined
- Jun 2, 2003
- Messages
- 12,667
Gemma the Form with the combo does not have to be linked to anything.
Brian
Brian
OK I'll try it again...perhaps it's because I'm such a novice when it comes to reading some of the instructions hereBrianwarnock said:Gemma the Form with the combo does not have to be linked to anything.
Brian
I don't think it's doable. If the query behind the report can't find a parameter value when the report is run, it just prompts the user to enter the value. It won't offer a pull down list of values for the user to select a value from.What I was hoping to do was when the user click a report (let's say this is a 'vendor report'), it will prompt the dialog box with the pull down menu
Jon K said:AccessNewbie72, your screenshot image suggests that the form is not open before the query is run. Maybe a very simple example that you can play around with would help.
In the attached database, you can open the form, select a vendor from the combo box and click on the Preview Report button to view a report, or click on the Run Query button to run a query.
Then you can open the form in Design view and note these three essential properties of the combo box in the Properties sheet:
Name
Row Source
Column Count
And to view the code in the On Click event of a command button, you can click on one of the command buttons and look for the On Click property in the Event tab. When you put the mouse cursor in that property, a small button with three dots will appear at the end. You can click on that small button to open the code window and view the code for the On Click event of that command button.
.