Connecting Tech Pros Worldwide Help | Site Map

date problem

  #1  
Old November 13th, 2005, 03:56 PM
kevcar40
Guest
 
Posts: n/a
hi
i have a table that contains a date the record was created
after three months i want to review the record and enter a review date
(no Problem so far)

i now query the table adding a field(test) that takes the review date
and adds 90 to it(3 months approx)

i have now another query that looks at the field test and compares it
to current date this is returning a record with a 22/01/2007 date
value, in the query i have used <date()

What i want is to return only the records that require reviewing
ie current date 25/10/2005 review date 24/10/2005
can anyone help please



thanks


kevin

  #2  
Old November 13th, 2005, 03:56 PM
Keith
Guest
 
Posts: n/a

re: date problem


"kevcar40" <kevcar40@btinternet.com> wrote in message
news:1130249184.335712.271310@g47g2000cwa.googlegr oups.com...[color=blue]
> hi
> i have a table that contains a date the record was created
> after three months i want to review the record and enter a review date
> (no Problem so far)
>
> i now query the table adding a field(test) that takes the review date
> and adds 90 to it(3 months approx)
>
> i have now another query that looks at the field test and compares it
> to current date this is returning a record with a 22/01/2007 date
> value, in the query i have used <date()
>
> What i want is to return only the records that require reviewing
> ie current date 25/10/2005 review date 24/10/2005
> can anyone help please
>
>[/color]
Hi Kevin, just a minor nit-pick but it would make your posting that much
easier to understand with some full stops and caps :o)

I've just simulated the scenario you describe and using "<Date()" for
criteria in the calculated field it appears to work correctly. Are you sure
you have the criteria against the right (calculated) field? Is your stored
date value a "date" data type in the table?

Regards,
Keith.
www.keithwilby.com


  #3  
Old November 13th, 2005, 03:56 PM
Salad
Guest
 
Posts: n/a

re: date problem


kevcar40 wrote:
[color=blue]
> hi
> i have a table that contains a date the record was created
> after three months i want to review the record and enter a review date
> (no Problem so far)
>
> i now query the table adding a field(test) that takes the review date
> and adds 90 to it(3 months approx)
>
> i have now another query that looks at the field test and compares it
> to current date this is returning a record with a 22/01/2007 date
> value, in the query i have used <date()
>
> What i want is to return only the records that require reviewing
> ie current date 25/10/2005 review date 24/10/2005
> can anyone help please
>
>
>
> thanks
>
>
> kevin
>[/color]
Let's say you have a field called ReviewDate. In your query, you could
have
ReviewDate + 90
and in the criteria
<Date()
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date problem with asp.net and MS Acess mykhan answers 0 April 16th, 2007 11:50 AM
date problem in access hardik answers 2 November 11th, 2006 06:15 PM
Mail merge date problem with Word 2002 using Access as data source Andy Davis answers 7 November 13th, 2005 12:15 PM
date problem OzThor answers 1 July 20th, 2005 03:26 PM
Php -mysql date problem Dominique Javet answers 5 July 17th, 2005 06:06 AM