[quote="luiz53":3t7by54e]how to make REQUERY with pagination
ors := ::oSetup:oServer:RowSet("Select * from produtos ? order by descricao",{"where inactive = 'N'"}, 50) // pagination with 50 **** ERRO DON´T WORK... ***
ors:Requery("where name like '%PINAPPLE% '") // WITH PAGINATION 50
ors:Requery( "where Inactive = 'S' ") // WITH PAGINATION 50[/quote:3t7by54e]
oRs := oCn:RowSet( "select * from productos ? order by descricao limit ?", { "where inactive = 'N'", 50 } )
oRs:Requery( "where name like '%PINEAPPLE%'", 100 } )
Except for large tables, it is desirable to avoid where clause and instead use setfilter()
↧