Connecting Tech Pros Worldwide Forums | Help | Site Map

Syntax Error Missing Operator

access baby
Guest
 
Posts: n/a
#1: Apr 19 '07
I hava a date parameter filter query but it shows error Syntax error
missing operator in query experssion


can some one please help where am i going wrong in expression

SELECT copyorderdtl * from copyorderdtl where(((cr_created_date)is
Null) and ((cr_statusupdt_date)=[Enter a Date])) OR
(((cr_created_date) is not null and (cr_statusupdt_Date)=[Enter A
Date]));


engles@ridesoft.com
Guest
 
Posts: n/a
#2: Apr 19 '07

re: Syntax Error Missing Operator


On Apr 19, 11:26 am, access baby <nishkr...@gmail.comwrote:
Quote:
I hava a date parameter filter query but it shows error Syntax error
missing operator in query experssion
>
can some one please help where am i going wrong in expression
>
SELECT copyorderdtl * from copyorderdtl where(((cr_created_date)is
Null) and ((cr_statusupdt_date)=[Enter a Date])) OR
(((cr_created_date) is not null and (cr_statusupdt_Date)=[Enter A
Date]));
Right off the top, you are missing a dot. It should start as SELECT
copyorderdtl.* from ...

-- Larry Engles

access baby
Guest
 
Posts: n/a
#3: Apr 20 '07

re: Syntax Error Missing Operator


On Apr 19, 1:59 pm, eng...@ridesoft.com wrote:
Quote:
On Apr 19, 11:26 am, access baby <nishkr...@gmail.comwrote:
>
Quote:
I hava a date parameter filter query but it shows error Syntax error
missing operator in query experssion
>
Quote:
can some one please help where am i going wrong in expression
>
Quote:
SELECT copyorderdtl * from copyorderdtl where(((cr_created_date)is
Null) and ((cr_statusupdt_date)=[Enter a Date])) OR
(((cr_created_date) is not null and (cr_statusupdt_Date)=[Enter A
Date]));
>
Right off the top, you are missing a dot. It should start as SELECT
copyorderdtl.* from ...
>
-- Larry Engles
Thanks Larry

engles@ridesoft.com
Guest
 
Posts: n/a
#4: Apr 20 '07

re: Syntax Error Missing Operator


On Apr 20, 7:23 am, access baby <nishkr...@gmail.comwrote:
Quote:
On Apr 19, 1:59 pm, eng...@ridesoft.com wrote:
>
>
>
>
>
Quote:
On Apr 19, 11:26 am, access baby <nishkr...@gmail.comwrote:
>
Quote:
Quote:
I hava a date parameter filter query but it shows error Syntax error
missing operator in query experssion
>
Quote:
Quote:
can some one please help where am i going wrong in expression
>
Quote:
Quote:
SELECT copyorderdtl * from copyorderdtl where(((cr_created_date)is
Null) and ((cr_statusupdt_date)=[Enter a Date])) OR
(((cr_created_date) is not null and (cr_statusupdt_Date)=[Enter A
Date]));
>
Quote:
Right off the top, you are missing a dot. It should start as SELECT
copyorderdtl.* from ...
>
Quote:
-- Larry Engles
>
Thanks Larry- Hide quoted text -
>
- Show quoted text -
The way to solve these sorts of problems is to build the query using
query builder, then take a look at the generated SQL. I would have
shown you how to build this statement.


-- Larry Engles
Access developer since day 1 of Access 1.0


Closed Thread