Results 1 to 5 of 5
  1. #1
    LClarke is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    4

    Using a combo box to open form and locate record.

    I have a combo box in a welcome screen that displays records, when you click on a record I want it to be able to open a different form with the details of that record that was selected displayed. Any help? Below is a SG of the combo box.

    Click image for larger version. 

Name:	Screen Shot 2016-07-01 at 11.37.29.png 
Views:	12 
Size:	30.9 KB 
ID:	25087

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    In a table put 2 columns: caption, form.
    User sees the caption column, but the click will open the form.
    if cboBox is bound to form column, then:
    docmd openform cboBox

  3. #3
    LClarke is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    4
    My combo box is already linked to a form of which the records are being selected from, as you can see there are two records on that form, when one of those is clicked, it then will open the form with the details of the record in.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Based on your posts #1 and #3, I understand that

    OPEN EVENT LIST when clicked, will display the

    Open Event Details combo.

    Then, if you select a row in the combo.you want to open another Form using the value you just selected in the combo.

    So in the afterUpdate event of the combo, open your new form and use the selected value for whatever purpose you need.

    If I have misunderstood your post, please clarify with a sample of the before and after data you are trying to display in your Form.

  5. #5
    LClarke is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    4
    I have two forms, one is a split form seen below which is opened by clicking the button
    Click image for larger version. 

Name:	Screen Shot 2016-07-01 at 13.50.11.jpg 
Views:	11 
Size:	27.2 KB 
ID:	25089
    And the combo is always there and opens a details record form seen below
    Click image for larger version. 

Name:	Screen Shot 2016-07-01 at 13.50.27.png 
Views:	11 
Size:	89.2 KB 
ID:	25088
    I have got it so that by clicking the record opens the form however it doesn't go to the record in the combo box I click, it goes to the first record in the table, how do I make it go to the record I click in the combo box?

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

Similar Threads

  1. Open form with combo box value set to last record
    By joecamel9166 in forum Access
    Replies: 7
    Last Post: 03-30-2016, 01:41 PM
  2. Replies: 22
    Last Post: 05-10-2014, 04:43 PM
  3. Replies: 3
    Last Post: 08-26-2012, 10:04 PM
  4. Replies: 1
    Last Post: 05-03-2012, 02:25 PM
  5. Open form and locate it on the bottom
    By Dominaz in forum Forms
    Replies: 4
    Last Post: 11-17-2011, 08: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