wordpress statistics
  • Today is Monday, February 6, 2012

2 Responses to “About”

  1. Rob says:

    Hello,
    I was trying to learn form one of your tutorials. The page is formatted in such a way that not all of the code that you instruct to copy is available. Can you please get me the rest of the code?
    The page in question is http://msaccesstips.com/2008/03/refresh-dependant-combo-box-contents/ about 1/2way down the page. If you could provide the rest of the code, I would be very greatful.

    Thanks for providing your assistance.

  2. a.p.r.pillai says:

    The full code is given below:

    Private Sub cboCat_Click()
    Dim xsql0 As String, xsql2 As String, xsql As String
    Dim crit As String

    xsql0 = "SELECT DISTINCTROW [ProductID], " & "[ProductName] FROM Products WHERE ("
    xsql2 = " ORDER BY [ProductName];"
    crit = "[CategoryID] = " & cboCat & ") "
    xsql = xsql0 & crit & xsql2

    Me.ProductID.RowSource = xsqlMe.ProductID.Requery
    End Sub

    I suggest you please post your queries on the same page where you faced the problems.

    Thanks.