General information
Category:
Reports & Report designer
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only