Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you macrocubstitute on a Report?
Message
De
30/06/2000 12:23:53
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
30/06/2000 11:26:23
Brent Knight
Progressive Impressions International
Bloomington, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00387100
Message ID:
00387149
Vues:
18
Brent,

Another way that no one has mentioned.

SELECT the data with a statement which has something like:

lcMySelectStatement = [.....,] + ;
IIF(< some logical statement >, "ThisField ", "ThatField " ) + ;
[AS MyField, ] + ;
[ .... ]
&lcMySelectStatement

and then just refer to MyField on the report.

>I have a report where I have set up a field that holds printall.&lcorder. Lcorder is a varible that is passed from a calling form. When I run the report, it gives me a syntax error on that field. Is it possible to macrosubstitute from a report? Lcorder holds a field name that is based on if that fieldname exists in the current table. If it does then lcorder holds that fieldname. If that fieldname is not in the table then it holds a field that is.
>
>Any help would be great
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform