Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fixing frx2word bug in report variable initial value
Message
 
 
À
28/10/2001 09:32:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00574226
Message ID:
00576473
Vues:
33
Does it work now?

>I have found the following bug in frx2word utility:
>
>if report variable initial value uses a previous report variable initial value,
>an error occurs in .initvars() method.
>
>I fixed it by adding two lines to initvars method.
>
>
>
>		this.vardata[m.i,4]		= rpt.totaltype
>		this.vardata[m.i,5]		= 0
>		this.vardata[m.i,6]		= 0
>
>* The next line produses error if initial value use other var initial value
>		this.vardata[m.i,7]		= eval(allt(rpt.tag))
>
>		this.vardata[m.i,8]		= vartype(eval(allt(rpt.tag)))
>		this.vardata[m.i,9]		= this.vardata[m.i,7]
>
>* Those linses are added to fix this error
>PRIVATE (ALLTRIM(rpt.name))
>STORE eval(allt(rpt.tag)) TO (alltrim(rpt.name))
>
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform