?
Solved

Crystal report XI subreport linking errors using a stored procedure

Posted on 2009-07-01
4
Medium Priority
?
271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
pssandhu earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

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