Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP!! BufferMode property
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00034833
Message ID:
00035097
Views:
45
I see. So the "comment" beside the last CursorSetProp is extraneous!

I hope you see it was that "comment" which was confusing me in your response.

However, now I am equally confused, because I was sure I had been told, by a few right here, that FREE TABLES *could* be used with buffering (all of row/table; pessimistic/optimistic).

The more I "learn", the more confused I get!@#$#@!

Cheers,
Jim N

>>Would you be good enough to tell us (me, anyway) *WHICH* is "IT"???
>
>The "it" referred to one of the causes of my problem, that the table must be in a database (according to Vlad's reply - see Map). I found that the table must be in a database to issue a BufferModeOverride in the data environment properties otherwise nothing happens.
>
>That being said, to support the stock Form Wizard picture buttons revert button the following code was added:
>SET MULTILOCKS ON in my main.prg
>BufferMode = 0 (default) in my Form
>=CursorSetProp('Buffering',5,'TABLE1.DBF')
>=CursorSetProp('Buffering',5,'TABLE2.DBF')
>=CursorSetProp('Buffering',5,'TABLE3.DBF'), etc. for each free table in the data environment (code is in the Init of the Form).
>
>Since CursorSetProp() is focused at Cursors, I did a CursorSetProp for each table opened by the form. I didn't investigate whether all cursors are required or not.
>
>My app has both VFP3 clients (on newer Win95 machines) and FPW2.6 clients (on old Win3.x 386's) reading the same data. That's why I need to use free tables. The older machines don't have enough RAM to run VFP and Win32s.
>
>regards,
>John Morga
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform