Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42

    Parameter Value message box error

    I am using a form with an unbound textbox to search a table (Price List) for a specific product number (PvNum). The search process is initiated with a button that opens a subform with fields populated with data from that record. I am receiving a message box asking for a parameter value that if populated with the product number activates the subform with the associated data for that product number.



    I have investigated what I can to find the cause but have not been able to locate what is triggering the error.

    I have an identical search form and subform for another value that functions without an error.

    I want to attach the file for inspection but unsure as to how. The form name is "Product Variant Search"

    Hopefully someone can shed some light on my challenge.

    Thank you

    Steven
    Last edited by streub; 03-10-2019 at 01:04 PM.

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    I want to attach the file for inspection but unsure as to how.
    click on the 'go advanced' button at the bottom of the quick reply section, scroll down and select 'manage attachments'

    The cause of your problem is either a form the query references is not open or you have spelt or referenced it incorrectly (in the query designer you can use the expression builder to navigate to the required control)

  3. #3
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42
    I have attempted to download the file three times but nothing.

    I do not recall making an actual query for either search forms. Are there such things as hidden queries?

    Steven

  4. #4
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    Are there such things as hidden queries?
    Not as such, only ones created in VBA. You can also hide a query or any object by right clicking on it and selecting hide

    The search process is initiated with a button that opens a subform
    look at the recordsource for this subform

    I have attempted to download the file three times but nothing.
    I think you mean upload, not download.

    1. Go Advanced
    2. Manage Attachments
    3. Add Files- browse and select
    4. once the path is displayed, click upload
    Click image for larger version. 

Name:	Capture.JPG 
Views:	40 
Size:	60.4 KB 
ID:	37781

  5. #5
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42
    The recordsource for the subform is correct and the field name (PvNum) is spelled correctly.

    Based upon your example of uploading it appears only the JPG designation is compatible. I was hoping I could send the complete Access file.

    Thank you

    Steven

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Yes, Access files can be attached (as well as Excel and others). Will probably have to zip the file. 2MB zip allowed. Use Windows Compression.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42
    Nice!!!

    Thank you

    Steven

  8. #8
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,791
    try this for attaching files
    https://www.accessforums.net/showthread.php?t=70301

    If your field is on a subform, likely the subform reference isn't correct. You can usually determine this by opening the subform directly (as long as it doesn't rely on some other object that isn't open). If the subform opens without prompting, the issue is usually a reference to the subform that's made from the main form, regardless if that reference is something on the form or in the query that's behind it.

    referencing CONTROLS on subform:
    [Forms]![Main form name]![subform control name].[Form]![control name on subform]
    NOTE: subformControlName may not be the same name as the subform itself
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  9. #9
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42
    Thank you for the reply.

    The field (unbound textbox) is on the primary form. I did reference the control as you have explained but did not have any success; however, I will try it again exactly as you have suggested.

    Steven

  10. #10
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42
    Regardless of what I try I cannot get the file to upload.

    You can access the file at a OneDrive account

    Logon: troutwater
    Password: One1253$

  11. #11
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Don't we need a URL? I tried that logon and it is ignored, just opens my own account.

    Why does forum upload fail? The instructions provided are quite explicit.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  12. #12
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    you have compacted the db and zipped it?

  13. #13
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42
    Cleaned, compacted and zipped.

  14. #14
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42

  15. #15
    streub is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    42
    https://onedrive.live.com/?auth=1&id...99B9B88313907C

    It is not your instructions. I have done it in the past but with JPG files. It has to this damned laptop.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Parameter Value Error Message
    By qwerty in forum Access
    Replies: 4
    Last Post: 11-10-2018, 02:28 PM
  2. Replies: 7
    Last Post: 03-17-2016, 05:53 PM
  3. Replies: 15
    Last Post: 11-01-2013, 03:24 PM
  4. Replies: 2
    Last Post: 04-04-2013, 03:13 PM
  5. Unwanted parameter message
    By Andrea in forum Reports
    Replies: 1
    Last Post: 09-27-2012, 03:53 PM

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