Search found 38 matches: nrecs

Return to advanced search

Re: conflicto con database

... REDEFINE LISTBOX olbm FIELDS (oDbf:calias) ->NAPE ID 101; ON DBLCLICK (lacepto:= .t.,odlg:end()) of odlg olbm:setfocus() olbm:bSkip := { | nRecs | odbf:Skipper( nRecs ) } 1-Quite esta parte olbm:bSeek := {|lRet| olbm:DbfSeek(.T.) } oLbm:bkeydown := {|nkey,nflags| iif(nKey = VK_RETURN, nBut:setfocus(),.f.)} ...
by surGom
Thu Oct 24, 2019 1:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: conflicto con database
Replies: 4
Views: 885

Re: FILLARRAY en :Rowset() ? Mr.Rao

... GetRows(). This method has been there since the beginning, aData := oRs:GetRows() This method is further enhanced in 18.07: method GetRows( [anRecs], [nStartPos], [aFields], [lWithRecNum] ) --> Returns array containing values of the records (default all records) meeting the filter condition, ...
by nageswaragunupudi
Tue Feb 26, 2019 9:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FILLARRAY en :Rowset() ? Mr.Rao
Replies: 6
Views: 936

Re: New FTDN July 2018 (FWH 18.07)

... campos. Por ejemplo: oRs:FieldGet( { "NAME+','+CODE","ID",":RecNo" } ) --> aValues - Método mejorado GetRows ( [anRecs], [nStartPos], [aFields], [lWithRecNum] ) -> Devuelve una matriz que contiene los valores de los registros (por defecto todos los registros) ...
by Antonio Linares
Fri Sep 21, 2018 8:58 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July 2018 (FWH 18.07)
Replies: 5
Views: 2721

New FTDN July 2018 (FWH 18.07)

... using field names. Eg: oRs:FieldGet( { "NAME+','+CODE","ID",":RecNo" } ) --> aValues - Enhanced method GetRows( [anRecs], [nStartPos], [aFields], [lWithRecNum] ) --> Returns array containing values of the records (default all records) meeting the filter condition, ...
by Antonio Linares
Fri Sep 21, 2018 8:42 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July 2018 (FWH 18.07)
Replies: 5
Views: 2721

Twbrowse skipper tdata

HI, i have a old appl, i try compile with fwh17.04 and my twbrowse is empty, without records, i use twbrowse, tdata (from james), something is changed ? i dont change the code of this appl for years.

this code Works or something is changed:

oLbx:bSkip := { | nRecs | oCCBA:skipper( nRecs ) }

thanks
by norberto
Mon Jun 12, 2017 1:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Twbrowse skipper tdata
Replies: 3
Views: 1221

Re: Problem with TPanel Paint Method

... few times you click it changes to the new name. I am using FWH 15.05/xHarbour Update 2: OK, I found the problem. Replace this line: oBrw:bSkip:= {|nRecs| oCust:skipper(nRecs) } With this: oBrw:setoDBF( oCust ) And all is OK. My bad! James
by James Bott
Wed Sep 09, 2015 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TPanel Paint Method
Replies: 12
Views: 2560

using the method bskip wbrowse

... using the method of bskip browse, but I can not make it work, could someone give me an example? Follow what I'm doing: oBrwConsul:bSkip := { | nRecs | SkipEstoq( nRadio, cAlias, nRecs ) } ... ... ... FUNCTION SkipEstoq( nRadio, cAlias, nRecords ) LOCAL nSkipped DEFAULT nRecords := 1 IF nRadio ...
by Joao Cezar
Fri Oct 25, 2013 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: using the method bskip wbrowse
Replies: 1
Views: 515

Utilizando el método bSkip wbrowse

... método de bSkip navegar, pero no puedo hacer que funcione, podría alguien darme un ejemplo? Seguir lo que estoy haciendo: oBrwConsul:bSkip := { | nRecs | SkipEstoq( nRadio, cAlias, nRecs ) } ... ... ... FUNCTION SkipEstoq( nRadio, cAlias, nRecords ) LOCAL nSkipped DEFAULT nRecords := 1 IF nRadio ...
by Joao Cezar
Fri Oct 25, 2013 5:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Utilizando el método bSkip wbrowse
Replies: 0
Views: 280

listbox recno() display

... "D", "DR","Notes" ; FIELDSIZES 60, 45, 45, 45, 45, 45 , 40, 50 ; SIZE 284, 137 OF oDlg // possible ?? // space(5)+ {|nRecs|,dbskipper()} //trans(oTmd:recno(),'99,999') +; // ' / '+trans(oTmd:lastrec(),'99,999') OF oDlg // possible //{|nRecs|,oLbx:keyno() } Any help, ...
by brewster
Fri Dec 14, 2012 8:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: listbox recno() display
Replies: 7
Views: 1301

Re: slow xBrowse and ADS/AIS via Internet

Hi Lucas,

1. Issue cAlias->( AdsCacheRecords( <nRecs> ) ) or TABLE->( AdsCacheRecords( 50 ) ).. in my case, it improves the speed.
2. on your ads.ini:
[Settings]
COMPRESSION = Always
USE_TCP_IP = 1
PACKET_SIZE = 512 ;or 1024

This also improves my speed.


Kind regards,
by fraxzi
Tue Mar 13, 2012 12:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: slow xBrowse and ADS/AIS via Internet
Replies: 12
Views: 4255

Re: Comments and requests about TWBrowse

... TO customer define window oWnd title "Test Browse" define buttonbar oBar of oWnd @ 0 , 0 listbox oLbx fields of oWnd oLbx:bSkip:= {|nRecs| ( logfile( "events.txt" , { oLbx:nRowCount() , recno() } ), customer->(dbskipper( nRecs)) ) } oWnd:oClient:= oLbx activate window ...
by MarcoBoschi
Thu Jul 22, 2010 12:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Comments and requests about TWBrowse
Replies: 58
Views: 13739

Re: Comments and requests about TWBrowse

Enrico, James, I put this line of code in a my application oBrw:bSkip:= {|nRecs| ( logfile( "eventi.txt" , { oBrw:nRowCount() , recno() } ), tabella->(dbskipper( nRecs)) ) } tabella.dbf has 11400 records it's about 9 MB tabella.cdx has 20 TAG inside ...
by MarcoBoschi
Thu Jul 22, 2010 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Comments and requests about TWBrowse
Replies: 58
Views: 13739

problema con database 2

... oLbx:aColSizes := {60,210,190,190,190,160,90,100,180,60} oLbx:bSkip = { | nRecs | oMae:Skipper( nRecs ) } oLbx:nLineStyle := 3 oLbx:lAdjlastcol:= .F. oLbx:nClrBackFocus := CLR_CYAN oLbx:nClrForeFocus := CLR_WHITE REDEFINE ...
by surGom
Fri Mar 26, 2010 12:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con database 2
Replies: 2
Views: 1154

Re: Improvement to DBFs management ...

... There are several ways to do this with database objects. You can use the skipper to keep both databases in sync: oLbx:bSkip:= {| nRecs | oInvoice:skipper( nRecs), oCustomer:seek( oInvoice:invno) } Then you just define the fields: @ 0,0 LISTBOX oLbx FIELDS oInvoice:invno, oCust:company... ...
by James Bott
Tue Oct 13, 2009 4:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Improvement to DBFs management ...
Replies: 21
Views: 5613

Re: xBrowse, ADS and 'SET DELETED ON'

Rao, May I know why are you switching the deleted status to .f. before calling AdsKeyCount() ? Is it for reasons of performance? Now your nRecs variable includes deleted records also. How is this useful to you? It is your own recommendation, see the topic 'Why Some Browses with ADS are slow?': ...
by frose
Fri Aug 21, 2009 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse, ADS and 'SET DELETED ON'
Replies: 5
Views: 1102
Next

Return to advanced search

cron