Hi,
I have txt input [txt choice] which has a number (1-9) and then a query which uses the following formula to define which records are visible linked to a Yes/No field
If the choice is "4" then it works fine, but if the choice is anything but 4 it still shows only the Yes items. If i change the code to
Then it does show just the 'No' items but i want it to show 'everything' if the choice is not 4
Any ideas please?
thank you
I have txt input [txt choice] which has a number (1-9) and then a query which uses the following formula to define which records are visible linked to a Yes/No field
Code:
=IIf([Forms]![frm selection]![txt choice]="4",Yes,Yes or No)
If the choice is "4" then it works fine, but if the choice is anything but 4 it still shows only the Yes items. If i change the code to
Code:
=IIf([Forms]![frm selection]![txt choice]="4",Yes,No)
Then it does show just the 'No' items but i want it to show 'everything' if the choice is not 4
Any ideas please?
thank you