Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sesssion Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00222980
Message ID:
00233893
Vues:
40
>George,
>After checking, same here with cursor.buffermodeoveride=5, but,
> cursorgetprop("buffering")=1
>Nothing I could think of would change that, except I finally used:
>set multilocks on
>select mytable
>cursorsetprop("buffering",5)
>and that worked.
>
Terry,

Here's the code that my dataenvironment creation program generated for the cursor. When I issue the call to OpenTables, the cursor is opened in the appropriate buffering mode. Perhaps, the alias needs to be set as well:
This.AddObject("Cursor1", "cursor")
WITH This.Cursor1
  .CursorSource = "warpdata"
  .Alias = "warpdata"
  .BufferModeOverride = 5
  .Order = "date"
  .Database = "warping.dbc"
ENDWITH
You might try making that change and see if it does the trick. I'll test as well.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform