J
|
joseph83 2/12/2009 |
SELECT
WHERE Details.AvailDate >= getdate()-1 AND Details.EndDate <= getdate()+3 |
|
![]() |
Sergey Kornilov admin 2/12/2009 |
Maurits, |
|
M
|
Maurits author 2/12/2009 |
Sorry i forgot to tell...i am using an MS Access Database. |
|
![]() |
Sergey Kornilov admin 2/12/2009 |
What happens when you use query with Now()? |
|
M
|
Maurits author 2/12/2009 |
I have tried it like you said but with error message: |
|
C
|
careysado 2/12/2009 |
When using MS Access you need to put # around your dates. I have tried it like you said but with error message: MS Access driver: Syntax error (missing operator) in query expression 'Details.AvailDate => now() AND Details.CloseDate =< now()' Here is the SQL: SELECT a b c AvailDate CloseDate FROM Details WHERE Details.AvailDate => now() AND Details.CloseDate =< now() Is there something i am doing wrong? |
|
D
|
dlangham 2/12/2009 |
I have tried it like you said but with error message: MS Access driver: Syntax error (missing operator) in query expression 'Details.AvailDate => now() AND Details.CloseDate =< now()' Here is the SQL: SELECT a b c AvailDate CloseDate FROM Details WHERE Details.AvailDate => now() AND Details.CloseDate =< now() Is there something i am doing wrong?
|
|