Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I pass a parameter into report
Message
De
19/08/2000 01:45:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00406382
Message ID:
00406979
Vues:
40
>Hi everyone,
>
>I knew it should be a way to pass a parameter into report, but I don't remember how. Could you please tell me? Suppose, in my report I have a title:
>lcCustomerName, where lcCustomerName should be a parameter set in run time, while executing REPORT FORM myReport TO PRINTER. How can I do that?
>
>
>Thanks in advance.


Nadya,
Mark's route is the one I take too. You could use any variable from calling routine in report. That is if calling method has access to something like :
Thisform.txtStartDate.Value
then report has access to exactly to same value (IOW you can use Thisform.txtStartDate.Value as an expression in report). For reports it doesn't matter variables are declared local in calling routine. If routine could access those variables then report could access too.
IMHO other than Title and Summary bands it would be nonsense to call functions that would invoke user interface except very special situations.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform