Results 1 to 7 of 7
  1. #1
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168

    Enter Parameter Value error when calculating percentage


    Just trying to calculate the percentage difference between budget and amount spent.

    I think i have all of the relevant data in the image below

    the problem is when i run the query it pops up with

    "Enter Parameter Value"

    SumofTransAmount

    whats odd is the query executes fine if i just click "Ok" my percent values show up as they should
    also I can enter any (number) value I want int the the message box and it still executes just fine

    not sure if i can explain the query better than the photo but.

    tbl_Transactions has all the transaction data including the linked field "TransAccount" which is really just the category of transaction i.e. food, rent, bills, etc.


    tbl_budgetFY20 just had a $amount for each TransAccount record (which i think means its a one to one relationship, but I cant seem to get access to change the relationship type)


    Click image for larger version. 

Name:	Capture.jpg 
Views:	17 
Size:	169.0 KB 
ID:	42451

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    if you get a ENTER PARAM msg that you didn't set, then either:

    you have a field that doesn't exist,
    you mistyped a field name, (same result as above)
    the field isn't getting created from another query, (Like SUMOFTRANSAMT)

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    I suspect you want:

    Pct: Sum(TransAmount) / BudgetFY20Amount

    and maybe change the Group By to Expression. The field name doesn't yet exist at the point the query is trying to use it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168
    ForumDbFolder.zip

    Im still not getting it to work, anything I try to do with that summed column always kicks back the error

    I even tried to query the query that way the field name would already exist and things just started to get funky when i did that.

    would appreciate if anyone one would be willing to take a look at it

    Thanks


    Click image for larger version. 

Name:	Capture.PNG 
Views:	12 
Size:	67.9 KB 
ID:	42462

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    You must not have tried what I suggested?

    Attached Thumbnails Attached Thumbnails 2020-07-18_10-15-48.png  
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168
    I did!! I promise I did!, I fought with it for an hour this morning before packing it up and asking for a second round of help, (yes, it works now) anyway, thank you for taking the time.

    I am aware I have reached that adolescent stage of understanding this program, meaning I know enough to be really annoying, but I am finally truly loving Access, no longer comparing or trying to understand it though Excel Goggles

    Thanks

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Getting a Enter Parameter Value error message
    By chriswrcg in forum Access
    Replies: 5
    Last Post: 07-25-2019, 09:23 AM
  2. Enter Parameter Value error handling
    By PeakH in forum Access
    Replies: 5
    Last Post: 06-27-2017, 12:25 PM
  3. Enter Parameter Value Error
    By wojosh6 in forum Access
    Replies: 2
    Last Post: 12-15-2015, 09:56 AM
  4. Report 'Enter Parameter Value' Error
    By ndehhh in forum Programming
    Replies: 6
    Last Post: 10-18-2015, 05:18 PM
  5. Enter Parameter Value error
    By bronson_mech in forum Queries
    Replies: 9
    Last Post: 11-30-2013, 05:00 PM

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