Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I use substitution field names in reports?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Can I use substitution field names in reports?
Divers
Thread ID:
00175257
Message ID:
00175257
Vues:
65
Here's my example:

I select the data I want included in the report to follow.

SELECT mytable.&cField FROM mytable ;
WHERE .... ;
ORDER BY mytable.&cField ;
INTO CURSOR rpt

SELECT rpt

I run the report.

REPORT FORM MYREPORT.FRX TO PRINT

In the report designer I want to use rpt.&cField as one of the fieldnames in the report, but it calls it a syntax error. Any work around for this one?

I predesigned the report form using the report designer and supplied fieldnames at that time.

Thanks for your help.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform