finding max value in control of form

G

Guest

i have a three control the text1, text2, and text3. but in the text4, i want
to return the maximun value of the three control. what will i do?
 
W

Wayne Morgan

See if this equation will do it.

=IIf([Text1]>=[Text2] And [Text1]>=[Text3], [Text1], IIf([Text2]>=[Text3],
[Text2], [Text3]))
 

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