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  

Query - More than 15 days old!



 
 
Thread Tools Display Modes
  #1  
Old July 4th, 2009, 10:22 AM posted to microsoft.public.access
Bob Vance
external usenet poster
 
Posts: 726
Default Query - More than 15 days old!

Between Date()-15 And Date()-200000
Is there a better way than this....Regards Bob


--
Thanks in advance for any help with this......Bob
MS Access 2007 accdb
Windows XP Home Edition Ver 5.1 Service Pack 3


  #2  
Old July 4th, 2009, 10:43 AM posted to microsoft.public.access
John Mishefske[_3_]
external usenet poster
 
Posts: 5
Default Query - More than 15 days old!

Bob Vance wrote:
Between Date()-15 And Date()-200000
Is there a better way than this....Regards Bob


Instead of using Between why not use

Date() - 15

one comparison instead of two.


--
John Mishefske, Microsoft MVP 2007 - 2009
UtterAccess Editor
Tigeronomy Software
web: http://www.tigeronomy.com
email: sales ~at~ tigeronomy.com
  #3  
Old July 4th, 2009, 11:12 AM posted to microsoft.public.access
Bob Vance
external usenet poster
 
Posts: 726
Default Query - More than 15 days old!

Thanks John , worked perfectly..Bob

"John Mishefske" wrote in message
...
Bob Vance wrote:
Between Date()-15 And Date()-200000
Is there a better way than this....Regards Bob


Instead of using Between why not use

Date() - 15

one comparison instead of two.


--
John Mishefske, Microsoft MVP 2007 - 2009
UtterAccess Editor
Tigeronomy Software
web: http://www.tigeronomy.com
email: sales ~at~ tigeronomy.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 10:38 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.