Results 1 to 2 of 2
  1. #1
    birth19 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    7

    Urgent! Three Cascading Combo Boxes.....

    I have three different combo boxes and within this order.



    Country = Combo54
    Site_ID = Combo55
    Site Survey Start Date = Combo80

    I have correctly set up the first two that populate the information in the following combo box.

    After making my selection in the last combo box (combo80). It asked for parameter values for different things and now its just doesn't pull any information within the text boxes within my form.

    Can someone tell me if this code is correct. If not please advise!
    Code:
    Private Sub Combo80_AfterUpdate()Dim strwhere As String
    strwhere = "[Country] =" & Me.Combo54 & " and [Site_ID] =" & Me.Combo55 & " and [Site Survey Start Date] =# " & Format(Me.Combo80, "yyyy-mm-dd") & "#"
    Me.Filter = strwhere
    Me.FilterOn = True
    
    End Sub


  2. #2
    TheShabz is offline Court Jester
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2010
    Posts
    1,368
    what are the datatypes for the bound fields of Combo54 and 55

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

Similar Threads

  1. Cascading combo boxes
    By Jackie in forum Access
    Replies: 5
    Last Post: 07-26-2013, 09:07 AM
  2. Sum of Cascading Combo Boxes
    By alonewolf23 in forum Forms
    Replies: 2
    Last Post: 11-20-2011, 02:10 PM
  3. Cascading combo boxes
    By combine21 in forum Forms
    Replies: 3
    Last Post: 12-02-2010, 12:57 PM
  4. Cascading Combo Boxes
    By desireemm1 in forum Programming
    Replies: 1
    Last Post: 10-05-2009, 06:00 AM
  5. Cascading Combo Boxes
    By gjw1012 in forum Access
    Replies: 1
    Last Post: 07-25-2009, 04:59 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