Consulta sobre XBROWSE

Consulta sobre XBROWSE

Postby remtec » Thu May 27, 2021 3:30 pm

Hola Amigos

Tengo un problema con Xbrowse.

Tengo una dbf que muestro en xbrowse, a la cual le he agregado que me muestre la cantidad total de registro, por lo que va mostrando n/n.

El problema se produce al realizar un filtro por medio de un ComboBox, si bien el detalle de registro que muestra xbrowse corresponde a los que cumplen la condicion, el total que muestra al pie como n/n, sigue correspondiendo al total de la base y no al total de los registros filtrados.

Hay alguna forma de corregirlo?

Muchos saludos.
Antonio

Parte del codigo:
Code: Select all  Expand view

          // Aqui muestra el total de registros.
      oIngre:aCols[01]:bFooter   := { || Ltrim( Str( oIngre:KeyNo() ) ) + " / " + LTrim( Str( oIngre:KeyCount() ) ) }

         // Filtro a la base
         Sele b

        Set filter to tip_pag="ENTR"

 
FWH 22.10 - HARBOUR - PELLES C
remtec
 
Posts: 719
Joined: Fri May 12, 2017 2:50 pm

Re: Consulta sobre XBROWSE

Postby acuellar » Thu May 27, 2021 4:52 pm

Antonio

Intenta con:

Code: Select all  Expand view

cAlias->OrdKeyCount()
 
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1628
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Consulta sobre XBROWSE

Postby nageswaragunupudi » Sun May 30, 2021 11:42 am

After setting the filter, please call
Code: Select all  Expand view

oIngres:Refresh()
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10464
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 85 guests