Problem with set filter to
Posted: Thu May 06, 2010 10:32 pm
Hi,
In the change event of a textbox control, I do something like this:
and here is the procedure "BuscaArticulo"
In this way I get the error like attached image, please take a look.
And if I change it to something like this:
then it works well, the question is why?, what am I doing wrong?.
BTW, It is good to use SET FILTER TO?
Please I await your comments.
Thanks
Best Regards
Javier
In the change event of a textbox control, I do something like this:
Code: Select all
@ 3, 80 TEXTBOX txtDescArt MAXLENGTH 80 WIDTH 180 ON CHANGE { || BuscaArticulo( THIS.VALUE ) }Code: Select all
PROCEDURE BuscaArticulo( cDescArt )
If .NOT. Empty( cDescArt )
Set Filter To cDescArt $ Articulos->f_nomb_art
Else
Set Filter To
Endif
frmArticulos.brwArticulos.REFRESH
RETURNAnd if I change it to something like this:
Code: Select all
Set Filter To frmArticulos.txtDescArt.VALUE $ Articulos->f_nomb_artBTW, It is good to use SET FILTER TO?
Please I await your comments.
Thanks
Best Regards
Javier