[mso] Re: Access Question

Linda,

I don't think you will get a total result with a "list the values"
result... they are different animals. You could try to create a report
where it *is* possible... otherwise you need 2 queries... one to list
the values and one to create the sum totals.

Lisa


> Ok...this should be easy but I'll be damned if I can figure it out.
>
> I have a calculated control in a query which multiplies my
> ListPrice field
> by my QuantityOnHand field to give me the total value of
> inventory.  It
> looks like this:
>
> WholesaleValue:[ListPrice]*[QuantityOnHand]
>
> Now I want a TOTAL for that column in my query.  Is this
> possible?  Access
> Help says I can add all the values in one field, but no
> matter what I do, it
> just gives me the same values that are in my WholesaleValue
> calculation.
>
> I set the Total row to Expression and I added a calculated
> control that says
> Total:Sum([WholesaleValue]) but what I end up with are two
> columns in my
> query, WholesaleValue and Total, and they have EXACTLY the
> same numbers in
> them.  What I want is a total of all the values in my
> WholesaleValue column.
> How the heck do I do this?
>
> I'm doing this for someone who insists it has to be done in
> Access....if
> this were Excel, it would be a snap, but good ol' Access has to make
> everything so difficult LOL
>
> Any help would be appreciated...thanks.
>
> Linda
> Linda's Computer Stop


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: