Lifeseeker
Registered User.
- Local time
- Today, 03:22
- Joined
- Mar 18, 2011
- Messages
- 273
Hi,
I have three unbound textboxes in total on this search form.
The first two are date fields and they all work well if you leave them empty.
The problem is....if you leave the first two date fields empty and pick a value from the 3rd one(it's a combo box), query returns ALL records. (it's kind of just ignoring the 3rd combo)
However, if all three fields are filled, query returns the right results.
Is this a Null or not Null problem?
I have three unbound textboxes in total on this search form.
The first two are date fields and they all work well if you leave them empty.
The problem is....if you leave the first two date fields empty and pick a value from the 3rd one(it's a combo box), query returns ALL records. (it's kind of just ignoring the 3rd combo)
However, if all three fields are filled, query returns the right results.
Is this a Null or not Null problem?