I am having a problem setting up a SQL Query using the "Like" operator.
I need to retrieve a list of rows from an access db using a search for a word in the subject column in the db.
I set up the query as.....
select field1,field2,field3,subject from table where subject like '*data*' order by date
i know there are rows in the table with this data, but it returns 0 rows...
i copy the sql in an access query and it returns all the rows.....
any help???
thanks
I need to retrieve a list of rows from an access db using a search for a word in the subject column in the db.
I set up the query as.....
select field1,field2,field3,subject from table where subject like '*data*' order by date
i know there are rows in the table with this data, but it returns 0 rows...
i copy the sql in an access query and it returns all the rows.....
any help???
thanks