SUM and IIF

A

a

thank you
I have text box (text1)
control source = sum ([NEMP])
is possible to add another condtion if text1=sum([NEMP])=0 (the value of
calculation =0) what I want
replace the 0 with another text box value text2
is this possible
thank you
hope you can help
 
S

Steve Schapel

A,

Try setting the control source of text1 to...
=IIf(Sum([NEMP])=0,[text2],Sum([NEMP]))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top