I have a requirement where I have a search box on the vf page. Based on the search string I am returning accounts to the page. I have written a query which searches for account name based on the search string. But I want to compare the search string with all the fields in the object. Is there any possible way of achieving this...
Here is my Query...
String searchquery='Select Id,Name FROM Account WHERE Name LIKE \'%'+searchString+'%\'';
Thanks in Advance...