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