O
orbojeff
I want to create a form that searches from a Table which contains many
Fields with Null Values
I've created a form and the 7 Fields want to search from are Unbound to
a control Source
To this I've added a subform based on a Query where the criteria are
the values from the Unbound Fields
This works well when the Fields have a value
However when the Field has no Value it ignores the Record.
I tried building the expression:
[frm_SEARCH]![cmb_CITY] Or Is Null (where cmb_City is the Unbound Combo
Box on my Form)
However because I have several many Fields this making the Query very
complex.
It appears to need to satisfy every condition and creating a statement
for each
Is there a better way to accomplish this?
Is there a simple Table and of Field setting I'm missing to allow for
this?
Fields with Null Values
I've created a form and the 7 Fields want to search from are Unbound to
a control Source
To this I've added a subform based on a Query where the criteria are
the values from the Unbound Fields
This works well when the Fields have a value
However when the Field has no Value it ignores the Record.
I tried building the expression:
[frm_SEARCH]![cmb_CITY] Or Is Null (where cmb_City is the Unbound Combo
Box on my Form)
However because I have several many Fields this making the Query very
complex.
It appears to need to satisfy every condition and creating a statement
for each
Is there a better way to accomplish this?
Is there a simple Table and of Field setting I'm missing to allow for
this?