Alright, I'm accessing a db though ADO. I have a textbox that sends a query search for whatever's in that textbox
Now how would I display those fields in designated textboxes??Code:Private Sub txtPhone_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then adoCustomer.RecordSource = "SELECT * FROM Customers" & _ "WHERE [Phone Number] = '" & txtPhone.Text & "'" ' txtFname.Text = adoCustomer.Recordset![First Name] End If End Sub




Reply With Quote