Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using dropdown list for parameter

Status
Not open for further replies.

cdfly

Programmer
Jun 16, 2010
68
US
Hello,
I have a report that needs to use the month in a filter. I have a dropdown list that has the month name as the label and the integer equivalent as the value.
I tried creating a filter Month([my db date filed]) = Parameter:Month_Name but it gives an error “The arguments to the following function are not valid: = (Equal to).
Is this because it’s not looking at the selected value?


Thanks
 

How do you have your filter set up? If you could post a screenshot, that might be more helpful.

Also, in my experience, sometimes I have to convert the parameter value to an Integer (using Cint) to get the filter to work. You could also try setting up parameters in the report's query source.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top