Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
External Arrays and Reports
Message
De
18/12/2001 17:07:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00595795
Message ID:
00595890
Vues:
21
>>I tried rebuilding a VFP 5 application in VFP 7. Found 2 problems.
>>1. Field list was missing a comma (worked in VFP 5, VFP 7 seems more fussy). Easy to fix.

>
>This change and some others are addressed in VFP help http://msdn.microsoft.com/library/en-us/fox7help/html/foconBehaviorChangesSinceVisualFoxPro60

Could not get to this site, does it work for you?
>
>>2. A form creates an array which is then used in a report. Works in VFP 5, get an error message in VFP 7 when I try to build the applcation "unable to find unknow ARRPTQTY (the erray) in the report (frx file). the existing code is
>>
>>
>> PUBLIC DIMENSION aRptQty( 3, 4 )
>>
>> EXTERNAL ARRAY arrayRQty
>> ThisForm.GetRptQty( @aDtlQty, @aRptQty )
>> RELEASE aDtlQty
>>
>>How do I fix it??

>
>The line PUBLIC DIMENSION aRptQty( 3, 4 ) creates public variable DIMENSION and public array aRptQty( 3, 4 ) in VFP 6. It should generate an error in VFP 7 because DIMENSION isn't a legitimatee clause of the PUBLIC command. You can change it to
PUBLIC aRptQty( 3, 4 )
>* or
>PUBLIC ARRAY aRptQty( 3, 4 )
Thanks,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform