Enter Parameter Values => Why? 
Author Message
 Enter Parameter Values => Why?

I dont understand why my application get this message.

I programming whit C#.net
The first time i get the report whitout this message (enter parameter values
"discrete value").
But in the standard control is the button refresh. If I click on this button
I get e Box whit the title:
Enter Parameter Values: My Questen is hier Why?

Why dont know my application my variable from befor?

Please thank for your help

Michael

Here my code...maybee my failure is in this code:

------------------------------------------------------------------------

private void crystalReportViewer1_Load(object sender, System.EventArgs e)

{

//Eigenschaft manuell auf true stellen

this.crystalReportViewer1.DisplayToolbar = true;

//Create an instance of the strongly-typed report object

crReportDocument = new BerichtOfferteNeu();

//Create a new instance of a discrete parameter object to set the

//first value for the parameter

crParameterDiscreteValue = new ParameterDiscreteValue();

crParameterDiscreteValue.Value = txtOffNummer.Text; //OffertenNummer

//Define the parameter field to pass the parameter values to

crParameterField = new ParameterField();

crParameterField.ParameterFieldName = "OffertenNummer";

//Pass the first value to the discrete parameter

crParameterField.CurrentValues.Add(crParameterDiscreteValue);

//Create an instance of the parameter fields collection, and

//pass the discrete parameter with the two discrete values to the

//collection of parameter fields

crParameterFields = new ParameterFields();

crParameterFields.Add(crParameterField);

//The collection of parameter fields must be set to the viewer

crystalReportViewer1.ParameterFieldInfo = crParameterFields;

//Set the viewer to the report object to be previewed

//This must be done after the parameter information has been set

this.crystalReportViewer1.ReportSource = crReportDocument;

this.crystalReportViewer1.Zoom(70);

Quote:
}

private void crystalReportViewer1_ReportRefresh(object source,
CrystalDecisions.Windows.Forms.ViewerEventArgs e)

{

Quote:
}



Mon, 07 Nov 2005 01:12:03 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Enter Parameters values => Why?

2. Access: Enter Parameter Value

3. Enter Parameter value CHR(13)

4. "Enter Parameter Value" window in A97

5. Enter parameter values -dialogbox

6. Enter Parameter Values dialog box

7. >>>Feed Access Parameter From A Batch File

8. Change a Style>Paragraph>line spacing value via VBA

9. using The Shell Command >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

10. How to pass a value from EXE -->IE50 container -->ActiveX Document

11. <<<<<<<<ComboBox>>>>>>>>>>>>

12. How to pass a value from EXE -->IE50 container -->ActiveX Document

 

 
Powered by phpBB® Forum Software