Anesthaesia
Technical User
I am trying to create a search for a table in a database. The table has about 10 fields. What's the easiest way to create a SELECT query for all these fields?
At the moment I am using :
.."SELECT * FROM tbl WHERE field1 OR field2 OR field3 (etc.) LIKE ""%" & me.text & "%""", cn...
At the moment I am using :
.."SELECT * FROM tbl WHERE field1 OR field2 OR field3 (etc.) LIKE ""%" & me.text & "%""", cn...