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

Expression automatic update



 
 
Thread Tools Display Modes
  #1  
Old June 5th, 2008, 10:24 PM posted to microsoft.public.access
acyakos
external usenet poster
 
Posts: 5
Default Expression automatic update

I have an expression built into a query that sums sales data year to date.
At the end of each month, I want the expression to be the sum of the actual
data from the sales periods that have closed (p1 + p2 + p3 etc), but I do not
want to include data that may be posted to the current month (p4) if the
month is not complete. I also want to import this query into Excel each
month. Is there any way to have the query automatically update each month to
add the newly closed period to the year to date expression? I am not
extremely well versed in access and any help would be appreciated. Thanks!
  #2  
Old June 6th, 2008, 10:31 AM posted to microsoft.public.access
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Expression automatic update

Hi

The current month is never closed -

You can set the criteria for a select query from the start of this year to
the end of last month. This will "auto-update" each month.



--
Wayne
Manchester, England.



"acyakos" wrote:

I have an expression built into a query that sums sales data year to date.
At the end of each month, I want the expression to be the sum of the actual
data from the sales periods that have closed (p1 + p2 + p3 etc), but I do not
want to include data that may be posted to the current month (p4) if the
month is not complete. I also want to import this query into Excel each
month. Is there any way to have the query automatically update each month to
add the newly closed period to the year to date expression? I am not
extremely well versed in access and any help would be appreciated. Thanks!

 




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 06:04 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.