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