Results 1 to 4 of 4
  1. #1
    hlcarlin is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    12

    Enter Parameter value?


    Hello,

    I am trying to store a primary key value from a drop down box and opening a form that will show the data corresponding to that primary key but when I click on the button I set up, a pop-up box reading Enter Paramater Value appears and the link between forms does not seem to function...

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Please show us some code.
    Often in a drop down you show the data,and when you select it, you get the PK or some numeric Id value.

  3. #3
    hlcarlin is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    12
    Im sorry I know absolutely nothing as to VBA programming... I am trying to complete this using only the access interface.

    I will try and explain what I have done in order to give you a better understanding of my situation:

    Tables:

    1) Menu
    --Field: PK_Menu (This is the primary key)
    --Field: StoreParticipantPK

    2) Participants
    --Field: PK_Participants (This is the primary key)
    --Field: ParticipantNumber
    --Field: ParticipantName

    Forms:

    1) Main Menu (this form is linked to the table: Menu)
    On this form, I have created the drop-down box using the wizard, linked to the table Participants, showing the ParticipantName values and storing the PK_Participants value in the Menu table under StoreParticipantPK.

    I have also set up a button used to open the form SeeParticipantInfo (see below). This button links the value of the DropDown box to the PK_Participants field in the Participants table and I have selected the Open to a Specific Record option.

    2)SeeParticipantInfo (this form is linked to the table: Participants)
    On this form, I have two text boxes, one for the ParticipantNumber field and the other for the ParticipantName field.


    The error occurs when I click on the button used to open the SeeParticipantInfo form.

    Thank you

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Are you using drop downs at the Table level? I'm not clear how you created the dropdown.

    see this http://access.mvps.org/access/lookupfields.htm

    Did you use the Form wizard and your table name to create the form?

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

Similar Threads

  1. enter parameter value
    By alliandrina in forum Access
    Replies: 1
    Last Post: 06-05-2011, 01:02 AM
  2. Enter Parameter Value Problem
    By batowl in forum Queries
    Replies: 4
    Last Post: 12-22-2010, 01:37 PM
  3. Enter Parameter Value
    By T001 in forum Access
    Replies: 1
    Last Post: 08-11-2010, 05:43 AM
  4. Enter Parameter Value
    By gutes2 in forum Forms
    Replies: 3
    Last Post: 03-03-2010, 05:03 PM
  5. Enter Parameter Value
    By plesser in forum Access
    Replies: 1
    Last Post: 11-08-2008, 10:27 AM

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