E
Ed Rawley
I have a simple form that I want to look up a part number
on. All the part numbers are 7 digits and there are alot
of them, over 100K. All I want to do is input the number
in a unbound field, hit a search button and have it
requery the data, then display, in a text box, that either
the number is there or it is not there. I am using a
query, with the "Like IIF([dblPartNum = Form![FormName]!
[Field], "Yes", "Not Listed") in the conditions. But it
keeps giving me an error. Any help would be appreciated.
I know this should be easy, I can do it with DLookup, but
with so many numbers I was hoping I could speed things up
using the IIF command
on. All the part numbers are 7 digits and there are alot
of them, over 100K. All I want to do is input the number
in a unbound field, hit a search button and have it
requery the data, then display, in a text box, that either
the number is there or it is not there. I am using a
query, with the "Like IIF([dblPartNum = Form![FormName]!
[Field], "Yes", "Not Listed") in the conditions. But it
keeps giving me an error. Any help would be appreciated.
I know this should be easy, I can do it with DLookup, but
with so many numbers I was hoping I could speed things up
using the IIF command