Results 1 to 14 of 14
  1. #1
    OlBill is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    52

    Enter Parameter Value?

    I keep getting an "Enter Parameter Value" Message when I open a report. If I click "Ok", it opens and shows the correct values. This is the only field I'm having this issue with. I've checked and compared, and I set them all up the same way.
    Help would be appreciated.
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,566
    And you cannot say what that parameter is?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    OlBill is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    52
    Quote Originally Posted by Welshgasman View Post
    And you cannot say what that parameter is?
    I need them all if I understand your question correctly.

  4. #4
    OlBill is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    52
    If I need a certain phase, I go into the query. Other than that, I don't want it to ask. It's not asking me for any of the others. Also, If I put a phase in the parameter box, it gives me back all of them.

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,566
    Why do you have combos in a report?
    It is not like you can select anything else?

    You have a field somewhere called Current Phase NOT CurrentPhase.

    I have been unable to find it yet?, perhaps you might know where you placed it?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #6
    OlBill is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    52
    Quote Originally Posted by Welshgasman View Post
    Why do you have combos in a report?
    It is not like you can select anything else?

    You have a field somewhere called Current Phase NOT CurrentPhase.

    I have been unable to find it yet?, perhaps you might know where you placed it?
    So it shows the names and not the numbers. Is that not the right way to do it?

    I've looked at the table, the form and the query, I don't see it either.

  7. #7
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    It was in the two count text boxes on the upper right; change them to use CurrentPhase instead (and changed the text to the actual numeric values).

    Cheers,
    Attached Files Attached Files
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  8. #8
    OlBill is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    52
    Quote Originally Posted by Gicu View Post
    It was in the two count text boxes on the upper right; change them to use CurrentPhase instead (and changed the text to the actual numeric values).

    Cheers,
    Many thanks!

  9. #9
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,566
    Yes, found it, after I took a break for dinner.

    =Count(IIf([Current Phase]="Meridium",True,Null))

    I would get rid of the combos?, I do not see where they would be useful.?
    I just bring in that data into the query, which is what I did for the CurrentPhase combo, which I amended to a textbox.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  10. #10
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    I actually use combos in the reports for the exact same reason, I don't have to add all the tables to the report's record source, just get the combo display the description instead of the numeric value. I wouldn't say it is right or wrong, just one's preference...

    And in the forms doing the same thing makes a huge difference, many times being the main decider if a form is updatable or not.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  11. #11
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,566
    Quote Originally Posted by Gicu View Post
    I actually use combos in the reports for the exact same reason, I don't have to add all the tables to the report's record source, just get the combo display the description instead of the numeric value. I wouldn't say it is right or wrong, just one's preference...

    And in the forms doing the same thing makes a huge difference, many times being the main decider if a form is updatable or not.

    Cheers,
    I was referring to the fact they do not come up as combos?, but valid point all the same.
    For myself, I have always put the data into the source. I have no real need these days, but I will bear it in mind. I have used buttons though.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  12. #12
    OlBill is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    52
    Thanks fellows. Much appreciated.

  13. #13
    OlBill is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    52
    Quote Originally Posted by Gicu View Post
    I actually use combos in the reports for the exact same reason, I don't have to add all the tables to the report's record source, just get the combo display the description instead of the numeric value. I wouldn't say it is right or wrong, just one's preference...

    And in the forms doing the same thing makes a huge difference, many times being the main decider if a form is updatable or not.

    Cheers,
    I've been thinking about this using combos in the report thing. Is this socially unacceptable? Union queries is the other way, correct? I tried that yesterday and don't see the advantage?

  14. #14
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,566
    Quote Originally Posted by OlBill View Post
    I've been thinking about this using combos in the report thing. Is this socially unacceptable? Union queries is the other way, correct? I tried that yesterday and don't see the advantage?
    No, just that I asscociated combos with interaction with the user.
    @Gicu advised that is saves linking in extra tables at the source.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Replies: 2
    Last Post: 05-26-2022, 01:32 PM
  2. Replies: 2
    Last Post: 07-13-2019, 02:45 PM
  3. Replies: 13
    Last Post: 01-10-2012, 09:56 AM
  4. Enter Parameter Value
    By T001 in forum Access
    Replies: 1
    Last Post: 08-11-2010, 05:43 AM
  5. Enter Parameter Value
    By gutes2 in forum Forms
    Replies: 3
    Last Post: 03-03-2010, 05:03 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