hi
but i want values come from the query ....
i will try and let you know
thank you
if it is to come from a query and not from fields in your form, use dcount
=iif(dcount("*","[q]","[a]='Danny' And [b]='Triangular' And [c]='Red' And [d]>1")>0,"ATTENTION","")
i tried - no success
'no success' does not help us to help you. With a naming convention like 'q', 'a' etc I suspect you have issues there. Clarify exactly what you have - sql to your form recordsource, sql to your 'q' query
very gooooooddddd mf
thank you very much it worksssssss =iif(dcount("*","[q]","[a]='Danny' And [b]='Triangular' And [c]='Red' And [d]>1")>0,"ATTENTION","")