[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ERROR: "This expression is typed incorrectly, or is too complex to be evaluated..."

Posted on 2006-11-28
5
Medium Priority
?
1,802 Views
Last Modified: 2013-12-03
I get the following error when I try to run a query:
---------------------------------------------------------
"This expression is typed incorrectly, or is too complex to be evaluated.  For Example, a numeric expression may contain too many complicated elements.  Try simplifying the expression by assigning parts of the expression to variables."

Here is the query:
--------------------
SELECT [RMA% of Jobs Shipped by Factory].Month, [M-Order% of Jobs Shipped by Factory].[M-Orders], [RMA% of Jobs Shipped by Factory].[Open RMAs] AS [R-Orders], [M-Orders]+[R-Orders] AS [Total Quality Issues], [M-Order% of Jobs Shipped by Factory].Jobs, [Total Quality Issues]/[M-Order% of Jobs Shipped by Factory]!Jobs AS [% Quality Issues]
FROM [M-Order% of Jobs Shipped by Factory] INNER JOIN [RMA% of Jobs Shipped by Factory] ON [M-Order% of Jobs Shipped by Factory].Monthly = [RMA% of Jobs Shipped by Factory].Month;


This query is used by a report.  There are several other queries in the report that now generate this identical error message.  This query used to run just fine.  The report used to run just fine.  

But, what changed was that we moved the mdb file from one server to another.  when that happend, I updated the linked table manager to include the IP address of the location instead of the drive letter.  I thought this may be useful if anyone wanted to access the DB via VPN.  Could this have contributed?

Thanks in advance...
0
Comment
Question by:loscomp
[X]
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
  • 3
  • 2
5 Comments
 
LVL 85
ID: 18031511
Perhaps ... and users should NEVER try to link to an Access database over a VPN, the connection is far too slow and corruption is virtually guarnateed.

If you remove the IP address does the problem go away?
0
 

Author Comment

by:loscomp
ID: 18036172
Well, if you go to the linked table manager, and try to update it to the drive letter instead of the IP address, it will not allow you to do this.  Basically, it checks to see if the table is available, and if it is, then it just says "tables have been updated" or something to that effect.  In other words, as long as it can find the table, it will not let you change the location in the linked table manager.  I, personally, am not using VPN to access this.  I am on the LAN.
0
 
LVL 85
ID: 18036860
That's not accurate, you can change the table location (otherwise once you linked the tables you would never be able to link to a different set of tables).

In the Linked Table Manager check the "Always Prompt for new Location" checkbox below the table listing, then complete the relink process.
0
 

Author Comment

by:loscomp
ID: 18037331
I updated the table locations using drive letters instead of IP, and the report still didn't run correctly.
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 18037426
Try a compact and repair ... if a database which was functioning correctly at one time suddenly starts to exhibit odd behavior, a Compact & Repair is always a good first step. Make a copy of your database first.

If that doesn't solve your problems, try opening the query directly in the Query Design window.

If neither of those work, perhaps you could post the db to ee-stuff.com (use your EE username/password to get in) and let us download and review it. If you do this, make sure to post back in this question with a link to the download.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

649 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