P
Phillip
I am trying to use the IIF statement to determine if the a
query returned anything.
I have a query that selects an employee number and a date
that is equal to the number and date I enter. That works.
I then have another query that is looking at the results
of the first query(where I select the employee number and
date) to determine if anything was returned.
I was trying to use the IIF statement to do something like
this: IIF(isNull[employee number], "No Number Exists",
employee number). I would do the same thing for the date
field. So in other words if nothing is returned from the
first query, the results are null, then it will
display "No Number Exists" in the field.
I don't even know if this is the correct/best way to do
that. If anyone has any ideas please let me know.
Thanks.
query returned anything.
I have a query that selects an employee number and a date
that is equal to the number and date I enter. That works.
I then have another query that is looking at the results
of the first query(where I select the employee number and
date) to determine if anything was returned.
I was trying to use the IIF statement to do something like
this: IIF(isNull[employee number], "No Number Exists",
employee number). I would do the same thing for the date
field. So in other words if nothing is returned from the
first query, the results are null, then it will
display "No Number Exists" in the field.
I don't even know if this is the correct/best way to do
that. If anyone has any ideas please let me know.
Thanks.