View Single Post
  #3  
Old March 6th, 2005, 08:21 PM
Martin Watts
external usenet poster
 
Posts: n/a
Default


Excellent. Thanks for that Ken, works like a dream.

Martin Watts

"Ken Snell [MVP]" wrote in message

Assuming that your query has a parameter similar to this:

Forms!FormName!ComboBoxName


Just replace it with this (assuming that the combo box is blank when you
want all records):

Forms!FormName!ComboBoxName Or Forms!FormName!ComboBoxName Is Null

"Martin Watts" wrote in message
...
I have a database holding details of students and training courses. One

of
the reports produces stats for selected years and selected category of
courses, the year and category being set as parameters in the underlying
query. The parameters are selected by the user from a combo box on a
form.
What I would like to do is give the user the option of selecting 'All
Categories' in the combo box and the report therefore, effectively

ignore
this parameter, i.e. produce a report for a selected year but showing
stats
for all categories of course. How would I do it?

TIA

Martin Watts