pauliewalker5
New member
- Local time
- Today, 12:44
- Joined
- May 6, 2022
- Messages
- 6
Hi Folks
It has been about 20 years since I have used Access so very rusty
I am trying to add a criteria field to a query as either, a single number selected on a form or, everything greater than 0.
Typing >=0 directly into the criteria field returns all the records (desired result). However, using IIf([Forms]![x]![xNum]="",>=0,[Forms]![x]![xNum) only returns results if a number is selected on the form
What I want is for the IIF statement to return >=0
Any help greatly appreciated
Paul Walker (neither fast nor furious)
It has been about 20 years since I have used Access so very rusty
I am trying to add a criteria field to a query as either, a single number selected on a form or, everything greater than 0.
Typing >=0 directly into the criteria field returns all the records (desired result). However, using IIf([Forms]![x]![xNum]="",>=0,[Forms]![x]![xNum) only returns results if a number is selected on the form
What I want is for the IIF statement to return >=0
Any help greatly appreciated
Paul Walker (neither fast nor furious)