T
Trevor
I have created a form for passing values to a query that
has a check box and 3 combo boxes that get their values
from a table. The problem is that is if any of the
criteria fields in the record are blank then that record
is not returned by the query.
I have use the following expression in the search forms
record source query to refer to the filterby form
Like [forms]![Filterby]![ckbxMembership] & "*"
Like [forms]![Filterby]![Town] & "*"
Like [forms]![Filterby]![BusinessType] & "*"
Like [forms]![Filterby]![MembershipLevel] & "*"
Tried adding or Is Null to each expression but this just
returned any records that the field was null as well as
records that met the criteria.
I could use validation to ensure that the fields have
data in them but this is a database that I'm modifying
with a lot of records in it so I was looking for a way
around this.
I really don't have much experience with access and tend
to use trial and error to get stuff to work. So far this
has been all error and very trying.
any help would be greatly appreciated
Trevor
has a check box and 3 combo boxes that get their values
from a table. The problem is that is if any of the
criteria fields in the record are blank then that record
is not returned by the query.
I have use the following expression in the search forms
record source query to refer to the filterby form
Like [forms]![Filterby]![ckbxMembership] & "*"
Like [forms]![Filterby]![Town] & "*"
Like [forms]![Filterby]![BusinessType] & "*"
Like [forms]![Filterby]![MembershipLevel] & "*"
Tried adding or Is Null to each expression but this just
returned any records that the field was null as well as
records that met the criteria.
I could use validation to ensure that the fields have
data in them but this is a database that I'm modifying
with a lot of records in it so I was looking for a way
around this.
I really don't have much experience with access and tend
to use trial and error to get stuff to work. So far this
has been all error and very trying.
any help would be greatly appreciated
Trevor