Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > BOOK: Professional Crystal Reports for VS.NET
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 2nd, 2010, 10:35 AM
Registered User
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default issue - 1 discrete value is updating all parameters

I have a from that contains a crystal report. This report contains 2 text boxes for user parameter input. The problem is, inputs in either text box affect both parameters, when they should affect 1 and not the other. I can't seem to understand what I'm doing wrong, since when I step through the code the discrete values are different.

private void button1_Click(object sender, EventArgs e)
            SpotRateReport SRR = new SpotRateReport();
            ParameterValues myvals = new ParameterValues();
            ParameterDiscreteValue myDiscrete = new ParameterDiscreteValue();
            ParameterValues myvals1 = new ParameterValues();
            ParameterDiscreteValue myDiscrete1 = new ParameterDiscreteValue();

            myDiscrete.Value = double.Parse(AudBuyTxtBx.Text);
            myDiscrete1.Value = double.Parse(AudSellTxtBx.Text);
            crystalReportViewer1.ReportSource = SRR;


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report Discrete Value k.manisha ASP.NET 1.0 and 1.1 Professional 0 February 28th, 2007 12:00 AM
Updating Datagrid From Dataset Issue hannahforinton C# 2 May 30th, 2006 12:19 PM
Parameters Dharam80 Access 3 August 19th, 2005 01:59 PM

All times are GMT -4. The time now is 09:54 AM.

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