Results 1 to 2 of 2
  1. #1
    GraemeG is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Feb 2011
    Posts
    152

    Combo Box: Value List limited from selection from another combo box

    Hi,

    I have attached the table below from which I require assistance on combo boxes.


    The first combo box on the form selects the SOR shortdesc - I then want the second combo box only to show the SOR descriptions which relate to the SOR shortdesc selected in the first combo box.
    Is this possible?

    Thanks
    SOR code SOR shortdesc SOR description
    CA9613 BOLT BOLT:RENEW FIRE SECURITY BOLT.
    CA9615 BOLT BOLT:RENEW GLASS TO SEC.BOLT
    CA9619 BOLT BOLT:REMOVE; EASE AND REFIX.
    CA9121 CATCH CATCH:RENEW BRASS CASEMENT.
    CA9129 CATCH CATCH:RENEW A.A CASEMENT.
    CA9137 CATCH CATCH:RENEW ZINC ALLOY CASEMENT.
    CA9161 CATCH CATCH:RENEW LOCKABLE CASEMENT
    Last edited by GraemeG; 03-27-2012 at 10:21 AM.

  2. #2
    GraemeG is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Feb 2011
    Posts
    152
    I have this but the second combo box is always blank no matter what I select
    from the first box.

    First Combo
    SELECT [SORV4_BR_DPC].[SOR
    shortdesc] FROM SORV4_BR_DPC GROUP BY [SORV4_BR_DPC].[SOR shortdesc];

    Private Sub
    cboFrontLoungeDPC_ShortDesc_AfterUpdate()
    Me.cboFrontLoungeDPC_Description = vbNullString
    Me.cboFrontLoungeDPC_Description.Requery
    End
    Sub


    Second Combo
    SELECT
    SORV4_BR_DPC.[SOR description] FROM SORV4_BR_DPC WHERE (((SORV4_BR_DPC.[SOR
    shortdesc])=[Forms]![subMOT_FrontLounge]![cboFrontLounge_DPC_ShortDesc])) ORDER
    BY SORV4_BR_DPC.[SOR description];

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

Similar Threads

  1. Replies: 1
    Last Post: 02-03-2012, 03:51 PM
  2. Replies: 33
    Last Post: 01-13-2012, 07:44 AM
  3. Filter List box from combo box selection
    By thart21 in forum Forms
    Replies: 3
    Last Post: 11-09-2011, 12:00 PM
  4. Replies: 4
    Last Post: 04-05-2011, 06:12 PM
  5. Checking List Box Value with Combo box selection
    By empyrean in forum Programming
    Replies: 1
    Last Post: 10-23-2009, 06:01 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