Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 11th, 2005, 04:04 PM
Registered User
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic Loading of Parameter List from a file

Is there a way to dynamically load a parameter list in Crystal Reports? The reason I ask is because I have tired to load the parameter from a comboBox, but get this automated Parameter Dialog no matter what in c#. Then, I decided to load the parameters from a file because I saw a feature in the parameter dialog that allowed this. This was good.....BUT ITS NOT DYNAMIC!! I only get the list that was loaded when I used the parameter setup dialog. What is going on here? There seems to be no good way to load dynamic data to the parameter fields without a true database. I just want the user to be able to load the selected parameter from live data....not data that was set up during development. It seems any way I turn, I am having a tough time getting data to the parameter fields from real world lists generated during use....not at development time. ANy one have any ideas? I do not want to hear about database queries, as I have a CSV file. I will try and use the ODBC style SQL commands if there is no way of doing this, but it seems very basic. I cannot believe that there is no solution for dynamic loading of these parameters that is bug free. I have tried the Examples in the WRox Crystal Reports book. But they do not work for C#.

Old July 14th, 2005, 10:13 AM
nfg nfg is offline
Registered User
Join Date: Jul 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nfg

See my reply to the "Passing Parameters to Report" thread in the forum. You can pass anything you like (as long as it has a string format that can be used in the queries). I have custom "search" dialogs to find entities on the system and then only pass in their primary key but also have used the DatePicker control and passed in it's value as a string with no problem!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading data into List<T> rvincent C# 2005 8 June 14th, 2007 11:27 AM
dynamic list al-hijjawi ASP.NET 1.0 and 1.1 Basics 3 April 7th, 2006 11:05 AM
dynamic loading of dlls kerby Visual C++ 0 April 10th, 2005 12:42 PM
Dynamic sub-reports with parameter passing safecoder Crystal Reports 0 October 27th, 2004 12:26 PM
Parameter Pick List tektek Crystal Reports 0 January 6th, 2004 05:08 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.