select count(*) as records from (select * from tblti_productos where idcategoria = and activa=1 order by nombre asc) execPage