Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

In-table calculation?

0 views
Skip to first unread message

tomslattery

unread,
Dec 21, 2009, 2:08:38 PM12/21/09
to
Hi!

I have a subform going for products returned to the warehouse. Not
unlike one would do in Excel, I want to do a simple calculation that
does the sum of two columns in the table, with the result in 'column
3'. I'm a bit confused as to how Access handles displaying this
information right there in the table:

QtyOrdered + QtyShipped = QtyReceived

Thanks!
~TPS

John Spencer

unread,
Dec 21, 2009, 2:19:29 PM12/21/09
to
Access does not do this in a table.

This would be a calculated field in a query or as the source of a control on a
form or report. General rule is that if it can be calculated and is dependent
on other items in the record, you calculate it to ensure consistency.

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County

Jeff Boyce

unread,
Dec 21, 2009, 2:39:38 PM12/21/09
to
In rare situations, it is necessary to store such a calculated value in
Access. Generally, not...

If you'll provide more specific description of your situation, folks here
may be able to offer more specific suggestions.

Based solely on a literal interpretation of your field names (e.g.,
"QtyOrdered", ...), you do NOT have one of those rare situations.

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"tomslattery" <tomsl...@gmail.com> wrote in message
news:a7f174cc-e3dc-425a...@v25g2000yqk.googlegroups.com...

0 new messages