Results 1 to 2 of 2
  1. #1
    mitchmcc is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    St. Petersburg, FL
    Posts
    19

    This expression is typed incorrectly, blah, blah, blah

    I am getting this error on an Access project I inherited, but only when I start up Access. Of course, in this case there is absolutely no indication of *which* query or report Access is unhappy about.



    How can I find this? I have gone through every normal query and do not see any issues, and in fact, can run them. I *suspect* that there may be a query on a report that I have not found yet.

    Is there any log in Access that would tell me exactly what "expression" it is complaining about?

    Update: I now think I know the problem, but am not sure how to solve it. Some list boxes on the form depend on queries which in turn depend on hidden text boxes that have saved data from some other listbox click data. I believe it is when these queries are evaluated that Access is unhappy. I can see where the original developer used the Form load procedure to force a "click" on several of these controls, which presumably is intended to force the hidden text boxes to be set. If they are not set, such as when I run the query manually in the SQL View of the query editor, I get the same errors as in my title.

    So I keep coming back to: is there any way to tell exactly *which* query or control SQL that Access is complaining about?

    Thanks,

    Mitch

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    AFAIK, only through the process of elimination that you are using.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. This expression is typed incorrectly
    By Ray67 in forum Queries
    Replies: 9
    Last Post: 01-03-2012, 12:53 PM
  2. Replies: 3
    Last Post: 12-30-2011, 12:43 PM
  3. Replies: 3
    Last Post: 03-31-2011, 11:07 AM
  4. Get value typed in for a Parameter query
    By terryvanduzee in forum Forms
    Replies: 1
    Last Post: 10-14-2009, 03:01 AM
  5. Replies: 0
    Last Post: 07-19-2009, 12:19 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums