Search found 70 matches: bkeycount

Return to advanced search

Re: XBrowse con xBase - Efecto Pijama - Error en Red

... ), .t. ) * endif endif DEFAULT ::bKeyNo := {| n | iif( n == nil,; ( ::cAlias )->( OrdKeyNo() ),; ( ::cAlias )->( OrdKeyGoto( n ); ) ) },; ::bKeyCount := {|| ( ::cAlias )->( If( eof() .and. bof(), 0, OrdKeyCount() ) ) } Endif :::::: ¿Puede alguien por favor decirme si causará algún error ...
by José
Tue Mar 21, 2023 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse con xBase - Efecto Pijama - Error en Red
Replies: 3
Views: 406

Re: XBrowse 16.04 : Gets in Header Bar

... nHeight, lHighLite, .t., nFor, 0 ) endif 5. method paintdata() class txbrwcolumn if ::bStrData != nil.and. !EVAL(::obrw:bBookMark)==EVAL(::obrw:bkeyCount)+1,.t.); .or.::obrw:lgetbar.and.nPaintRow<=0 if ::obrw:lgetbar.and.nPaintRow==-1 cdata:=::cf1 elseif ::obrw:lgetbar.and.nPaintRow==0 cdata:=::cf2 ...
by ShumingWang
Mon Sep 05, 2016 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse 16.04 : Gets in Header Bar
Replies: 34
Views: 10021

Re: xBrowse c/ADS Problema con Filtro

... xBrowse se debe a ADS, a mi me pasó lo mismo hace tiempo y lo solucione con estas 2 lineas en el xBrowse. Me lo dijeron aqui en el foro. oLstChq:bKeyCount := {|| h0["DetaCheq23"]:cAlias->( AdsKeyCount( , , ADS_RESPECTFILTERS ) ) } oLstChq:bKeyNo := {| n | IIf( HB_IsNil( n ), h0["DetaCheq23"]:cAlias->( ...
by D.Fernandez
Fri May 01, 2015 2:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse c/ADS Problema con Filtro (SOLUCIONADO)
Replies: 2
Views: 416

Re: problema con xbrowser

... )->(ordnumber()) == 0 DEFAULT ::bKeyNo := {| n | iif( n == nil,; ( ::cAlias )->( RecNo() ),; ( ::cAlias )->( DbGoto( n ); ) ) },; ::bKeyCount := {|| ( ::cAlias )->( If( eof() .and. bof(), 0, ReCcount() ) ) } else DEFAULT ::bKeyNo := {| n | iif( n == nil,; ( ::cAlias )->( OrdKeyNo() ...
by mastintin
Thu Apr 30, 2015 3:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con xbrowser
Replies: 17
Views: 4930

Re: HELP FOR AUTOGET

It seems as oGet:bKeyCount is nil

Set a codeblock to that data to return the number of entries, I guess so
by Antonio Linares
Mon Mar 30, 2015 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HELP FOR AUTOGET
Replies: 3
Views: 678

Re: Autoget Error in FW May 2014 and June 2014

Maurizio,

Please try this change in Class TAutoGet:

METHOD KeyCount() INLINE If( ! Empty( ::bKeyCount ), Eval( ::bKeyCount ), 0 )
by Antonio Linares
Mon Jul 14, 2014 4:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Autoget Error in FW May 2014 and June 2014
Replies: 6
Views: 1423

Re: xBrowse ERROR

... oWIN:oClient:=oBRW oWIN:SetControl(oBRW) ACTIVATE WINDOW oWIN ON INIT WndAdjClient(oWIN:hWnd) ; VALID ( oBrw:bKeyCount:={||0} , oBrw:bKeyNo := {||0} , CLOSE_DB(oXDBF) , .T. ) Return .T. ************************ // Close DataBase Function CLOSE_DB(oDBF) IF oDBF<>NIL ...
by vensanto
Thu Mar 13, 2014 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse ERROR
Replies: 14
Views: 2153

Re: Cargar y mostrar un archivo PDF

Armando, comenta // esto:

oBrx:bKeyCount := {|| oRsAdj:RecordCount() }

Que retorna ahora?
by karinha
Thu Feb 27, 2014 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cargar y mostrar un archivo PDF RESUELTO
Replies: 23
Views: 7507

Re: xBrowse con Tdatabase mal en 1307

... ). Avoid using kinetic browse and be careful about btnbar and menu actions. The should check whether the dbf is open before taking action, oBrw:bKeyCount := {|| 0 } oBrw:bKeyNo := {|| 0 } Make it much safer. We get used to these over time.
by nageswaragunupudi
Sat Oct 19, 2013 1:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse con Tdatabase mal en 1307 - Solucionado
Replies: 9
Views: 3320

Re: Xbrowse error with setbackground

Probably bKeyCount was never initialized.
Can we see a small sample reproducing the problem?
by nageswaragunupudi
Sat Aug 10, 2013 5:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse error with setbackground
Replies: 1
Views: 510

Xbrowse error with setbackground

... => TXBROWSE:KEYCOUNT( 0 ) in my copy of xbrowse (13.02) it corresponds to this line METHOD KeyCount() INLINE ( ::nLen := Eval( ::bKeyCount ),; iif(::oVScroll != nil ,; ( ::VSetRange( 1, ::nLen ), ::VUpdatePos() ), ),; ::nLen ) Richard
by Richard Chidiak
Sat Aug 10, 2013 4:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse error with setbackground
Replies: 1
Views: 510

Re: Error con ADO y XBrowse en recurso (Solucionado)

... => _FWH( 3169 ) Called from: => SYSREFRESH( 0 ) Here is a sample of my Mdi\Child valid close .. note the code blocks oLbxA:bKeyCount := { || 0 } oLbxA:bKeyNo := { || 0 } //---------------------------------------------Static FUNCTION ExitPgm( lOk3,oWndChildA,oWndCHild,oLbxA,lOk,;  ...
by Rick Lipkin
Fri May 24, 2013 1:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error con ADO y XBrowse en recurso (Solucionado)
Replies: 13
Views: 4328

Re: oBrw:ToExcel() error

bKeyCount() might be the problem here as it might not be respecting filters ...?

Likely.

Actually the Loop should end when either nRow > Eval( bKeyCount ) .or. Eval( bSkip, 1 ) != 1, whichever happens first.

You can try checking behavior of these codeblocks.
by nageswaragunupudi
Sat Mar 09, 2013 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oBrw:ToExcel() error
Replies: 5
Views: 1081

Re: oBrw:ToExcel() error

... me. In theory users may set a filter and then try to export to excel that subset that passes the filter condition. Filters are created using AOFs. bKeyCount() might be the problem here as it might not be respecting filters ...? If so, then this is something I can fix. I'll get back when I have ...
by reinaldocrespo
Sat Mar 09, 2013 2:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oBrw:ToExcel() error
Replies: 5
Views: 1081

Re: oBrw:ToExcel() error

... Check #1: Does the table really contain more rows than the limit? If so please consider exporting subsets of table. Check #2: Does Eval( oBrw:bKeyCount() ) correctly return the number of rows in the table? If not check the codeblocks for oBrw:bKeyCount() .and. oBrw:bSkip Check #3: We need ...
by nageswaragunupudi
Sat Mar 09, 2013 4:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oBrw:ToExcel() error
Replies: 5
Views: 1081
Next

Return to advanced search