Results 1 to 5 of 5
  1. #1
    MFS is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2009
    Location
    Ohio
    Posts
    235

    When Form Opens I get the following, The expression is typed incorrectly . . . .

    Not sure if I'm starting this thread in the proper location,
    Anyway, prior to or when my form opens I receive the following . . .
    "The expression is typed incorrectly, or is to complex to be evaluated. So on and so on"
    The reason for this is is because there happens to be a graph and a subform that is looking for information that is typed into textboxes after the form is open. (Query Criteria)


    So what are my options to keep this message / information box from appearing?

  2. #2
    hapm is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    197
    Quote Originally Posted by MikSpeck View Post
    The reason for this is is because there happens to be a graph and a subform that is looking for information that is typed into textboxes after the form is open. (Query Criteria)
    So what are my options to keep this message / information box from appearing?
    Than fix the expression you use in that graph/subform. Or post it here so we can help you to fix it.

  3. #3
    atuhacek is offline New
    Windows 8 Access 2010 64bit
    Join Date
    Jun 2014
    Location
    Michigan
    Posts
    61
    You could try disabling them and having a after update event that enables and requery after data is entered.

  4. #4
    MFS is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2009
    Location
    Ohio
    Posts
    235
    Here's what I did,
    I wrote "Enter Data" in each field on one row in my table and then entered a date of 01/01/2001, which has never been used.
    Then entered 01/01/2001 for the Default Value of the 'date' fields text box.
    Now when the form opens the textboxes all say Enter Data with a date showing 01/01/2001.
    I know this is a weird way around this but it works, plus prompts the user to enter data in the textboxes.

  5. #5
    atuhacek is offline New
    Windows 8 Access 2010 64bit
    Join Date
    Jun 2014
    Location
    Michigan
    Posts
    61
    If your going to go that route you need to do all your filtering with vba in the background. either add a button to execute or an event.

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

Similar Threads

  1. Replies: 7
    Last Post: 08-13-2013, 11:03 PM
  2. Replies: 2
    Last Post: 06-07-2012, 02:59 PM
  3. Replies: 1
    Last Post: 05-24-2012, 12:34 PM
  4. This expression is typed incorrectly
    By Ray67 in forum Queries
    Replies: 9
    Last Post: 01-03-2012, 12:53 PM
  5. Replies: 3
    Last Post: 03-31-2011, 11:07 AM

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