You should be able to look at my provided expression and easily determine my
mistake. Also, I made reference to the data type of [Layer] and you didn't
provide this information.
Try:
If Layer is a text field, try:
="(Food Contact) "+IIf([Layer]<>"1",Null,"")
If Layer is a numeric field, try:
="(Food Contact) "+IIf([Layer]<>1,Null,"")
--
Duane Hookom
MS Access MVP
--
JohnLute said:
I'm doing my best to get up to speed, however, my transmission is a bit
worn!
I tried the two options you listed but get an odd return. The text box
does
NOT appear for the record with the value "1" rather, it appears for all
other
records!
???
--
www.Marzetti.com
Duane Hookom said:
John,
Get up-to-speed on basic expressions and there syntax.
If Layer is a text field, try:
="(Food Contact) "+IIf([Layer]="1",Null,"")
If Layer is a numeric field, try:
="(Food Contact) "+IIf([Layer]=1,Null,"")
--
Duane Hookom
MS Access MVP
--
I have a text box and want it to display only if the [Layer] value is
"1".
="(Food Contact) "+IIf(IsNull([Layer]),Null,"")
Any help with this would be greatly appreciated!
Thanks!