Hi All,
I have statement like this:
SELECT * FROM table1 WHERE lang="English" OR lang="French" OR lang="Spanish"
AND title LIKE '%" & variable & "%' ORDER BY Lang, Sort1byMan, Product,
Sort2byCurrent, Sort3byLevel
What I'd like out of this is:
everything that contains the text from 'variable' from table1 in French,
Spanish and English.
What I get:
everything from table1 in French and English, and everything that contains
the text from 'variable' only from Spanish.
How could I "fix" my sql statement to do this?
Ivo
"If it's stupid but works, it isn't stupid."
I have statement like this:
SELECT * FROM table1 WHERE lang="English" OR lang="French" OR lang="Spanish"
AND title LIKE '%" & variable & "%' ORDER BY Lang, Sort1byMan, Product,
Sort2byCurrent, Sort3byLevel
What I'd like out of this is:
everything that contains the text from 'variable' from table1 in French,
Spanish and English.
What I get:
everything from table1 in French and English, and everything that contains
the text from 'variable' only from Spanish.
How could I "fix" my sql statement to do this?
Ivo
"If it's stupid but works, it isn't stupid."