Solved

Crystal report XI subreport linking errors using a stored procedure

Posted on 2009-07-01
4
268 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
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 …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

792 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