Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Report parameter not effect Post Reply Post New Topic
Author Message
delphi.about
Newbie
Newbie


Joined: 05 Sep 2012
Location: Vietnam
Online Status: Offline
Posts: 5
Quote delphi.about Replybullet Topic: Report parameter not effect
    Posted: 11 Sep 2012 at 11:04pm
Hi Guys,

I have problem with crystal report 2008 sp5 and vs2010.
I have an report call store procedure with 5 parameters.
In vs2010 source code i supply 5 parameters correct but not data show.
I try to trace executed sql in SQL Profiler but all parameter input to store procedure is NULL. But when i make a new report with the same store procedure and the new report show OK and SQL Profiler also see input parameter into store procedure.
It taken me one week debug but found no thing.
I have a lot of report, so can't re-design all again.

Thanks for your help.


IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 12 Sep 2012 at 4:27am
all that comes to mind is verify database.
 
are you setting the parameters in code and then displaying the report, or is the parameter screen displayed, user enters parameter, and then report displayed.
 
if the first, the only other thought is if the parameters are spelled the same.
 
HTH
IP IP Logged
delphi.about
Newbie
Newbie


Joined: 05 Sep 2012
Location: Vietnam
Online Status: Offline
Posts: 5
Quote delphi.about Replybullet Posted: 12 Sep 2012 at 8:02am
Originally posted by lockwelle



all that comes to mind is verify database.
 
are you setting the parameters in code and then displaying the report, or is the parameter screen displayed, user enters parameter, and then report displayed.
 
if the first, the only other thought is if the parameters are spelled the same.
 
HTH


Thanks for your relay,
I setting parameter value in code vb 2010. I had verify database ok. But in Reportdocument the parameters value not effect.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 12 Sep 2012 at 11:50am
sorry, I don't have much experience with setting the parameters in code. We get the data and then set the datasource of the report.
 
Sorry I can be of more help
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.