wilson1001
Registered User.
- Local time
- Today, 06:50
- Joined
- Mar 24, 2003
- Messages
- 17
Hello
I have created a button on a form that searches one field in a table.
If I wanted to search across all fields in the table and not just agency, how could I change this line to do so?
Or is there a simpler term that will search the entire table.
.RowSource = "Select * FROM tapes WHERE [agency] Like '*" & Me.txtfilter & "*';"
For instance if I wanted to add the fields [tape number] [format] and so on.
I've tried adding them with square brackets here, commas there but every bit of code I create causes syntax errors (I'm learning slowly!)
Thanks
Pete
I have created a button on a form that searches one field in a table.
If I wanted to search across all fields in the table and not just agency, how could I change this line to do so?
Or is there a simpler term that will search the entire table.
.RowSource = "Select * FROM tapes WHERE [agency] Like '*" & Me.txtfilter & "*';"
For instance if I wanted to add the fields [tape number] [format] and so on.
I've tried adding them with square brackets here, commas there but every bit of code I create causes syntax errors (I'm learning slowly!)
Thanks
Pete
