Thank you, Steve........but I'm getting an error message back : Undefined
function':IIF'in expression.
I actually used the medical term on the physician Tbl and query. Instead
of
Tetunus Date, my table and query have Tdap_Vaccine_Date, and
Tdap_Decline_Date, which is exactly what I used in the string thinking
that's
the exact fields the query would read. Right?
The reason I use the underscore is because of an ex-employee that used the
underscores as a standard, and she initially set up the whole database.
Why?? I don't know/remember. Could that have ANYTHING to do with my error
message??
As I look at the string you had me put in, it makes since logically to me.
I don't know why the error...
Help
Steve said:
Bam said:
I work for a hospital and assist in the Employee Health department.
I have an Access data base that consists with the ID number, the
physician
name,DOB, PPD dates. tetnus date, tetnus decline date.
I need to know how to calculate the physicians that are compliant and
that
are ot compliant.
Help!!!!
Assuming your data is in a table named TblPhysician and if a physician
has a
Tetnus Date he is compliant and if he has a Tetnus Decline Date he is
non-compliant -----
Create a query based on TblPhysician and sort Physician Name ascending.
In
the first blank field at the right in your query, type in:
Tetnus Compliant::IIF([Tetnus Date] Is Not Null,"Yes",IIF([Tetnus Decline
Date] Is Not Null,"No","UnKnown"))
Now use the form wizard to create a continuous form based on the query.
Include the fields Physician Name and Tetnus Compliant. When you open the
form you will see a list of physicians and if they are tetnus compliant.
PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)