xbrowse too slow
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
xbrowse too slow
on an archive lotto.dbf
I'm using tdatabase
I have 57 field
I have 6130 records for 733KB
I index on dts(data)+concorso
and xbrowse is too too slow
do you have try with big dbf ?
I use Multiheader perhaps it is slow ?
I'm using tdatabase
I have 57 field
I have 6130 records for 733KB
I index on dts(data)+concorso
and xbrowse is too too slow
do you have try with big dbf ?
I use Multiheader perhaps it is slow ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse too slow
it'a tdata or tdatabase set ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse too slow
not run good I see all same records
where I must insert it ?
where I must insert it ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: xbrowse too slow
Anywhere before the browse.
I don't know what you mean by "I see all the same records." Are you using a filter?
I don't know what you mean by "I see all the same records." Are you using a filter?
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse too slow
no I see the same records I have 6135 record but if I set that command I see only one record * 6135 records
Imust see perhaps I insert it after the xbrowse
Imust see perhaps I insert it after the xbrowse
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: xbrowse too slow
I don't understand. Do you mean you see the same record repeated 6135 times?one record * 6135 records
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse too slow
I put it after I open the archive
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: xbrowse too slow
Are you loading the database into an array or something?
Turning off the buffer should have no effect on the display other than speeding it up.
Turning off the buffer should have no effect on the display other than speeding it up.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse too slow
oLotto:= TDatabase():Open( , cDir+"Lotto", "DBFCDX", .T. )
oLotto:setorder(nOrder)
oLotto:gotop()
oLotto:lbuffer:=.f.
oLotto:setorder(nOrder)
oLotto:gotop()
oLotto:lbuffer:=.f.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: xbrowse too slow
Did you do:
oBrw:setoDbf(oLotto)
Without that the database doesn't skip
to the next record.
oBrw:setoDbf(oLotto)
Without that the database doesn't skip
to the next record.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse too slow
nages sad me to erase this command
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: xbrowse too slow
I don't know why. Put it back in and try it.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: xbrowse too slow
Application
===========
Path and name: C:\Work\Prg\lotto\SuperLotto.Exe (32 bits)
Size: 8,185,856 bytes
Compiler version: Harbour 3.2.0dev (r1904111533)
FiveWin version: FWH 19.05
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 24 secs
Error occurred at: 18-09-2019, 10:05:37
Error description: Error BASE/1004 Message not found: TXBROWSE:SETTODBF
Stack Calls
===========
Called from: .\source\function\HARBOUR.PRG => _CLSSETERROR( 247 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETTODBF( 10879 )
Called from: source\PLotto.prg => ESTRATTI( 151 )
===========
Path and name: C:\Work\Prg\lotto\SuperLotto.Exe (32 bits)
Size: 8,185,856 bytes
Compiler version: Harbour 3.2.0dev (r1904111533)
FiveWin version: FWH 19.05
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 24 secs
Error occurred at: 18-09-2019, 10:05:37
Error description: Error BASE/1004 Message not found: TXBROWSE:SETTODBF
Stack Calls
===========
Called from: .\source\function\HARBOUR.PRG => _CLSSETERROR( 247 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETTODBF( 10879 )
Called from: source\PLotto.prg => ESTRATTI( 151 )
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC