Solved

SetParameterValue shows prompt

Posted on 2006-06-16
3
3,461 Views
Last Modified: 2012-05-05
I use the version of Crystal Reports that comes with VS2005.

I use the SetParameterValue to set the value of a boolean parameter and I always get a prompt to provide a value when I request the report.

I was using the exact same code in VB.Net 2003 and I was not getting any prompt.

How could I get my report without any prompt?
0
Comment
Question by:Éric Moreau
  • 2
3 Comments
 
LVL 69

Author Comment

by:Éric Moreau
ID: 16922160
The funny thing I just discover is that if I create a completely new report, the SetParameterValue method is working correctly (without displaying any prompts).
0
 
LVL 69

Author Comment

by:Éric Moreau
ID: 16922745
I found it.

I was calling SetDataSource method after having set the called the SetParameterValue method. This resets the HasValue properties of ParameterField to False.

The same sequence was working perfectly in the version that is bundled with VB.Net 2003.
0
 
LVL 1

Accepted Solution

by:
kodiakbear earned 0 total points
ID: 16923942
Closed, 500 points refunded.
kb
Experts Exchange Moderator
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now