Results 1 to 4 of 4
  1. #1
    molly13 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Oct 2014
    Posts
    4

    Unwanted "Enter Parameter Value" Box

    Hi,



    I have a query with several different columns. One Column, CodeNum is built based on the values in Expr4. When I try to set a criteria for CodeNum (Like "8*"), and I run the query, I get a popup for Expr4 ("Enter Parameter Value | Expr4). Is there any way to correct for this problem? I want to get all values of Expr4 when CodeNum starts with an 8.

    CodeNum is built as follows: JCC: Left([Expr4],InStr([Expr4],"/")-1)

    Thank you very much!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    1st, rename the label EXPR4 to something usefull., like MyValue. (just type over it)

    2. If EXPR4 is a calc, EXPR4: [radius]*3.14, then you CANT use expr4 here in the same query. You must use the calc again,at query time, EXPR4 doesnt exist yet, so Access is asking for an answer.
    OR
    make a query FROM THAT query ,THEN you can use EXPR4.

  3. #3
    molly13 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Oct 2014
    Posts
    4
    Hi - thank you very much, that is very helpful.

    I have now nested the calculation for "EXPR4" into the JCC field (so that EXPR4 doesn't exist anymore), but I get the error "The text is too long to be edited." Is there a way around this that wouldn't involve creating another query (as I would need several different queries, not just one additional)?

    Thank you.

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Hmm. Not sure on that. You may have to alter the calc.
    Can you put more calcs in the 1st query without the need for the 2nd. (sorta put all calcs in 1 line.)

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

Similar Threads

  1. Replies: 8
    Last Post: 07-15-2014, 05:56 PM
  2. "Enter Parameter Value" for in Access 2010
    By rooflesh in forum Access
    Replies: 5
    Last Post: 01-28-2012, 12:49 PM
  3. Replies: 1
    Last Post: 08-02-2011, 07:21 AM
  4. Replies: 7
    Last Post: 01-23-2011, 12:32 PM
  5. Replies: 4
    Last Post: 01-06-2011, 10:52 AM

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