Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging reports
Message
De
23/07/2001 18:38:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
23/07/2001 13:21:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00534011
Message ID:
00534159
Vues:
12
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform