When using a small Access database, is it better to return the results of a query and search the result, or to try to filter the results in the query? I tried the latter first, like so:
<cfquery datasource="cpac" name="results">
SELECT Email
FROM Subscribers
WHERE Email='#FORM.Email#'
</cfquery>
and am puzzled by the results when no match is found... the template just exits, and no error message is given. I then tried removing the WHERE filter and was able to use <cfif> to find the lack of a match... but this just seems backwards to me. Is there a better way of doing it?
Thanks