iif statements for a beginner

B

bobby

i would like to have a box on a report display the
contents of field a, if field b's contents equals field
c's contents.

ie, if b=c than display a. any suggestions? thanks in
advance.
 
M

MacDermott

You must specify not only what your box will display if b=c, but also what
it should display if b is not equal to c.

HTH
- Turtle
 
B

bobby

thanks for getting back. but where/how do i specify this
information to print out on a report?
bobby
 
M

MacDermott

The controlsource of your textbox.
Be sure to preface your IIF with =

HTH
- Turtle
 

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