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!

Need to Deterime Maximum Value of a Field Less One

Status
Not open for further replies.

kc27

Technical User
Sep 10, 2008
171
0
16
US
Hi

Can someone tell me how to adapt the code below so that it returns a number that is the maximum value minus 1. For example if the maximum value is "35", I would want to display "34"

{table.field} = Maximum ({table.field}, {table.field})

Thanks in advance for your help on this.
 
(maximum({table.data_field},{table.group_field}))-1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top