Issue 18757 - Query Designer does not accept BETWEEN for a date range
Summary: Query Designer does not accept BETWEEN for a date range
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Windows XP
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 2.4
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
: 18836 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-08-28 02:13 UTC by jeffos2
Modified: 2008-02-18 01:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jeffos2 2003-08-28 02:13:47 UTC
This problem was originaly mentioned as an aside in Issue 18594
to which the responder requested a separate issue be opened.

So, with refence to 18594, here's the equivlent query using BETWEEN.
SELECT `POSTEDDATE`, `PAYEE`, `BANKTRACE`, `TRANDATE`, `VENDTRACE`, `AMOUNT`, 
`MEMO` FROM `CHECKS` `CHECKS`
WHERE `POSTEDDATE` BETWEEN {D '2003-07-01'} AND {D '2003-07-31'}
ORDER BY `POSTEDDATE` ASC

This gives an error box saying
"parse error, expecting 'BETWEEN' or 'IN' or 'SQL_TOKEN_LIKE'"

This query does run correctly if "Run SQL command directly" is used.
Comment 1 marc.neumann 2003-10-09 10:56:05 UTC
Hi,

is this also fixed in CWS OJ07?

Bye Marc

Comment 2 hans_werner67 2004-02-02 12:23:25 UTC
change subcomponent to 'none'
Comment 3 marc.neumann 2004-04-28 12:49:26 UTC
Hi,

according to http://development.openoffice.org/releases/Target_Milestone.html
retarget to OOo_Later

Bye Marc
Comment 4 ocke.janssen 2007-08-23 09:44:58 UTC
Doesn't occur anymore in dba24b.
Comment 5 ocke.janssen 2007-08-23 09:46:24 UTC
*** Issue 18836 has been marked as a duplicate of this issue. ***
Comment 6 ocke.janssen 2007-10-02 09:59:52 UTC
Please verify. Thanks.
Comment 7 marc.neumann 2007-10-10 14:32:28 UTC
verified in CWS dba24b

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fdba24b
Comment 8 marc.neumann 2007-10-16 10:40:11 UTC
change target to 2.4 because issue will be fixed in OpenOffice.org 2.4
Comment 9 drewjensen.inbox 2008-02-18 01:55:45 UTC
tested w/00H680_m7 ( Build: 9272 )

CLOSING