
Originally Posted by
warmslime
I don't get it, why are you repeating the same field twice in the query?
Where do you see that? One field is named No_ and the other is Name (name is a reserved word and should not be a field or object name).
This makes it a parameter query - user will get a prompt.
and why do you have two parameters for the same field? Also I don't get what the "or" line means at all?
The second line is asking for all records where vendor is Null. However, the or is declared at the left side of the grid - you do not add it to the criteria.
Second, you don't use Like with Null or Is Null. Like is a comparison operator and there is nothing to compare if the field is Null. Like is for criteria with wild cards.
Last edited by Micron; 10-30-2016 at 12:51 PM.
Reason: clarification
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.