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  

Calculation in a Text Box



 
 
Thread Tools Display Modes
  #1  
Old May 7th, 2007, 05:46 PM posted to microsoft.public.access.reports
CEV
external usenet poster
 
Posts: 105
Default Calculation in a Text Box

I have a text box on the footer of my form. The control source is as
follows:

=Sum(Abs([Department]="Vocational"))

That text box calculates a number for me. Now what I want to do is take that
number and divide it by another number, we'll say 6 and have that show up in
a new text box. So what would the control source of the new text box be? I
want it to show "=Sum(Abs([Department]="Vocational"))" divided by 6. Is
there an easy way to do this?

Thanks,

CEV


  #2  
Old May 7th, 2007, 06:20 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Calculation in a Text Box

You did not say where the new textbox was going to be. Is it also to be in
the Footer?
If so then it is easy as --
=Sum(Abs([Department]="Vocational"))/6

If it is to be somewhere else then it depend where.

--
KARL DEWEY
Build a little - Test a little


"CEV" wrote:

I have a text box on the footer of my form. The control source is as
follows:

=Sum(Abs([Department]="Vocational"))

That text box calculates a number for me. Now what I want to do is take that
number and divide it by another number, we'll say 6 and have that show up in
a new text box. So what would the control source of the new text box be? I
want it to show "=Sum(Abs([Department]="Vocational"))" divided by 6. Is
there an easy way to do this?

Thanks,

CEV



  #3  
Old May 7th, 2007, 07:00 PM posted to microsoft.public.access.reports
CEV
external usenet poster
 
Posts: 105
Default Calculation in a Text Box

Thanks!!! It is in the footer.

"KARL DEWEY" wrote in message
...
You did not say where the new textbox was going to be. Is it also to be in
the Footer?
If so then it is easy as --
=Sum(Abs([Department]="Vocational"))/6

If it is to be somewhere else then it depend where.

--
KARL DEWEY
Build a little - Test a little


"CEV" wrote:

I have a text box on the footer of my form. The control source is as
follows:

=Sum(Abs([Department]="Vocational"))

That text box calculates a number for me. Now what I want to do is take
that
number and divide it by another number, we'll say 6 and have that show up
in
a new text box. So what would the control source of the new text box be?
I
want it to show "=Sum(Abs([Department]="Vocational"))" divided by 6. Is
there an easy way to do this?

Thanks,

CEV





  #4  
Old May 10th, 2007, 09:40 AM posted to microsoft.public.access.reports
Wei Lu [MSFT]
external usenet poster
 
Posts: 42
Default Calculation in a Text Box

Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 




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 02:52 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.