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!

calculate % in a report

Status
Not open for further replies.

Lightlancer

Programmer
Jul 18, 2008
88
NL
hi all,

i a report in access 2007 i have 3 fields,

field 1 = Price
field 2 = discount
field 3 = total

to get total working i did have =([Price]*20)
then the price will be * 20 in total, now the field total
must also calculate the discount, in that field there is 0% till 100% how can i calculate the discount over the Price and get the total in the field total?

greetz

lightlancer
 
Something like this ?
=[Price]*20*(1-[Discount])

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
=(price/100)*20
means 20 percent of price so..

=(total/100)*discount
will give you the discount percentage of the total.


Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
 
field give #error
Follow the expression builder to verify the correct spelling.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
solved, used ProgramError his method.

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top