F
Fairytale
I am still learning, lots that I don't know, but I am trying to create a
status designation from 5 date fields using "Not IsNull" and having
difficulty. I am not sure if this will fuction best in query, forms... can I
do this on the table???
After some research, this is what I have in a query for now and it seems to
work but I don't want a number:
Status: IIf(Not IsNull([cogradulate]),5,IIf(Not
IsNull([verifydate]),4,IIf(Not IsNull([permCAdate]),3,IIf(Not
IsNull([shorttermCAdate]),2,IIf(Not IsNull([containmentdate]),1,0)))))
When I change it to a word in place of the numeral, like below, it asks me
for parameters. I do not understand "Parameters" or what I am to do. I did
try setting parameters but it is obvious I don't know what I'm doing because
now I get an additional prompt for parameter beyond just the original 5.
Status: =IIf(Not IsNull([cogradulate]),â€Closedâ€,IIf(Not
IsNull([verifydate]),â€Verifiedâ€,IIf(Not
IsNull([permCAdate]),â€PermanentFixâ€,IIf(Not
IsNull([shorttermCAdate]),â€ShortTermFixâ€,IIf(Not
IsNull([containmentdate]),â€Containedâ€,â€Newâ€)))))
I would appreciate any advise you can give!
status designation from 5 date fields using "Not IsNull" and having
difficulty. I am not sure if this will fuction best in query, forms... can I
do this on the table???
After some research, this is what I have in a query for now and it seems to
work but I don't want a number:
Status: IIf(Not IsNull([cogradulate]),5,IIf(Not
IsNull([verifydate]),4,IIf(Not IsNull([permCAdate]),3,IIf(Not
IsNull([shorttermCAdate]),2,IIf(Not IsNull([containmentdate]),1,0)))))
When I change it to a word in place of the numeral, like below, it asks me
for parameters. I do not understand "Parameters" or what I am to do. I did
try setting parameters but it is obvious I don't know what I'm doing because
now I get an additional prompt for parameter beyond just the original 5.
Status: =IIf(Not IsNull([cogradulate]),â€Closedâ€,IIf(Not
IsNull([verifydate]),â€Verifiedâ€,IIf(Not
IsNull([permCAdate]),â€PermanentFixâ€,IIf(Not
IsNull([shorttermCAdate]),â€ShortTermFixâ€,IIf(Not
IsNull([containmentdate]),â€Containedâ€,â€Newâ€)))))
I would appreciate any advise you can give!