Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed tip needed
Message
De
08/06/2001 13:19:05
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00514404
Message ID:
00517069
Vues:
16
RECCOUNT() ??

Are you saying that something like

a=reccount()

do while reccount() = a
= sleeper(1)
enddo
go bott

will detect faster than

do while .not. found()
= sleeper(1)
locate for l_new
enddo

?

Even if so, my condition test is most often a condition change, not a new record!

Or are you saying that just adding reccount()

do while .not. found()
= sleeper(1)
=reccount()
locate for l_new
enddo

will speed things up?

With UNLOCK() on the write side, the delay other than the sleep loop now seems tiny anyway , before adding UNLOCK the delay was about 5 seconds, and unrelated to the REFRESH settings.


Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform