Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed tip needed
Message
From
08/06/2001 13:19:05
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00514404
Message ID:
00517069
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform