I have an access table with 20 fields with a VB6 connection. Is there a way to search all fields in the table for an item of text without referencing each field individually?
I am trying to avoid the following...
Select * from <tablename> where field1 ='text' or field2 = 'text' or field3='text'....etc
thanks
vb6 sql search whole table
Page 1 of 12 Replies - 382 Views - Last Post: 30 November 2012 - 08:00 AM
Replies To: vb6 sql search whole table
#2
Re: vb6 sql search whole table
Posted 27 November 2012 - 07:54 AM
You might be better asking a mod to move this to the database forum, as I think you're looking more at a SQL question than a VB one.
#3
Re: vb6 sql search whole table
Posted 30 November 2012 - 08:00 AM
Please avoid opening duplicate topics. If you needed this moved click the 'report' button and type in where you need a mod to move it.
Page 1 of 1
|
|

New Topic/Question
This topic is locked



MultiQuote








|