Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging reports
Message
From
23/07/2001 18:38:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/07/2001 13:21:59
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00534011
Message ID:
00534159
Views:
13
>Hey does anyone remember the command or code you use to debug reports? I know I have seen it somewhere.
>Thanks,
>Winn Pauley

Do you get error messages, or simply wrong results?

Error messages are usually easy to track if you MODIFY REPORT, followed by a preview.

OTOH, there is no intrinsic debugging support for reports - no equivalent of PRG-lines are actually executed. However, using report variables, you can call functions for each record; in theory, you can create a function that shows a certain value for each record (or writes the result to a variable). For instance, you could create a function WriteExpression("txExpression"). You would call the function from a report variable. If you call the function with WriteExpression("MyField"), it would append the following to a text file:
MyField: <value of MyField>
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform