At 16:43 2019-05-14, Ted Roche <[email protected]> wrote:
On Tue, May 14, 2019 at 6:46 PM Gene Wirchenko <[email protected]> wrote:
>
> use cwkf
> set filter to validto>={^2019.01.01}
> count
> browse
>
> I do know that I can do
> f=filter()+" and empty(wfccccd)"
> set filter to &f
> but in the heat of debugging, I would prefer just one statement.
>
> Is there a way to extend a filter in one statement without
> retyping the current filter expression?
>
No, SET FILTER is an ancient command that doesn't seem to accept anything
other than the literal expression inline. Your two-line macro expansion is
likely the fastest and simplest.
I posted about this problem to foxite.com as well. Yuri
Rubinov suggested
EXECSCRIPT("SET FILTER TO "+FILTER()+" and empty(wfccccd)")
which works.
[snip]
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: https://leafe.com/archives/byMID/
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.