SgDotNet
Singapore Professional .NET User Group -For Cool Developers

How to show possible value in prompt when showing crystal report

rated by 0 users
This post has 3 Replies | 0 Followers

Top 200 Contributor
Posts 9
SAVAGErider Posted: 09-16-2007 9:39 PM

hi,

If we have a parameter field in crystal report, we need to provide the value for this parameter before viewing the report. Does anyone knows how to show the possible values that we have in DB under the dropdown list? The idea is similar to what we seen in Crystal Report program when we select "print preview". I tried to call a report in windows form (C#) but I need to enter the value manually, there isn't any value inside the dropdown list..

Many thanks for your helps :)

Top 25 Contributor
Posts 157
You probably need to access the database and get use a distinct query to do that, since you probably already have access to the database. I believe that is how the Crystal Report do in the first place.
Top 200 Contributor
Posts 9

Does anyone has idea how to put the possible value into the drop down list ????

 

thanks.

Top 25 Contributor
Posts 157

Pardon me, but I believe that when you use Crystal Report to preview, it actually connects to the database and queries the table to obtain distinct values to populate the drop down list. Are you trying to have the drop down list to be automatically to be populated by the Crystal Report Engine or are you trying to populate it yourself?

Page 1 of 1 (4 items) | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems