Hello:
I was looking over a program preparatory to an enhancement. I
inserted a debugging browse statement in a branch that I was going to
add some error reporting to. The branch, oddly, did not get
executed. Dig, dig ...
use cwkf
set filter to validto>={^2019.01.01}
count
browse
Lots of rows. Oh, the filter needs to be extended.
set filter to filter()+" and empty(wfccccd)"
VFP: Nice try. (Actually, "Command contains unrecognized phrase/keyword."
set filter to (filter()+" and empty(wfccccd)")
VFP: Don't be silly. (Same error.)
Putting an avaluate() around it does not work either. ("Syntax error.")
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?
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.