Search found 129 matches: blogiclen

Return to advanced search

Re: Browse Json

... it in TCBrowse. I played around with setting oBrw:cAlias := "ARRAY" but get no data. Not sure how to set the bGoTop, bGoBottom, bSkip, bLogicLen blocks. For now I am creating a dynamic recordset from the json object, but I feel like it is an extra step. Thanks, again...
by byron.hopp
Thu Jan 11, 2024 1:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse Json
Replies: 8
Views: 833

Re: Area de trabajo no usada: ORDKEYNO

... ; "Localidad", ; ( "Telofono" ), ; ( "Zona" ) ; // "zona",; ID 181 of odlg ; font ofont1 oBrow:bLogicLen = { || oRS1Cli:RecordCount } oBrow:bGoTop = { || oRS1Cli:MoveFirst() } oBrow:bGoBottom = { || oRS1Cli:MoveLast() } oBrow:bSkip = { | nSkip ...
by jpcavagnaro
Sun Sep 11, 2022 12:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Area de trabajo no usada: ORDKEYNO
Replies: 3
Views: 320

Re: ListBox Input Field Scrolling........

... aAcc_No, aAcc_Desc, aTrn_AmtD, aTrn_AmtC ) oBrw:bSkip := { |nWant, nOld| nOld:=nItem, nItem+=nWant, ; nItem := max( 1, min( nItem, eval( oBrw:bLogicLen ))), nItem - nOld } oBrw:bLDblClick:= {|| W_21AEU(oBrw,nItem,mMode,oDlg)} oBrw:bKeyDown := {|nKey| If(nKey=13,W_21AEU(oBrw,nItem,mMode,oDlg), ...
by RiazKhan
Fri Apr 15, 2022 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ListBox Input Field Scrolling........
Replies: 2
Views: 250

Re: Experiencias de RDDs lentos

... En mayo estuve analizando la clase wbrowse para saber porque al usar el SetFilter se ralentizaba tanto y encontré que en el metodo SetFilter a bLogicLen se le asigna una llamada a Self:RecCount (uVal1), donde se recorren un máximo de ::nMaxFilter registros según el indice activo. Al refrescarse ...
by Antonio Linares
Thu Jul 03, 2014 12:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Experiencias de RDDs lentos
Replies: 42
Views: 14460

Re: Experiencias de RDDs lentos

... En mayo estuve analizando la clase wbrowse para saber porque al usar el SetFilter se ralentizaba tanto y encontré que en el metodo SetFilter a bLogicLen se le asigna una llamada a Self:RecCount (uVal1), donde se recorren un máximo de ::nMaxFilter registros según el indice activo. Al refrescarse ...
by gmart1
Thu Jul 03, 2014 10:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Experiencias de RDDs lentos
Replies: 42
Views: 14460

PROBLEMAS CON EL TWBROWSE

... )->( BoF() ) ( ::cAlias )->( DbSkip() ) endif endif endif ::DrawHeaders() // CeSoTech ::DrawFooters() // CeSoTech if ( ::nLen := Eval( ::bLogicLen ) ) > 0 //////////////////////////////////// // AutoEstabilizacion by CeSoTech // //////////////////////////////////// // le quite estas ...
by ROBER68
Fri Jun 21, 2013 5:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMAS CON EL TWBROWSE
Replies: 1
Views: 926

Re: XBROWSE, strange behavior...

Please remove this line.
Code: Select all  Expand view
oBrw:bLogicLen = { || reccount()}
 

XBrowse internally takes care of all.
There is no data bLogicLen in xbrowse.
by nageswaragunupudi
Thu Mar 07, 2013 2:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE, strange behavior...
Replies: 3
Views: 673

Re: Clase TDb o TDatabase....cual usar?

... SetBrowse(oLbx) CLASS TDb oLbx:bGotop := { || ::GoTop() } oLbx:bGoBottom := { || ::GoBottom()} oLbx:bSkip := { |nRec| ::Skipper( nRec ) } oLbx:bLogicLen := { || ::RecCount() } // oLbx:nHeaderHeight := 20 // oLbx:nLineHeight := 20 RETURN oLbx //----------------------------------------------------------------------------// ...
by Compuin
Thu Feb 28, 2013 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TDb o TDatabase....cual usar?
Replies: 10
Views: 2796

Refresh SQL Select in Listbox

... "RFID Commissioned" ; SIZES 100 , 100 , 100 , 100 , 85 , 100 , 125 , 100 , 200 ; FONT oFont2 ; OF oWnd SIZE nLbxW, nLbxH PIXEL oLbx:bLogicLen = { || oSql:RecordCount } oLbx:bGoTop = { || oSql:MoveFirst() } oLbx:bGoBottom = { || oSql:MoveLast() } oLbx:bSkip = { | nSkip | Skipper( ...
by cdmmaui
Wed Aug 22, 2012 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh SQL Select in Listbox
Replies: 5
Views: 1315

Requirements for Connecting to MS SQL

... "E-mail", "System", "Module", "Add Date", "Add Time", "Add User" ; OF oDlg oLbx:bLogicLen = { || oSql:RecordCount } oLbx:bGoTop = { || oSql:MoveFirst() } oLbx:bGoBottom = { || oSql:MoveLast() } oLbx:bSkip = { | nSkip | Skipper( ...
by cdmmaui
Wed Jul 11, 2012 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Requirements for Connecting to MS SQL
Replies: 6
Views: 1438

Listbox via MS SQL

... "E-mail", "System", "Module", "Add Date", "Add Time", "Add User" oLbx:bLogicLen = { || oSql:RecordCount } oLbx:bGoTop = { || oSql:MoveFirst() } oLbx:bGoBottom = { || oSql:MoveLast() } oLbx:bSkip = { | nSkip | Skipper( ...
by cdmmaui
Wed Jul 04, 2012 5:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox via MS SQL
Replies: 6
Views: 1753

Aproperties Tsay, Timage, tBtnbmp

... 033 ) ; && Letras / fondo Verde oBrw:SetArray ( oDlg:aControls ) oBrw:bGotop := { | | n := 1 } oBrw:bGoBottom := { | | n := EVAL ( oBrw:bLogicLen ) } oBrw:bSkip := { | nwant, nold | nold := n , n += nwant ,; n := MAX ( 1, MIN ( n, EVAL ( oBrw:bLogicLen ) ) ), n - nOld } oBrw:bLogicLen ...
by J. Ernesto
Thu Feb 02, 2012 7:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Aproperties Tsay, Timage, tBtnbmp
Replies: 5
Views: 1186

Re: Twbrowse - error : Bound array access

... at line 152 access an array that triggers the error? There are only two arrays in the line, ::aColSizes and ::aJustify. However it is probably :bLogiclen which is defined like this in the setArray() method:   ::bLogicLen = { || ::nLen := Len( aArray ) } However, as I said in ...
by James Bott
Wed Jul 13, 2011 2:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Twbrowse - error : Bound array access
Replies: 16
Views: 6330

Re: Twbrowse - error : Bound array access

... ::nClrPane,; If( ::oFont != nil, ::oFont:hFont, 0 ),; ValType( ::aColSizes ) == "B", ::aJustify, nil, ::nLineStyle,,, ::oVScroll,; ::bLogicLen ) I wonder if which of these parameters triggers the error and what is 'N' in this code? Any idea? Thank you all, Jose
by xhbcoder
Thu Jul 07, 2011 5:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Twbrowse - error : Bound array access
Replies: 16
Views: 6330

XBrowse + ADO

... 1, 75 ) HEADERS "DATA", "TÍTULO" ; SIZES 80,200 ID 103 OF oDlgs ON DBLCLICK( DigitaAlte( oRs ), oLbx:refresh() ) UPDATE oLbx:bLogicLen := { || oRs:RecordCount } oLbx:bGoTop := { || oRs:MoveFirst() } oLbx:bGoBottom := { || oRs:MoveLast() } oLbx:bSkip := { | nSkip | Skipper( ...
by ADutheil
Wed Feb 16, 2011 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse + ADO
Replies: 7
Views: 1709
Next

Return to advanced search