Hi guys:
looking at the forum, I found several ways to filter a table.
some with SET FILTER TO or ORDSCOPE as some faster than SET FILTER
wanting to apply it to the grid unresponsive see, I'm doing something wrong, or need to supplement with some other function???
Code: Select all
Procedure Filtar()
Local cDesc := ''
cDesc := UPPER( InputBox ( "Buscar Artículos", "Buscar : " ) )
cDesc := AllTrim( cDesc )
If .Not. Empty ( cDesc )
PRODUCTOS->( OrdSetFocus( "SCS" ) )
SET FILTER TO cDesc $ Productos->SCS
Stock.Articulos.Refresh
Endif
Return