Modification DC_FindBrowse

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Modification DC_FindBrowse

#1 Post by digitsoft »

Hello Roger
Add this Modification to when it arrives at the beginning or end of the database not Blink

do case
case nKey == xbeK_UP .AND. !((xData)->(DC_TestBof( ))) && Nolberto Paulino
oBrowse:up()
oBrowse:refreshAll()
case nKey == xbeK_DOWN .AND. !((xData)->(DC_TestEof( ))) && Nolberto Paulino
oBrowse:down()
oBrowse:refreshAll()
case nKey == xbeK_CTRL_PGUP .AND. !((xData)->(DC_TestBof( ))) && Nolberto Paulino
oBrowse:gotop()
oBrowse:refreshAll()
case nKey == xbeK_CTRL_PGDN .AND. !((xData)->(DC_TestEof( ))) && Nolberto Paulino
oBrowse:gobottom()
oBrowse:refreshAll()
case nKey == xbeK_PGDN .AND. !((xData)->(DC_TestEof( ))) && Nolberto Paulino
oBrowse:PageDown()
oBrowse:refreshAll()
case nKey == xbeK_PGUP .AND. !((xData)->(DC_TestBof( ))) && Nolberto Paulino
oBrowse:PageUp()
oBrowse:refreshAll()
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Modification DC_FindBrowse

#2 Post by rdonnay »

I am worried about this on large databases. DC_TestEof() and DC_TestBof() have given me problems in the past when using these functions with a large database full of deleted records. It can cause much slowness.
The eXpress train is coming - and it has more cars.

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Modification DC_FindBrowse

#3 Post by digitsoft »

Ok, DBF provare with 259.904 and 817.919 that has to see his slowness

Another function can generate Slowness in DBF

Paulino Nolberto
Nolberto Paulino
Regards

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Modification DC_FindBrowse

#4 Post by Auge_Ohr »

digitsoft wrote:Add this Modification to when it arrives at the beginning or end of the database not Blink
what about :hitTopBlock() and :hitBottomBlock() ?
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Modification DC_FindBrowse

#5 Post by rdonnay »

what about :hitTopBlock() and :hitBottomBlock() ?
That is a much better idea. Thanks.
The eXpress train is coming - and it has more cars.

Post Reply