Smart idea! You are just giving me good ideas on how to use that portal filtering.
Ok. Maybe it was not such a crazy idea.
Nice idea. I had to read it a couple of times only because of the name of the Global::DATE field... I kept thinking an actual date would be in there somehow. I mentally renamed it to Global::DATE_EVAL
I saw this as another way to do dynamic portal filtering. The text and the value can both be calculated so the field that is filtered and what it is filtered against can change without needing to actually access the portal setup. Might do some good for giving a client some ability to customize the portal filtering with giving them access to layout mode.
why would this be "abstracted"? A portal filter can be any expression that can be evaluated (including variables!)
... and more if you search for 'filemaker dynamic portals' (several links on this forum!)
some of these "tricks" have been used for dynamic portal sorting as well.
Not truly abstracted. I figured I could move this same process to variables, I do not have a use for it right now.
One of my goals was to provide a way to work with filtering without needing to enter into the actual portal setup. I guess this has been done in some form before by others. I did some searching and did not find much like this when I did.
I like where it is going and I will keep playing with it.