Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 31
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01501200
Message ID:
01501219
Vues:
82
The array size in VFP8 and earlier is limited to 65000 elements. As result ADIR() cannot process more than 13000 entries. In VFP9 there's no hard limit on the array size.

>The code below works fine until lately. I think it may be too many frx files - there are now 13,597. I thought the array size limit was much larger.
>
>
>crea cursor txtpick (name c(50), size n(10), date d(8))
>
>mcnt = adir(ltxt,(*.frx))
>IF mcnt = 0
> =MESSAGEBOX('No matching files found',48,'Bad Luck')
> thisform.Release
> SELECT txtpick
> use
>ENDIF
>
>sele txtpick
>appe from array ltxt
>INDEX ON name tag name
>index on date tag date desc
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform