MarcusMaximus
Registered User.
- Local time
- Today, 15:22
- Joined
- Jan 23, 2009
- Messages
- 27
I have a querey used for a report that lists quotes from certain dates. Within this query i have a IIF function that displays whether or not the quote is Live. Live is true or false.
From the form that generates the queries i have a combo box to select live, not live or both. The Live field in the query reference the combo box in the form. I can pull back the live and not live quotes easily enough but want to be able to pull both but am having trouble.
I have tried using number to distiguis live and not eg 1 for live 2 for not live and within the query if the combo box is live then criteria is one, if not live the criteria is 2 if both the criteria is >0 but it doesn't work
From the form that generates the queries i have a combo box to select live, not live or both. The Live field in the query reference the combo box in the form. I can pull back the live and not live quotes easily enough but want to be able to pull both but am having trouble.
I have tried using number to distiguis live and not eg 1 for live 2 for not live and within the query if the combo box is live then criteria is one, if not live the criteria is 2 if both the criteria is >0 but it doesn't work