Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO RecordSet.GetRows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00599884
Message ID:
00604751
Vues:
19
>>>... but this is a general question regarding the Recordset object. The .GetRows() method accepts 3 parameters, the third can be an array with a field list. I've found that the size of the array is limited because if I use 3 field names it works but if I try the fields for the whole table (54 fields), then I get a C5 error.
>Not sure what version I have here but found that the limit is 32 fields.

This is not a GetRows() limitation. The problem is in VFP limit of 65,000 elements in array. By default GetRows() in jcRStoCursor retrieves 1999 rows at a time. In this case the fields limit will be 65000/1999 = 32.5
You could try to decrease lnMagic number in jcRStoCursor to solve this problem.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform