Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursorsetprop(buffering,5,0) and create cursor ??
Message
De
10/06/2004 09:53:22
Suhas Hegde
Dental Surgeon
Sirsi, Inde
 
 
À
10/06/2004 09:21:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00912173
Message ID:
00912208
Vues:
54
>This is a bug or a undoc behaviour,
>it is present on VFP6.5,7.1,8.1,9beta
>
>Workaround is of course:
>
>clear
>set multilock on
>?Cursorsetprop("Buffering",5,0) && returns .t.
>create cursor abcd (abc C(200))
>?cursorgetprop("buffering","abcd") && returns 1 ??  aspected 5
>?Cursorsetprop("Buffering",cursorgetprop("buffering",0))
>?cursorgetprop("buffering","abcd")
>use dbf("abcd") in 0 again alias abcd1
>?cursorgetprop("buffering","abcd1")
>CLOSE TABLES all
>
Hi,
I could set it
cursorsetprop("buffering",5,"abcd")
But regarding all cursors created it is defaulted to buffering 1 and
But all tables opend defaulted to 5 after cursorsetprop("buffering",5,0)
So is it that create cursor and the formation of the cursor in the workarea do not respect this ?

So each time a cursor is created then cursorsetprop("buffering",5,"the_cursor") has to be issued to make it buffered ??

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

Click here to load this message in the networking platform