Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique key generator
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00312803
Message ID:
00312916
Views:
30
Larry,

Ok, your test showed you that on one of the calls the table was not buffered, however if anything else openned that table as buffered then your SELECT would find it buffered. I woudl suggest a change in the code to do smomething like this;
IF USED("System")
   SELECT System
   LOCAL lnBufMode
   lnBufMode = CursorGetProp("Buffering")
   CursorSetProp("Buffering",0)

...


* and at the end of the routine

CursorSetProp("Buffering",lnBufMode)
Don't foget that you have a bunch of other code to fit around these items. Basically this is saving the current buffer mode, changing to no buffering and then setting the mode back again.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform