I have a form that is feeding query criteria. There are 2 selections but I need a both as well. They are on the form in a combo box.
Ex. Gender - Male or Female
Terminated - Y or N
I tried setting the default value of the combo box as [Query]![Field]In("Male","Female") but it came back with no records. When I put a specific in everything runs fine.
Is there a means of providing a "Both" in the combo box or setting a default value where if the box is blank then it pulls both? Or would a list box where I could highlight both be a means of making it work?
Ex. Gender - Male or Female
Terminated - Y or N
I tried setting the default value of the combo box as [Query]![Field]In("Male","Female") but it came back with no records. When I put a specific in everything runs fine.
Is there a means of providing a "Both" in the combo box or setting a default value where if the box is blank then it pulls both? Or would a list box where I could highlight both be a means of making it work?