Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a variable
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
00784620
Message ID:
00784701
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform