code for textbox
hi there i am new for vb 6 i want know code that when i type " A " in textbox Then listbox show all record from database startin with " A " letter i write code it is wrong or not i don't know here is my code Private Sub Text1_Change() If Len(Text1.Text) > 0 Then List1.Visible = True recordadd "companymaster", "companyname", Text1.Text, List1 Else List1.Visible = False End If Public Sub recordadd