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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

forms in access



 
 
Thread Tools Display Modes
  #1  
Old December 5th, 2006, 04:10 AM posted to microsoft.public.access.forms
vvcano
external usenet poster
 
Posts: 10
Default forms in access

how do i calculate in a form without creating a running sum?
  #2  
Old December 5th, 2006, 04:23 AM posted to microsoft.public.access.forms
Damian S
external usenet poster
 
Posts: 741
Default forms in access

Calculate what? How about:

=[field1] + [field2] + [field3]

Damian.

"vvcano" wrote:

how do i calculate in a form without creating a running sum?

  #3  
Old December 5th, 2006, 04:29 AM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default forms in access

On Mon, 4 Dec 2006 20:10:00 -0800, vvcano
wrote:

how do i calculate in a form without creating a running sum?


Depends on what you want to calculate, and on what's in your tables.

We don't know. Care to give us a hand?

John W. Vinson[MVP]
  #4  
Old December 5th, 2006, 04:39 AM posted to microsoft.public.access.forms
vvcano
external usenet poster
 
Posts: 10
Default forms in access

i'm entering data into my forms. one field is going to have a grand total.
however the grand total should be different for every form "entry". does
this make sense?
i have put in the formula that i want however on the next form it gives me
the total for the previous form.

"John Vinson" wrote:

On Mon, 4 Dec 2006 20:10:00 -0800, vvcano
wrote:

how do i calculate in a form without creating a running sum?


Depends on what you want to calculate, and on what's in your tables.

We don't know. Care to give us a hand?

John W. Vinson[MVP]

  #5  
Old December 5th, 2006, 04:40 AM posted to microsoft.public.access.forms
vvcano
external usenet poster
 
Posts: 10
Default forms in access

i did that. i just don't want it to give me a running total in the next form
entry.

"Damian S" wrote:

Calculate what? How about:

=[field1] + [field2] + [field3]

Damian.

"vvcano" wrote:

how do i calculate in a form without creating a running sum?

  #6  
Old December 5th, 2006, 04:59 AM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default forms in access

On Mon, 4 Dec 2006 20:39:00 -0800, vvcano
wrote:

i'm entering data into my forms. one field is going to have a grand total.
however the grand total should be different for every form "entry". does
this make sense?


Not to me. Sorry. A grand total is - to me - a total over several
records (and should not be stored in any table). A different grand
total for every entry makes no sense!

i have put in the formula that i want however on the next form it gives me
the total for the previous form.


"The next form"? "The previous form"?

Are you opening different Access Form objects? Or are you using the
word "form" to mean something else? How are you doing the calculation?
You say "one field is going to have a grand total" - a total of WHAT?

Please explain the real-life problem you're trying to solve, and
describe the structure of your tables and your form. Remember we
cannot see your screen and cannot read your mind - we don't KNOW what
you're seeing, or what you're trying to do.

John W. Vinson[MVP]
  #7  
Old December 5th, 2006, 05:20 AM posted to microsoft.public.access.forms
vvcano
external usenet poster
 
Posts: 10
Default forms in access

i'm sorry if this is confusing.
i'm trying to prevent a running sum in a calculated field. i don't want
this sum to be added to the next entry i make in the form.

"John Vinson" wrote:

On Mon, 4 Dec 2006 20:39:00 -0800, vvcano
wrote:

i'm entering data into my forms. one field is going to have a grand total.
however the grand total should be different for every form "entry". does
this make sense?


Not to me. Sorry. A grand total is - to me - a total over several
records (and should not be stored in any table). A different grand
total for every entry makes no sense!

i have put in the formula that i want however on the next form it gives me
the total for the previous form.


"The next form"? "The previous form"?

Are you opening different Access Form objects? Or are you using the
word "form" to mean something else? How are you doing the calculation?
You say "one field is going to have a grand total" - a total of WHAT?

Please explain the real-life problem you're trying to solve, and
describe the structure of your tables and your form. Remember we
cannot see your screen and cannot read your mind - we don't KNOW what
you're seeing, or what you're trying to do.

John W. Vinson[MVP]

  #8  
Old December 5th, 2006, 05:34 AM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default forms in access

On Mon, 4 Dec 2006 21:20:01 -0800, vvcano
wrote:

i'm sorry if this is confusing.
i'm trying to prevent a running sum in a calculated field. i don't want
this sum to be added to the next entry i make in the form.


It's rather difficult to CREATE a running sum in an Access form. It
certainly does NOT build running sums on its own.

Please answer these questions:

1. What is the Recordsource of your form? If it's a table, describe
the fields. If it's a Query, please post the SQL view of the Query.

2. What type of Form are you using - Datasheet, Continuous, Single?

3. Does the Form have any VBA code or Macros associated with it? If so
please post the code.

4. What is the Control Source property of the textbox which is giving
you this result?

5. Could you give a REAL LIFE EXAMPLE with REAL LIFE DATA describing
what happens to give you a running sum; and what you would like to
see?

John W. Vinson[MVP]
  #9  
Old December 5th, 2006, 05:53 AM posted to microsoft.public.access.forms
vvcano
external usenet poster
 
Posts: 10
Default forms in access

see below

"John Vinson" wrote:

On Mon, 4 Dec 2006 21:20:01 -0800, vvcano
wrote:

i'm sorry if this is confusing.
i'm trying to prevent a running sum in a calculated field. i don't want
this sum to be added to the next entry i make in the form.


It's rather difficult to CREATE a running sum in an Access form. It
certainly does NOT build running sums on its own.

Please answer these questions:

1. What is the Recordsource of your form? If it's a table, describe
the fields. If it's a Query, please post the SQL view of the Query.

my table consist of number of items, total dollar amount for the states of
AZ, CA, and NV. I work in an operations environment for a bank.

2. What type of Form are you using - Datasheet, Continuous, Single? Single

3. Does the Form have any VBA code or Macros associated with it? If so
please post the code. NO

4. What is the Control Source property of the textbox which is giving
you this result?
A sum? this may be referring to the data that i want added. similar to excel when you are calculating several cells to get a total.
5. Could you give a REAL LIFE EXAMPLE with REAL LIFE DATA describing
what happens to give you a running sum; and what you would like to
see? each entry is entered each day. i enter the numbers(shown above) however each section on the form needs it's own daily total. should i do a sub form?

John W. Vinson[MVP]

  #10  
Old December 5th, 2006, 12:52 PM posted to microsoft.public.access.forms
Rick Brandt
external usenet poster
 
Posts: 4,354
Default forms in access

"vvcano" wrote in message
...
i did that. i just don't want it to give me a running total in the next form
entry.


It won't. That expression is the sum of three fields in the *current* record.
There is no easy way to make that a running sum even if that is what you wanted.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


 




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 10:44 AM.


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