Solved

Updating stored proc result set in Crystal Reports

Posted on 2010-08-27
9
1,206 Views
Last Modified: 2012-05-10
I added a stored procedure to a crystal report.  
After adding to the CR it appeared the same as a view/table with the fields (result set) on the left hand side under Database Fields.

But, unlike a view or table, I don't seem to be able to update changes.

i.e. I have added a number of columns to the result set that is being returned.   I then went into Set Datasourse Location, found the SP and clicked update.   New table fields were not added to the CR.

I can remove the SP and add it again, but this will not be an option in the future when the report is more developed.  I will need to be able to update it on the fly.

Any ideas?
0
Comment
Question by:obrienj
9 Comments
 
LVL 8

Accepted Solution

by:
kingjely earned 250 total points
Comment Utility
Hi

Go Database > verify database.

Then refresh your report

Kj
0
 
LVL 8

Expert Comment

by:kingjely
Comment Utility
A few other things oif that doesnt work,
go to database>Database Expert> right click in the left hand panel, > what options are checked?
Verify stored procedures on first refresh? THere are a few options in here you may need to adjust.

Then you may need to go DAtabase> log off server and log back on.

Then Database>verify Database, you should see your new columns added.

Kj
0
 
LVL 77

Expert Comment

by:peter57r
Comment Utility
Have tried the Verify Database option on the Database menu?
0
 

Author Comment

by:obrienj
Comment Utility
Okay, I tried to Verify Database.... got a load of error messages, so something is wrong here.

Query Engine Error: 'ORA-24372: invalid object for describe'

Query Engine Error: 'Fail to describe a database object. OCI Call: OCIDescribeAny'

Query Engine Error: "

Then repeat of error message again.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:obrienj
Comment Utility
btw, since then I can't preview the report either... get the same error messages (wasn't getting this prior to the verify database)

0
 

Author Comment

by:obrienj
Comment Utility
okay, it appears my SP wasn't compiled somehow.
0
 

Author Comment

by:obrienj
Comment Utility
Okay, still trying to verify the database.


When I click it, it comes up with the Parameter box.  I leave these set to null and click okay.
It then gives me the following error message:

Query Engine Error: 'ORA-24338: statement handle not executed'
Query Engine Error: ''

0
 
LVL 19

Assisted Solution

by:GJParker
GJParker earned 250 total points
Comment Utility
Try enetring some values fior the parameters when verifying teh database.
0
 

Author Closing Comment

by:obrienj
Comment Utility
Thanks, that last bit was the key, had to have parameters for some reason. (Actually thinking about it it makes perfect sense as it has to get the result set for the SP).

Cheers for the help.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

6 Experts available now in Live!

Get 1:1 Help Now