Solved

Crystal report XI subreport linking errors using a stored procedure

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

14 Experts available now in Live!

Get 1:1 Help Now