Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed tip needed
Message
From
06/06/2001 09:26:23
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
 
To
05/06/2001 19:00:38
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00514404
Message ID:
00515697
Views:
15
I tend to put go bottom. go top into my UDF code when using small tables without indexes just 'to be safe'.

Historically, it seemed to flush/refresh buffers and eliminate eof() errors, also if a FILTER was turned on and I was sitting on a record that was NOT in the filtered group, Fox would report that record as part of the selected data.

So, when writing code for small non indexed tables, I just include those two lines. If it saves one crash a year, I figure I win!

I should add that I do NOT do this on large indexed tables, just the small busy ones!

As I posted later, seems that adding UNLOCK after a REPLACE command made the change visible to other users about FOUR SECONDS sooner ! ( no matter what I set REFRESH to, or using FLUSH, etc! )

thx

mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform