Results 1 to 5 of 5
  1. #1
    jbeets is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Feb 2020
    Posts
    94

    Enter Parameter Value message when opening a form

    Hello,
    In my database I have many forms that are set up the exact same way with the exception of what table the data is being pulled in from. Yesterday everything was working properly but this morning when I went to open the forms I am getting a pop-up box "Enter Parameter Value" and then "Forms!frmPropertyAudits!cboEmployee" - each form I open gives the same message but refers to the correct form in the description. There is one form that is not giving this error message and opens properly.


    Forms Record Source is: SELECT tblPropertyAudits.* FROM tblPropertyAudits WHERE (((tblPropertyAudits.UserName)=[Forms]![frmPropertyAudits]![cboEmployee]));

    If I remove the WHERE portion of the statement, save and then put it back in, close and reopen the form everything works perfectly again. But then I close the database and reopen and we are back to the error message.



    Does anyone know why this is happening and what I need to do to fix it?

    Thank you in advance for any help you can provide!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    the form:
    [Forms]![frmPropertyAudits] MUST be open for the query to work.
    is the form actually open when the query runs?


  3. #3
    jbeets is offline Advanced Beginner
    Windows 10 Access 2013 64bit
    Join Date
    Feb 2020
    Posts
    94
    No it gives me that error when I try to open the form

  4. #4
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    Can you upload a small sample of your db with just a couple dummy records so we could see it? You are not very clear in your explanation, in one point you say
    with the exception of what table the data is being pulled in from
    then
    Forms Record Source is: SELECT tblPropertyAudits.* FROM tblPropertyAudits WHERE (((tblPropertyAudits.UserName)=[Forms]![frmPropertyAudits]![cboEmployee]));
    . Are all the forms based on the tblPropertyAudits (and if yes why do you need multiple identical forms)? Do you manipulate the record source in VBA for any of the forms?

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

  5. #5
    Bullschmidt's Avatar
    Bullschmidt is offline Freelance DB Developer
    Windows 10 Office 365
    Join Date
    Mar 2020
    Location
    USA
    Posts
    64
    Or I wonder if cboEmployee could have been accidentally renamed.

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. Resolving Enter Parameter Value message
    By PeteD in forum Queries
    Replies: 3
    Last Post: 04-04-2019, 07:35 AM
  3. Replies: 7
    Last Post: 11-16-2017, 08:42 PM
  4. Replies: 1
    Last Post: 05-06-2015, 01:23 PM
  5. Replies: 5
    Last Post: 07-04-2011, 12: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