PC Review


Reply
Thread Tools Rate Thread

How to calculate a period of time

 
 
AmandaP
Guest
Posts: n/a
 
      27th May 2004
Hi, I really need some help on this one, I cannot seem to
be able to get it right.

I have this query which returns dates when an inspection
is due called [InspectionDue]. I have put this criteria
beneath it: >=Date()+30. The only problem is that it
returns all dates after today's date and all I really want
is any date equal or after today's date within the next 30
days, not beyond the 30 days limit. Is there a way to do
this right?

Please help.
Thanks,

 
Reply With Quote
 
 
 
 
Roger Carlson
Guest
Posts: n/a
 
      27th May 2004
BETWEEN Date() AND Date()+30

--
--Roger Carlson
www.rogersaccesslibrary.com
Reply to: Roger dot Carlson at Spectrum-Health dot Org

"AmandaP" <(E-Mail Removed)> wrote in message
news:1343101c443dc$f06b3380$(E-Mail Removed)...
> Hi, I really need some help on this one, I cannot seem to
> be able to get it right.
>
> I have this query which returns dates when an inspection
> is due called [InspectionDue]. I have put this criteria
> beneath it: >=Date()+30. The only problem is that it
> returns all dates after today's date and all I really want
> is any date equal or after today's date within the next 30
> days, not beyond the 30 days limit. Is there a way to do
> this right?
>
> Please help.
> Thanks,
>



 
Reply With Quote
 
AmandaP
Guest
Posts: n/a
 
      27th May 2004
Thanks Roger,

It worked!
Brilliant.

>-----Original Message-----
>BETWEEN Date() AND Date()+30
>
>--
>--Roger Carlson
> www.rogersaccesslibrary.com
> Reply to: Roger dot Carlson at Spectrum-Health dot Org
>
>"AmandaP" <(E-Mail Removed)> wrote in

message
>news:1343101c443dc$f06b3380$(E-Mail Removed)...
>> Hi, I really need some help on this one, I cannot seem

to
>> be able to get it right.
>>
>> I have this query which returns dates when an inspection
>> is due called [InspectionDue]. I have put this criteria
>> beneath it: >=Date()+30. The only problem is that it
>> returns all dates after today's date and all I really

want
>> is any date equal or after today's date within the next

30
>> days, not beyond the 30 days limit. Is there a way to do
>> this right?
>>
>> Please help.
>> Thanks,
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate number of days in months given a multi-month time period PF Microsoft Access VBA Modules 5 9th Nov 2009 08:52 PM
How to calculate period manan Microsoft Excel Discussion 3 12th May 2006 03:00 PM
Loop problem when time period loops from 1 to end of period again Lance Microsoft Access Queries 3 9th May 2006 02:38 AM
Calculate percentage of time period =?Utf-8?B?UmljYXJkbyBNb250ZWlybyA6Xik=?= Microsoft Excel Worksheet Functions 4 6th Jan 2006 02:46 PM
how to calculate mean production for a period John Smith Microsoft Access 0 12th Jul 2004 03:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:39 PM.