cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports 11 - A way to send a code for failure or success on execution

Former Member
0 Kudos

My boss wants me to try to send him a return code when a report is succesfully ran from his C++ program.  I can't see any way to do that.  Is this even possible?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

I moved your query to the SAP Crystal Reports - Legacy SDKs discussion forum. However this is only a guess that this may be the correct forum...

Please provide the following information:

Exact version of CR.

What CR SDK are you using (RDC, .NET)?

What is the development language you are using?

Is this an application developed in-house, or by a 3rd party (e.g.; do you have the source code)?

And as Ido mentioned, some more meat around the query would be appreciated...

- Ludek

Former Member
0 Kudos

Hi thanks for responding.  I am only using CR 11 R2.  I don't know what SDK my boss is using to write his C++ program.  I haven't got a development language program, only the CR 11 R2.  It is a standard report, uncomplicated.  I send this query:

Select * from BillingDetails, BillingReport, BillingTrunkDetails

Where BillingDetails.ReportID = {?REPORT_ID}

and BillingReport.ReportID = {?REPORT_ID}

and BillingTrunkDetails.ReportID = {?REPORT_ID}

Is there a way to send a return code based on some kind of response within CR??

Thank you again.

former_member183750
Active Contributor
0 Kudos

There is no way to send "a code for failure or success on execution" from the report file it's self. This would have to be done in the C++ code. My feeling here is that there is a bit of a miscommunication between you and your boss. You may want to clarify what it is he is exactly after.

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

Thank you so much, I appreciate that.  I had imagined that, that was the case.

Answers (1)

Answers (1)

ido_millet
Active Contributor
0 Kudos

There are a couple of ways to achieve this but, first, please clarify the reason behind the request.