Expression too complex to be evaluated

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Coll

    Expression too complex to be evaluated

    I'm receiving this message when running 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's the background. I have a query. I've figured out through
    cutting and pasting which field is the culprit. So I have a field with
    the following info...

    eecat: Cat([allemp_12312007]![employment_cate gory])

    The function cat esstentially converts the values in the employment
    category field to a numeric using a case statement.

    Then I have this as my criteria for the field...
    >[forms]![frmSwitchboard]![frame42]
    Frame 42 is an option group with two options.

    If I remove the criteria line, it seems to work fine. The baffling
    part for me is that I have the exact same setup in another query (just
    based on a different, but almost identical table) and it's working
    fine. Any ideas?

    Thanks.
  • Coll

    #2
    Re: Expression too complex to be evaluated

    On May 12, 2:43 pm, Coll <col_mcma...@ho tmail.comwrote:
    I'm receiving this message when running 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's the background. I have a query. I've figured out through
    cutting and pasting which field is the culprit. So I have a field with
    the following info...
    >
    eecat: Cat([allemp_12312007]![employment_cate gory])
    >
    The function cat esstentially converts the values in the employment
    category field to a numeric using a case statement.
    >
    Then I have this as my criteria for the field...
    >
    [forms]![frmSwitchboard]![frame42]
    >
    Frame 42 is an option group with two options.
    >
    If I remove the criteria line, it seems to work fine. The baffling
    part for me is that I have the exact same setup in another query (just
    based on a different, but almost identical table) and it's working
    fine. Any ideas?
    >
    Thanks.
    I think I may have figured it out, so no need to respond. Thanks.

    Comment

    Working...