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

Update Query and Macro



 
 
Thread Tools Display Modes
  #1  
Old March 20th, 2009, 10:27 AM posted to microsoft.public.access.tablesdbdesign
NikkiNYCC
external usenet poster
 
Posts: 7
Default Update Query and Macro

Hi,

I need to make an Update Query that can add the following setup to the
Criteria Field in another Query so that I can run a Macro. The expression we
currently type into the query is: *between dd/mm/yy and dd/mm/yy* this gives
us a list of records which is then used to produce letters.

I am trying to automate my system further so that the report which is based
on this query can be run using a Macro, I have managed to do that, but if the
field could be updated as part of the Macro then that would cut user time in
generating the report.

I am not sure if this is actually possible however.

Thank You

Nikki

  #2  
Old March 20th, 2009, 11:53 AM posted to microsoft.public.access.tablesdbdesign
Allen Browne
external usenet poster
 
Posts: 11,706
Default Update Query and Macro

See:
Limiting a Report to a Date Range
at:
http://allenbrowne.com/casu-08.html
The article suggests 2 possible approaches.
The first one can be used with a macro.
The second one uses a form for entering the dates.

BTW, since your date format is non-American, you may benefit from the info
in this article also:
International Date Formats in Access
at:
http://allenbrowne.com/ser-36.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"NikkiNYCC" wrote in message
...
Hi,

I need to make an Update Query that can add the following setup to the
Criteria Field in another Query so that I can run a Macro. The expression
we
currently type into the query is: *between dd/mm/yy and dd/mm/yy* this
gives
us a list of records which is then used to produce letters.

I am trying to automate my system further so that the report which is
based
on this query can be run using a Macro, I have managed to do that, but if
the
field could be updated as part of the Macro then that would cut user time
in
generating the report.

I am not sure if this is actually possible however.

Thank You

Nikki


 




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 02:45 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.