I am having the same problem. I bought the Crystal Reports book from David McAmislast month. Unfortuneately there is some bug in C# with this interface or something we are not seeing. I tried the example in his book (under VB
) and you can easily get the parameter from a Text Box. He (David M) even says in the book to not drag the Parameter Field onto your report and the dialog will not appear. This is false, as I have tried that trick. My only parameter use is in a record selection formula. Then, his example shows the parameter dragged onto the Title section and it still does not bring up the dialog. I created the ParameterField ParameterFields and myDiscreteValue objects and still have the same dialog pop up and ask for the parameter. If I follow his rules in the book, or do exactly what he did in c#, I ALWAYS get the parameter dialog. If I do the example in VB
, it seems to behave as he has stated in the book. Because its C#, I cannot get to the embedded code that is generated to try and bypass this defualt parameter dialog. Tonight, I am going to try and install VS 2005 Beta to see if the problem exists. Also, I will try VB
isntead of c# (hate those Dim's! but I have to do it) as this is the only time I can get rid of that "automated" dialog, following the VB
example in the book.
DO any of the moniotors know what is going on here? I am using VB
2003, with Crystal Reports registered from VS.NET. Is there an upgrade that will fix this? DO I just need to try VB
instead? IT seems that maybe the Crystal Reports/Visual Studio interface is more buggy in c#. The example works in VB
, but my entire applicaiton has been developed under c#.