auto ComboBox with MSHFlexGrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fary4u
    Contributor
    • Jul 2007
    • 273

    auto ComboBox with MSHFlexGrid

    Hi

    it's my 1st post in VB,
    i'm trying to get data from ComboBox & result with MSHFlexGrid
    it's working fine there is no problem

    they only thing i need is
    Another ComboBox & ( result inside is 5 then ) generate auto
    another ( 5 resulted ) ComboBoxs & get result with MSHFlexGrid.

    Code:
    Private Sub ComboBox_Click()
    rs.Open "select*from tblProduct where Supplier='" & cboSupplier.Text & "'", cn, 3, 3
    If Not (rs.BOF And rs.EOF) Then grdProduct.Enabled = True
    Set grdProduct.DataSource = rs
    Set rs = Nothing
    End Sub
    & MSHFlexGrid
    Code:
    Private Sub grdProduct_Click()
    i = grdProduct.Row
    With grdProduct
        lblItemName.Caption = .TextMatrix(i, 2)
        scAd = .TextMatrix(i, 1)
        itmAd = .TextMatrix(i, 2)
    End With
    If Not scAd = "" Then
        cmdAdd.Enabled = True
    End If
    End Sub
    everything should be automatic

    is any body knows how to do it, thanks in advance for reading & reply
  • Fary4u
    Contributor
    • Jul 2007
    • 273

    #2
    Hi is any body know's how 2 fix this ?

    or any thing like this i can do ?

    from the dropdown it's just print result with MSHFlexGrid but get result from 1st field & make it's bold & then next field with continues with previous result ?

    is any thing i can do ?

    thnks in advance

    Comment

    • smartchap
      New Member
      • Dec 2007
      • 236

      #3
      Originally posted by Fary4u
      Hi is any body know's how 2 fix this ?

      or any thing like this i can do ?

      from the dropdown it's just print result with MSHFlexGrid but get result from 1st field & make it's bold & then next field with continues with previous result ?

      is any thing i can do ?

      thnks in advance
      Dear Fary4u
      Actually I think your question is not clear and that's why not getting any reply. Please make it clear or post ur code with the problem u are getting.

      Comment

      Working...