Hi
I am using php, ODBC and Filemaker Pro 5.5
Everything works fine except this query, which is making my filemaker db hang. Any idea what's wrong with it?
SELECT id, username, password, accesslevel FROM pw WHERE company='minster' AND (accesslevel=0 OR accesslevel=1 OR accesslevel=2) ORDER BY UPPER(username) ASC
Its something to do with the (accesslevel=0 OR accesslevel=1 OR accesslevel=2) bit but according to what I know of SQL I'm sure that's the right syntax for an SQL query. Or is it...
The field accesslevel is a number field so that's not the trouble.
CHeers for your help,
Ferg