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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Capping" a field at 100%

Status
Not open for further replies.

wayneryeven

Technical User
May 21, 2004
101
GB
Hi All
I have a text box that performs a calculation in a report, it is a sub category calculation hence cant be done in the query. The problem is that is calculates a percentage, but what i want to do is cap it at 100% i.e. the result can never be more than 100% (even though it may well be).

Can this be done on the report?

Many Thanks
 
Something like this then? IIF([YourCalculation]>1,1,[YourCalculation])
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top