Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update unbound box with time

Status
Not open for further replies.

priac

Technical User
Feb 8, 2002
47
0
0
US
I am new and having a problem with something that should be simple. I have a query that returns a time to a form.
=Sum([Expr1])

I want to tell an unbound text box to show 40 if the =Sum([Expr1]) is => than 40.

 
Should'nt that be:
Code:
[blue]=IIf(Sum([Expr1])>[purple][b]=[/b][/purple] 40 , 40, Sum([Expr1]))[/blue]
[surprise]

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top