|
-
Apr 27th, 2000, 09:13 PM
#1
Here is the code i'm using, and were it is located. Can someone help me out and tell me why this does not search and display the record it found .
Private Sub cmbCompName_Change()
Dim strSQL As String
'searches for the current record that is to be updated
strSQL = "Select * From tblCompany " & _
"Where cCompName Like '" & cmbCompName.Text & "'"
DatComp.RecordSource = strSQL
DatComp.Refresh
End Sub
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
|