i need help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nmn
    New Member
    • Feb 2007
    • 5

    i need help

    i would like to ask something.. perhaps it is very easy to do..

    i have a data1 i have a dbcombo1 and a label1 how can i get the needed record to label1 from an access table ..i am going to chhose the needed record by dbcombo1.. ofcourde there are 2 or more fields in the table..

    thanx
  • balid
    New Member
    • Feb 2007
    • 18

    #2
    Originally posted by nmn
    i would like to ask something.. perhaps it is very easy to do..

    i have a data1 i have a dbcombo1 and a label1 how can i get the needed record to label1 from an access table ..i am going to chhose the needed record by dbcombo1.. ofcourde there are 2 or more fields in the table..

    thanx
    Have you loaded the records into the combo box?

    If the records are already in the combo box then may be something like:
    Code:
    Private Sub Combo1_Change()    [or _Click()]
       Label1.Caption = Combo1.Text
    End Sub
    might work.

    But to load records from a table into the combo box is another story.

    Comment

    Working...