Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please Help Expression is going crazy

Status
Not open for further replies.

jdwm2310

Technical User
Jul 26, 2001
396
US
I have a query that works great in my other database however I copied it into my current database and it gives me an error stating that "the expression is typed incorrectly, or is it too complex to be evaluated."
Here is my expression:

BusinessUnit is a module I created.

Field:Business Unit: BusinessUnit([CostCenter])
Table: Blank
Total: Expression
Sort: Blank
Short: Blank
Criteria: [Enter Business Unit:]
 
Try to compile and save all modules. And check for missing references. And if you have Recordset objects, fully qualify them (prefix them with DAO. or ADODB.)

Just guessing...
[pipe]
Daniel Vlas
Systems Consultant
danvlas@yahoo.com
 
Well when I removed the Criteria. It works but I want my users to specify a business unit. How could i go about doing that??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top