Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Code #107
Message
From
11/10/2001 23:31:28
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00567376
Message ID:
00567399
Views:
20
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
Map
View

Click here to load this message in the networking platform