Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report error vfp9, OK in vfp7
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01090163
Message ID:
01090327
Vues:
11
>Hi
>In the Report designer am building a cursor in the IDE.properties.OpenTables method, and then when running the report use the cursor as input.
>In the process of doing that I build an array. The following statement works fine in vfp7, but throws the 1652 error (Invalid use of vfp function as an array) in vfp9.1.
>
>DIMENSION aDoc[m.count, 16]
>
>aDoc is not being used as a function as far as I know.
>All help appreciated.
>Bill Wright

Possibly geting confused with the ADOCSTATE() function in VFP9 (and VFP8) that wasn't in VFP7.

[Update]
Most definitely the problem. You'll have to change your array to ADOCS or something other than the first 4 chars of a valid function name.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform