Search found 228 matches: ordkeycount

Return to advanced search

Re: records on xbrowse

... also obrw:nlen is 3 I tried to inser a variable nTotalrecords at init oDbf:= TCustomer():New() oDbf:setorder(1) oDbf:Gotop() nTotalRecords:= oDbf:OrdKeyCount() and the on each button WHEN ( nTotalRecords > oBrw:nDataRows ) but it's wrong also
by Silvio.Falconi
Wed Mar 27, 2024 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1638

Re: records on xbrowse

oDbf:OrdKeyCount() ) This works only for oDbf. Using oBrw:nLen or oBrw:KeyCount() works for all datasources. ok but the button are not refreshed , only when I move the mouse into obrw for a sample WHEN ( oBrw:nDataRows <= ...
by Silvio.Falconi
Tue Mar 26, 2024 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1638

Re: records on xbrowse

oDbf:OrdKeyCount() )


This works only for oDbf.
Using oBrw:nLen or oBrw:KeyCount() works for all datasources.
by nageswaragunupudi
Tue Mar 26, 2024 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1638

Re: records on xbrowse

perhaps I resolved with WHEN ( oBrw:nDataRows < oDbf:OrdKeyCount() )

init
Image

after search
Image
by Silvio.Falconi
Tue Mar 26, 2024 11:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1638

Re: Count xbrowse records

... is no simple function for this. Does not matter whether SET DELETED is ON or OFF: Both LASTREC() and RECCOUNT() include deleted records also. ORDKEYCOUNT() also does not exclude deleted records by itself, but honors filters, scopes and index expressions. So, 1) SET FILTER TO !DELETED()? ...
by wartiaga
Fri Feb 23, 2024 4:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 246

Re: Count xbrowse records

... is no simple function for this. Does not matter whether SET DELETED is ON or OFF: Both LASTREC() and RECCOUNT() include deleted records also. ORDKEYCOUNT() also does not exclude deleted records by itself, but honors filters, scopes and index expressions. So, 1) SET FILTER TO !DELETED()? ...
by Silvio.Falconi
Fri Feb 23, 2024 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 246

Re: Count xbrowse records

... is no simple function for this. Does not matter whether SET DELETED is ON or OFF: Both LASTREC() and RECCOUNT() include deleted records also. ORDKEYCOUNT() also does not exclude deleted records by itself, but honors filters, scopes and index expressions. So, 1) SET FILTER TO !DELETED()? ...
by nageswaragunupudi
Fri Feb 23, 2024 4:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Count xbrowse records
Replies: 5
Views: 246

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

... ( ::cAlias )->( OrdKeyNo() ),; ( ::cAlias )->( OrdKeyGoto( n ); ) ) },; ::bKeyCount := {|| ( ::cAlias )->( If( eof() .and. bof(), 0, OrdKeyCount() ) ) } Endif :::::: ¿Puede alguien por favor decirme si causará algún error dejarlas comentadas? ¿o cual sería la solución correcta? Nota. ...
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: 402

Re: still the ordkeycount error

probably the button bar hadn't been closed and was causing an error, I'm constantly checking if that type of error still comes out in the other modules too ???????????????????????????????????? Regards, saludos. I meant in my source that it's the same as the one created by Cesar, I haven't tried you...
by Silvio.Falconi
Fri Mar 17, 2023 9:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476

Re: still the ordkeycount error

Silvio.Falconi wrote:probably the button bar hadn't been closed and was causing an error, I'm constantly checking if that type of error still comes out in the other modules too


????????????????????????????????????

Regards, saludos.
by karinha
Thu Mar 16, 2023 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476

Re: still the ordkeycount error

probably the button bar hadn't been closed and was causing an error, I'm constantly checking if that type of error still comes out in the other modules too
by Silvio.Falconi
Thu Mar 16, 2023 10:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476

Re: still the ordkeycount error

jao,
I Use Tdatabase and I want not use windows or windows child because on w10 it have the same style of win xp
I prefer use dialogs
by Silvio.Falconi
Wed Mar 15, 2023 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476

Re: still the ordkeycount error

// \SAMPLES\RICK3.PRG#Include "Fivewin.ch"ANNOUNCE RDDSYSREQUEST OrdKeyNo, OrdKeyCount, OrdCreate, OrdKeyGoto // Para ListBoxREQUEST DBFCDX, DBFFPTSTATIC lSalida := .F. // Para salir/exitSTATIC oWndChild, oWndFUNCTION Main()   LOCAL oDlg, ...
by karinha
Tue Mar 14, 2023 9:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476

Re: still the ordkeycount error

Antonio Linares wrote:Dear Silvio,

Please check the bottom side of error.log to see which workarea is in use


boh...there is not databases and I not understood where I close it
by Silvio.Falconi
Tue Mar 14, 2023 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476

Re: still the ordkeycount error

Dear Silvio,

Please check the bottom side of error.log to see which workarea is in use
by Antonio Linares
Tue Mar 14, 2023 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476
Next

Return to advanced search