I have this query which works OK unless the vars; website and loaded site are similar.
In the 'Website' field of the 'Files' table, I have similar entries for 2 distinct websites, one is 'webforms' and the other is 'webforms2u'.
The problem is, the files for both are selected when I search for 'webforms.
I have tried SET EXACT both on and off but it makes no difference - what am I doing wrong?
Keith
Code:
SELECT WEBSITE,FILENAME,LOCAL,REMOTE FROM FILES WHERE ALLTRIM(WEBSITE) = ALLTRIM(LOADEDSITE) ORDER BY FILENAME INTO ARRAY RESULTS
In the 'Website' field of the 'Files' table, I have similar entries for 2 distinct websites, one is 'webforms' and the other is 'webforms2u'.
The problem is, the files for both are selected when I search for 'webforms.
I have tried SET EXACT both on and off but it makes no difference - what am I doing wrong?
Keith