Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffer
Message
De
07/01/2002 12:02:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Buffer
Divers
Thread ID:
00601460
Message ID:
00601529
Vues:
20
>Hi Cetin
>
>Just to be more clear
>
>In my client form I have open my table Client like this
>USE C:\Avantage\DYNAMIX\AVA01\client.dbf IN 0 SHARED ALIAS client
>CURSORSETPROP("Buffering", 4, "client2")
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cnum.cdx
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cnom.cdx
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cgros.cdx
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cvil.cdx
>
>And in my Search form I open it like this.
>USE C:\Avantage\DYNAMIX\AVA01\client.dbf IN 0 SHARED ALIAS client2 AGAIN
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cnum.cdx
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cnom.cdx
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cgros.cdx
>SET INDEX TO C:\Avantage\DYNAMIX\ava01\cvil.cdc
>
>and i get this message
>Command cannot be issued on a table with cursor in table buffering mode.
>
>
>
>Thank

Benoit,
In first form opening lias 'Client' and setting buffering on 'Client2' is a typo I guess.

use myTable
cursorsetprop('Buffering',4,'myTable')
set index to C:\Avantage\DYNAMIX\ava01\cnum.cdx, ;
C:\Avantage\DYNAMIX\ava01\cnom.cdx, ...

would error.

use myTable
set index to C:\Avantage\DYNAMIX\ava01\cnum.cdx, ;
C:\Avantage\DYNAMIX\ava01\cnom.cdx, ...
cursorsetprop('Buffering',4,'myTable')

would work.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform