|
-
Jul 9th, 1999, 05:52 PM
#1
Thread Starter
Lively Member
Code:
Private Sub txtHomePhone_KeyPress(KeyAscii As Integer)
If KeyAscii = vbKeyReturn Then
KeyAscii = 0
Dim strSQL As String
strSQL = "SELECT *From Customer Where (HomePhone = txtHomePhone)"
rsOrderInfo!LastName = txtLastName
txtLastName.SetFocus
End If
End Sub
I am Trying to find the match to a home phone number that the user enters and show the results.I have never used SQL and would be thankful for help
Thanks
Paul
------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|