Page 1 of 1
OR in Default Filter On Browse?
Posted: Mon Mar 07, 2016 4:42 pm
by armstrs01
Is there a way to apply an AND or OR filter to the Default Filter for Browse Screen of a button object?
For example, I want to look for ever occurrence of a BIN number in a column if it begins with 08. OR 12.
Is it possible to filter on 08. OR 12.?
Thanks.
Re: OR in Default Filter On Browse?
Posted: Thu Mar 17, 2016 3:03 am
by admin
armstrs01,
How many possible options could there be?
Steven
Re: OR in Default Filter On Browse?
Posted: Mon Mar 21, 2016 5:15 pm
by armstrs01
Steven,
I just need to be able to do a filter in say, A OR B - or X AND Y...
Nothing too complicated. I don't need to do (X AND Y) OR (A AND B)...etc.
Many thanks,
Simon.
Re: OR in Default Filter On Browse?
Posted: Thu Mar 31, 2016 12:03 am
by admin
Simon,
No there isn't. You'll need to create a column where both = x and then search for x.
Steven
Re: OR in Default Filter On Browse?
Posted: Sat Apr 16, 2016 7:14 am
by mobilemcclintic
Maybe I'm not reading the request correctly, but if this is a default filter set at the button level (Like it wouldn't change), wouldn't it be easy enough to create a clone of the form and change the SQL it contains, and then have it open up the original form to edit?
Normal button: Form 1 (show all records)
08 OR 12 button: Form 2, select blah blah where A like '08%' or A like '12%' , Edit using Form 1
08 AND 12 button: Form 3, select blah blah where A like '08%' and B like '12%' , Edit using Form 1
Edited to remove 08 or 12 with 08 and 12 at once (redundant)
Re: OR in Default Filter On Browse?
Posted: Thu May 05, 2016 7:57 am
by admin
mobilemcclintic,
A Browse Form filters ANDS not ORS.
Steven