Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Dear Sergey,
Thank you for your suggestion.
After I tune the codings in the main.prg. The problem is recovered !
The nistake I have is that in every report I utilize a variable tpage to calculate the total pages of the report.
By utilise the following codes:
:
:
report form MyReport noconsole to file temp
tpage=_pageno
report form MyReport tp print
:
:
Isn't VFP need not to declare variables?
In my past pratise, I just declare the variables in PUBLIC statements.
In additon of a sataement
tpage=0
immediate after the statement
public tpage;
the problem solved
I guess that why don't I have the similar problem in certain Boolean declaration??
Is for the case declaring numeric variables, initialisation is essential and not for the Boolean??
With regards and Thanks
Ransome
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement