A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Dividing



 
 
Thread Tools Display Modes
  #1  
Old August 3rd, 2007, 03:26 PM posted to microsoft.public.access.reports
Blade370
external usenet poster
 
Posts: 46
Default Dividing

I have a query which is summing one field and counting another. In the 3rd
column I have an expression which takes the sum divide by the count
multiplied by 100 to give an overall percentage. It seems to work fin until i
add a fraction in like 0.5 to the summed field then the percentage doesn't
seem to change to reflect this.

Example 1.5/3*100 = 50% on my query it is still showing as 100% and no
matter what else you add to the summed field it remains like that.

Any Ideas???

Thanks
  #2  
Old August 3rd, 2007, 03:54 PM posted to microsoft.public.access.reports
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Dividing

When you "add a fraction in like 0.5", are you trying to add 0.5%, or the
decimal fraction 0.5 (which equals 50%)?

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Blade370" wrote in message
...
I have a query which is summing one field and counting another. In the 3rd
column I have an expression which takes the sum divide by the count
multiplied by 100 to give an overall percentage. It seems to work fin
until i
add a fraction in like 0.5 to the summed field then the percentage doesn't
seem to change to reflect this.

Example 1.5/3*100 = 50% on my query it is still showing as 100% and no
matter what else you add to the summed field it remains like that.

Any Ideas???

Thanks



  #3  
Old August 3rd, 2007, 04:20 PM posted to microsoft.public.access.reports
Blade370
external usenet poster
 
Posts: 46
Default Dividing

I am just trying to add 0.5 as in the fraction. Not 0.5 %.

just like in arithmetic (1+0.5)

Regards

"Jeff Boyce" wrote:

When you "add a fraction in like 0.5", are you trying to add 0.5%, or the
decimal fraction 0.5 (which equals 50%)?

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Blade370" wrote in message
...
I have a query which is summing one field and counting another. In the 3rd
column I have an expression which takes the sum divide by the count
multiplied by 100 to give an overall percentage. It seems to work fin
until i
add a fraction in like 0.5 to the summed field then the percentage doesn't
seem to change to reflect this.

Example 1.5/3*100 = 50% on my query it is still showing as 100% and no
matter what else you add to the summed field it remains like that.

Any Ideas???

Thanks




  #4  
Old August 3rd, 2007, 07:15 PM posted to microsoft.public.access.reports
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Dividing

We're not there, we can't see the query, nor the "summed field" you
mentioned.

Where are you trying to "add in" the value. The expression you gave didn't
have any addition showing in it.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Blade370" wrote in message
...
I am just trying to add 0.5 as in the fraction. Not 0.5 %.

just like in arithmetic (1+0.5)

Regards

"Jeff Boyce" wrote:

When you "add a fraction in like 0.5", are you trying to add 0.5%, or the
decimal fraction 0.5 (which equals 50%)?

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Blade370" wrote in message
...
I have a query which is summing one field and counting another. In the
3rd
column I have an expression which takes the sum divide by the count
multiplied by 100 to give an overall percentage. It seems to work fin
until i
add a fraction in like 0.5 to the summed field then the percentage
doesn't
seem to change to reflect this.

Example 1.5/3*100 = 50% on my query it is still showing as 100% and no
matter what else you add to the summed field it remains like that.

Any Ideas???

Thanks






  #5  
Old August 4th, 2007, 01:52 AM posted to microsoft.public.access.reports
JC
external usenet poster
 
Posts: 243
Default Dividing

Why not just do the division in the control source of the text box, and set
the format property to percent?



"Blade370" wrote:

I have a query which is summing one field and counting another. In the 3rd
column I have an expression which takes the sum divide by the count
multiplied by 100 to give an overall percentage. It seems to work fin until i
add a fraction in like 0.5 to the summed field then the percentage doesn't
seem to change to reflect this.

Example 1.5/3*100 = 50% on my query it is still showing as 100% and no
matter what else you add to the summed field it remains like that.

Any Ideas???

Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.