S
Steve G
I need to display data in a query provided certain conditions exist. I've
begun an iif statement, however I am not certain how to embed the statements
properly.
Description: IIf([PatientStatus] = "Approved", "") does what I want for the
"approved" value. However, if patientStatus = pending, then I need to show
the reason it is pending, for instance,
Description: IIf([PatientStatus] = "Pending", "([reasonforpending]") and if
patientStatus=discharged then:
Description: IIf([PatientStatus] = "Discharged", "([reasonforDischarge])")
Any help in combining these statements into one statement would sure be
appreciated.
Steve G
begun an iif statement, however I am not certain how to embed the statements
properly.
Description: IIf([PatientStatus] = "Approved", "") does what I want for the
"approved" value. However, if patientStatus = pending, then I need to show
the reason it is pending, for instance,
Description: IIf([PatientStatus] = "Pending", "([reasonforpending]") and if
patientStatus=discharged then:
Description: IIf([PatientStatus] = "Discharged", "([reasonforDischarge])")
Any help in combining these statements into one statement would sure be
appreciated.
Steve G