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

percentages in ms access 1

Status
Not open for further replies.

kpryan

Technical User
Aug 24, 2005
282
US
Hi,
I want to convert $0.00 to percent on a form please

Thanks,

Ken
 
It's simply a Format issue, isn't it ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Basically I have 2 currency fields that subtract into a field with the %format. This does not give a correct interpertaion of the % of the difference between the 2 currency fields.
 
Any chance you could post the expression ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
The code is as follows.

In the lost focus event on the form;

profit = nz([gross])-nz([nett])

the 'profit' is the % field
Gross & Nett are currency felds.
I just want the result in the 'profit' field to show the correct percentage.
or is there another way??
Hope this makes sense

Ken
 
You wanted something like this ?
profit = (Nz([gross])-Nz([nett]))/Nz([gross])
or this ?
profit = (Nz([gross])-Nz([nett]))/Nz([nett])

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
To PHV,
Do appreciate your help. It worked great

Ken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top