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  

Can a calculation be posted to a database?



 
 
Thread Tools Display Modes
  #1  
Old May 1st, 2009, 04:18 PM posted to microsoft.public.access.reports
Twatry
external usenet poster
 
Posts: 4
Default Can a calculation be posted to a database?

I have a total calcualtion on my report and need to post that back to my
database so I can total that number for my month end numbers. Currently I
have the total text box in my report footer and I create about 100 of these
reports a month.

  #2  
Old May 1st, 2009, 05:55 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Can a calculation be posted to a database?

The ability or need to store a calculated value should have nothing to do
with a report. Normally you don't store values that can be calculated. If you
can't live without store this type of value, use code or queries to calculate
and store the value. This should never depend on a report.

--
Duane Hookom
Microsoft Access MVP


"****ry" wrote:

I have a total calcualtion on my report and need to post that back to my
database so I can total that number for my month end numbers. Currently I
have the total text box in my report footer and I create about 100 of these
reports a month.

  #3  
Old May 3rd, 2009, 07:46 AM posted to microsoft.public.access.reports
Larry Linson
external usenet poster
 
Posts: 3,112
Default Can a calculation be posted to a database?

"Duane Hookom" wrote

The ability or need to store a calculated value should
have nothing to do with a report. Normally you don't
store values that can be calculated. If you can't live
without store this type of value, use code or queries
to calculate and store the value. This should never
depend on a report.


If, for example, there is a need to store a
"this-is-the-value-that-was-reported", the VBA code to store that value or
execute the query to store that value, can be executed in the Print event of
the Section of the Report in which that calculation is displayed.

Larry Linson
Microsoft Office Access MVP



__________ Information from ESET Smart Security, version of virus signature database 4049 (20090501) __________

The message was checked by ESET Smart Security.

http://www.eset.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 05:55 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.