|
-
Aug 17th, 1999, 04:50 AM
#1
Thread Starter
Lively Member
Private Sub Command1_Click()
Dim strSQL As String
strSQL = "SELECT * FROM SearchByphoneNumber " & _
"WHERE (HomePhone = """ & varHomePhone & """);"
Me.Data1.RecordSource = strSQL
Me.Data1.Refresh
varHomePhone.SelStart = 0
varHomePhone.SelLength = Len(varHomePhone.Text)
End Sub
When I use this code i get an error " Run-Time error '3061' "
Too Few paremeters , expected 1
Thanks for your help
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
|