Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8734

Re: Being prompted for a parameter

$
0
0

Hello,

 

I have gone to the Database Expert and checked the links. Whether I populate the dataset with dataadapters or tableadapters, I randomly get prompted for the parameter value. I can enter one or click cancel - and either way, CR uses the value passed in code. I have made a test report that had no dataset at all - it just displayed the parameter value that was passed to it with   rpt.SetParameterValue(0, "Hello World"), and I still get prompted at times.

 

 

I have decided to create a table with one text field. After deleting the one record, I put what I want as a header in that field. I created a report based on the new table that I use as a sub report in the header of the report that started all of this. No parameters - no prompting.

 

 

 

Ralph


Viewing all articles
Browse latest Browse all 8734

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>