Click here to Skip to main content
15,917,795 members

Comments by shyam2020 (Top 9 by date)

shyam2020 25-Nov-13 10:54am View    
Thanks a ton Mike! I will set the query with (now - 1) and (now + 16). :)
shyam2020 25-Nov-13 10:09am View    
Actually, when opened via MS Access, I don't see any time component, although, while pulling the data in Query builder, I saw the date was along with the time component..

Will that be a problem, also by removing the '=' symbol and increasing the numeric, what actually happens? Thanks.
shyam2020 25-Nov-13 10:06am View    
Hi Mike, Thank you so much for the code! I got the query working below:
WHERE (CPREdt >= now) AND (CPREdt <= now + 15)

For some reason Access is not willing to recognize CURDATE and yes, DATEADD is allowed in Access, but it kept giving me errors. The above method with 'Now' is viable... :)
shyam2020 25-Nov-13 9:40am View    
Uhm, no, it shows the same error: Undefined function 'CURDATE' in expression.
I checked the link you provided and do see the Date Time functions for available for Access, but why is it not being accepted in the Query builder?
shyam2020 25-Nov-13 9:25am View    
Hi..Nope, it say: Same error except for the message which now says:

Undefined function 'TODAY' in expression.