Print Page | Close Window

Prompt for Parameter Descriptions

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Writing Code
Forum Discription: .NET 2003 programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=4649
Printed Date: 02 May 2024 at 4:43pm


Topic: Prompt for Parameter Descriptions
Posted By: GlennC
Subject: Prompt for Parameter Descriptions
Date Posted: 28 Oct 2008 at 4:12pm
I have a report that has a discrete parameter defined.
 
The values are 0, 1, and 2.  For the sake of simplicity, lets say the descriptions are "Descrip for zero", "Descrip for one", and "Descrip for two".  In the report designer, it's set to "Display: Description" (instead of Value and Description).
 
I have a WinForm with C# and I load the report into a ReportDocument and assign it to a CRViewer.
 
The window for the parameters pops up but my selection only shows 0, 1, and 2.  I never see any sign of "Descrip for zero", "Descrip for one", and "Descrip for two". 
 
It appears to be broken.
 
Ok, as a fallback, I decide to give the user a combobox on the form and present the descriptions that way.  But I can't seem to get to them with the ReportDocument object or the CrystalReportViewer object.
 
And so far, google searches have been fruitless.  Does anyone have experience with this?
 
Thanks in advance



Print Page | Close Window