Wildcard code for a query

  • Thread starter Thread starter nybaseball22
  • Start date Start date
N

nybaseball22

Hello. I have a query that pulls information based on 3 the contents
of three fields in a query. One example of the string I have in the
design view of the query is:

[Forms]![TrainAllqry]![Enrollment Date]

The problem I have is that these fields are not always populated. In
cases they are not ALL populated, the query returns nothing. Is there
a wildcard I can add to the end of this that will disregard the blank
field and only use the 2 other fields for the search if this field is
blank?

Thank you.
 
Back
Top