Hi All,
We're looking to use two potential values to filter on a DB table in Forms. Through the lookup rules there is no way to set a lookup to filer on "Value A" OR "Value B". Effectively we are looking to run the following SQL command:
SELECT * FROM table WHERE column = 'Value A' OR column = 'Value B'
I've tried "tricking" it by setting a field to:
Value A' OR column = 'Value B
Hoping that it would just wrap the statement with apostrophes, but apparently it's a bit smarter than that
Has anyone got any ideas on how to acheive this? I'd prefer not to use a stored procedure if possible but at the moment I can't see any other way really.
Cheers! Dan