Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Syntax Error (Missing Operator) in Query Expression

Posted on 2014-01-05
7
493 Views
Last Modified: 2014-01-06
I am getting this error.

Syntax Error (Missing Operator) In Query Expression. 'ProblemLogSearch.0[OccurenceDate at Customer]'

Any ideas on what is wrong?
0
Comment
Question by:ggodwin
7 Comments
 
LVL 24

Expert Comment

by:chaau
ID: 39758532
It would help if you provide the whole query. Most likely the '0' before the '[' is not required, like this:
ProblemLogSearch.[OccurenceDate at Customer]

Open in new window

0
 
LVL 21
ID: 39758533
The 0 following the . before the bracket is not valid.

Maybe it should be:

ProblemLogSearch.[OccurenceDate at Customer]

Open in new window

0
 

Author Comment

by:ggodwin
ID: 39758545
How do I know which query it is in?
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 84
ID: 39758941
How do I know which query it is in?
What are you doing when the error occurs? You can generally track down the culprit by following your code.

To do that, set a breakpoint in the code, then "run" the process that causes the error. When Access hits that breakpoint, you'll be thrown into the Code Editor window, and you can use the Debug commands to move through your code.

To set a breakpoint, open the code window and place your cursor in the line of code where you wish to set the breakpoint. Press the F9 key. The line will be highlighted in Red.

When you reach the breakpoint, you can "step through" your code by pressing the F8 key. This moves you one line at a time. When you hit the line that causes the error, you'll see that error message.

Here's a good article about debugging in Access: http://support.microsoft.com/kb/108438
0
 

Author Comment

by:ggodwin
ID: 39759315
My apologies guys I can't even find the query called ProblemLogSearch.
I am going through everything I got.
0
 
LVL 24

Accepted Solution

by:
chaau earned 100 total points
ID: 39760087
ProblemLogSearch is most likely a table. There is a VBA code somewhere that has this error. If your data is not sensitive, or you can remove the data, you can try to upload your database here.
0
 

Author Comment

by:ggodwin
ID: 39761167
I've requested that this question be deleted for the following reason:

The database was missing many items. I found it easier to start over. When I did the problem in this question was resolved.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question