473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Syntax Error Missing Operator

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]));

Apr 19 '07 #1
3 4914
On Apr 19, 11:26 am, access baby <nishkr...@gmail.comwrote:
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

Apr 19 '07 #2
On Apr 19, 1:59 pm, eng...@ridesoft.com wrote:
On Apr 19, 11:26 am, access baby <nishkr...@gmail.comwrote:
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
Thanks Larry

Apr 20 '07 #3
On Apr 20, 7:23 am, access baby <nishkr...@gmail.comwrote:
On Apr 19, 1:59 pm, eng...@ridesoft.com wrote:


On Apr 19, 11:26 am, access baby <nishkr...@gmail.comwrote:
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

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
Apr 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

29
by: shank | last post by:
1) I'm getting this error: Syntax error (missing operator) in query expression on the below statement. Can I get some advice. 2) I searched ASPFAQ and came up blank. Where can find the "rules"...
4
by: dcarson | last post by:
I've read about this error in several other discussions, but still can't seem to pinpoint the problem with my code. Everything seemed to be working fine for some time, but it now tends to bomb out...
1
by: Alan Murrell | last post by:
Hello, One of our web hosting clients is getting the following error when someone tried to log in form their login page: --- ODBC ERROR --- Microsoft OLE DB Provider for ODBC Drivers error...
3
by: kufre | last post by:
I need some fresh eyes to take a look at this code for me and let me know what it is I'm doing wrong because I keep getting all kinds of error message with this code. I've had several people help...
4
by: khan | last post by:
getting, error, 3075 Syntax Error (Missing Operator) in query expression '8WHERE .=1' Dim TotalQty As Integer TotalQty = DLookup("", "", "=" & Forms!!)
24
by: deko | last post by:
I'm trying to log error messages and sometimes (no telling when or where) the message contains a string with double quotes. Is there a way get the query to insert the string with the double...
7
by: John Øllgård Jensen | last post by:
Hi Using MS Asccess 2000: In a query I'm trying to create a new field with following expression: FilmDate: Left(,4) The field "FilmNo" is another text field in the query. This is...
4
by: thebarefootnation | last post by:
Hi I have the following error message "Syntax Error (missing operator) in query expression" occurring when I am trying to update combo box within a form. My code is: Dim strSQL As String
3
by: willo | last post by:
Greetings all, I have run into a small problem with my understanding of some C++ language syntax, and seek some clarification. Below is a condensed version of some code I'm having difficulty...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.