Solved

Syntax Error (Missing Operator) in Query Expression

Posted on 2014-01-05
7
491 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Backup Your Microsoft Windows Server®

Backup 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.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

786 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