Solved

Syntax Error (Missing Operator) in Query Expression

Posted on 2014-01-05
7
479 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
Comment Utility
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
Comment Utility
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
Comment Utility
How do I know which query it is in?
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 84
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now