Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a Value to report variable from a form
Message
De
02/06/1999 20:13:16
 
 
À
02/06/1999 12:25:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00225138
Message ID:
00225706
Vues:
11
If you declare the variable PUBLIC before calling the report, then the report will use it. In fact, the same is true for PRIVATE variables, only that you have to initialize them before calling the report.

This goes fine if what you want is to get back the values of those variables after the report is finished.

If you want to pass data to the report using a report variable, then its initial value in the report must be its own value! Ie: If your variable is called MyVar, then its initial value must be MyVar. IMHO, this is not the best thing to do and it's error prone and difficult to maintain. Still, it may be the only way to do what you need to do.

Vlad

>There are no public report variables the last time I looked
>Peter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform