Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a variable
Message
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Divers
Thread ID:
00784620
Message ID:
00784701
Vues:
14
Hi Raymond,

Create a formula field in Crystal Reports. Use that formula field for the title of your report. Then populate it in the VB .NET code before running the report.
Dim oRpt as New CrystalReport1()
oRpt.DataDefinition.FormulaFields.Item("MyFormulaField").Text = "Your Title"

'Preview the report 
CrystalReportViewer1.ReportSource = oRpt
>Hi,
>
>I wish to print a different title on a Crystal Report depending on where I called it from.
>In my VB .NET program I have the public variable named USERREQRESTYPE which I want to print with the title on the report.
>How can I call this variable in Crystal Reports?
>
>Thanks
>
>Raymond Larche
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform