Z
Zelgrath
I have three fields in a table, Name, Age, and Year. I
want to be able to display a list of ages based off of
either a name, a year or both. I created a query where
both name and year are parameters.
My problem arises when trying to search for only one of
the choices. For example if I enter a name and leave
nothing in the year parameter it will only show records
that have the entered name and null for a year. Is there a
way to make one query that retains all of the year values
while still sorting by name?
want to be able to display a list of ages based off of
either a name, a year or both. I created a query where
both name and year are parameters.
My problem arises when trying to search for only one of
the choices. For example if I enter a name and leave
nothing in the year parameter it will only show records
that have the entered name and null for a year. Is there a
way to make one query that retains all of the year values
while still sorting by name?