rio
Registered User.
- Local time
- Today, 23:45
- Joined
- Jun 3, 2008
- Messages
- 124
Hi. I need some help to solve my problem. Error with this code
Private Sub txtsearchbox_Change()
Me.[stafflist].RowSource = "SELECT [txttblname].ID, [txttblname].Name, [txttblname].Address, [txttblname].Age" & _
"FROM [txttblname]" & _
"WHERE ((([txttblname].ID) Like " * " & [Forms]![SearchStaff]![txtsearchbox] & " * "));"
End Sub
* I also attach the db..
Private Sub txtsearchbox_Change()
Me.[stafflist].RowSource = "SELECT [txttblname].ID, [txttblname].Name, [txttblname].Address, [txttblname].Age" & _
"FROM [txttblname]" & _
"WHERE ((([txttblname].ID) Like " * " & [Forms]![SearchStaff]![txtsearchbox] & " * "));"
End Sub
* I also attach the db..