Solved

Crystal report XI subreport linking errors using a stored procedure

Posted on 2009-07-01
4
267 Views
Last Modified: 2012-06-27
ok -

I am feeding parameters via a command to a stored procedure.  that stored procedure is linked in a subreport in crystal.  The links were all working fine and all the sudden the  {start date} and {end date} subreport links drop off my report stops working.  I have attached some screenshots for review.

Any help would be wonderful... I have no idea how to get my parameters linked  back.

Mike
Subreport-links-dropping-off.doc
0
Comment
Question by:eparmpd
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
pssandhu earned 500 total points
ID: 24757615
Try to make the crystal report parameters datatype datetime as well so that it is the same as defined in the stored procdure. I have had issues sometimes when the datatypes were different.
See if this helps.
P.
0
 

Author Comment

by:eparmpd
ID: 24757731
No it did not help...  In fact I cannot change the parameter from a string. it keeps on reverting back...  When I try to send it I get a failure of: error 42000 - invalid syntax near 2009.

I have to assume 2009 is the date that I entered in the parameter to verify the database.

verification-error.doc
0
 
LVL 17

Expert Comment

by:pssandhu
ID: 24763971
Are you sure you do not have any dates specified under "Record Selection"? If you are make sure you are coverting it into the correct datatype there.
Also, make another copy of the report so we can test. On the copy delete the SQL Command and use Database Expert to link to the Stored procedure. When you link to the stored procedure the paramets should be created automatically and then check to see if you can link to the subreport.
Between, is you subreport a stored prc too. Try refreshing the subreport on its own to make sure there are no problems with the subreport.
P.
0
 

Author Comment

by:eparmpd
ID: 24797806
I was wrong... I implimented the solution incorrectly.  pssandhu was right .\

Thanks!

Mike
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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