Sample Codes Here:Watch video below
Private Sub cmdSH_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from tblsampledb where FirstName='" & txtFN.Text & "'", con, adOpenDynamic
If Not rs.EOF Then
txtMN.Text = rs!MiddleName
txtLN.Text = rs!LastName
txtFN.SetFocus
Else
txtMN.Text = ""
txtLN.Text = ""
txtFN.SetFocus
Exit Sub
End If
End Sub
Blog Post
Biyernes, Marso 6, 2015
Visual Basic 6.0 : SQL Search
Mga etiketa:
YouTube Video Tutorial
Mag-subscribe sa:
I-post ang Mga Komento (Atom)
0 (mga) komento:
Mag-post ng isang Komento