Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FecthAsNeed for Local View
Message
 
 
À
11/02/2000 20:24:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00331204
Message ID:
00331313
Vues:
14
>Hi,
> Is it possible to set FecthAsNeed and FecthSize for Local View?
>
>Thank you

You can using DBSetProp() [see DBGetProp in VFP help for the parameters]. While this does primarily apply to remote views, the following all returned TRUE. However, when I open the view, all records are still retrieved all at once:
create sql view test as select * from lineitem
? dbsetprop('test', 'view', 'fetchasneeded', .t.)
? dbsetprop('test', 'view', 'fetchsize', 100)
use test   && retrieved all records
close tables all
? dbsetprop('test', 'view', 'maxrecords', 500)
use test   && retrieved all records again
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform