In VFP5, in the command window, I could type:
SET FILTER TO field1=value1 AND field2=value2
and the filter works as it should. However, if I put the same code in Valid method of a textbox on a form I get an error:
"Variable value2 not found". The variable does exist 'cause I set this just prior to the SET FILTER command. Is this a bug or something? It only works if I SET FILTER TO only one condition.
I don't use SET FILTER very often (if at all) but for this instance but it should work nonetheless. Pretty weird.
It's "my" world. You're just living in it.