Crystal reports - PUSH blob data, image doesn't display - crystal-reports

I've a crystal report that I'm trying to get a dynamic image displayed. This is the CRBasic 2008 version that comes with VS 2008, so i can't use the method where we link out to the file, it has to come from the data source.
I'm pushing a strongly typed dataset to the report, which contains a byte[] field. This dataset is being populated correctly and the BLOB data in the DB is actually an image (verified it by getting it to display in a picture box in a windows form).
I've a BLOBField dragged onto my crystal design surface, but when I view the report, nothing gets displayed. Anybody have any idea why this might be happening?

Seems to have been a mismatch between the built dataset and what crystal was expecting. Surprised there was no error, but there you go..

Related

Crystal Reports: Adding new data table to results data set

We are using SAP Crystal Reports with Visual Studio 2010.
To enhance our program with a new report, we have created a new data table and added it to our results data set. The problem however is that it is not possible to refresh the results data set in the Crystal Reports editor. As the screenshot shows, a window appears where we are supposed to enter connection credentials, and then we get an error message.
We have already had this problem several times before. Once, when we did essentially the same thing (add a new data table), it worked. So it seems to work sometimes, and sometimes it does not. But: How can we avoid this problem? It is really annoying and so far, I have been unable to add the data table which I have created today. This is a big problem.

Crystal Reports Loading Database info

I have SAP Crystal Reports 2011 and use it to edit reports we use with JobBOSS ERP system. These reports were all put in place before I started here and am just now learning Crystal Reports. I am trying to edit the reports but am having issues.
So when I open the report in Crystal Reports the Field Explorer is showing that the file being used to pull fields into the reports is a TTX file. I know nothing about TTX files and assumed I could just find the data in my tables and import it in but apparently that wont mix well from what I am understanding. I have no clue what to do with the TTX and being able to populate the fields on the page with data from another table.
Where do I start with this? All of my forms use the TTX to pull data. Does anyone have any resources that can help me with this?
To change this report, you must use the report version in the JobBoss production report folder (.rpt). Save the .rpt to a work area. Make changes and then place back in the folder retrieved from. You can add tables to this kind of report but cannot change the .ttx table. The report must be run from within Jobboss. Save the original .rpt to a save folder first. Call with questions.

On demand sub reports in crystal reports

I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.
PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.
Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp

Report displays correctly in report designer, but displays no data when presented through the web viewer

My report is written in Crystal Reports for VS 2010 using c#.net. Its using the CR web viewer.
It displays everything correctly in VS and whilst testing it on IIS7 (locally) using the web viewer.
When I print or export the report (from the web viewer) all the 'fixed' fields (labels, text fields, images etc.) are printed but all the 'data' fields are not printed, just blank.
Have I missed a setting somewhere that allows the data in the report to persist?
Sounds like you might need to select Save Data with Report, which is on the File menu in Report Designer.
Looks like the reportdocument wasn't being saved to the session and restored correctly on a postback event. Modified a few bits and pieces and now its working like a charm.

VS2005 + Crystal Report error 'The Report Application Server failed'

I use VS2005, Crystal Report for VS2005 and Microsoft SQL Server 2005. I got a report, crystal report linked to a XSD, that displays perfectly when I call it from my application.
I added an 'image' field in my source table to add a an image to the table record (image in jpeg format). I store my image in the databse using VB.Net, the image is converted to an array of bytes. I added the field to my XSD file also, type : System.Byte().
Then I added the field to my report, now I get the message 'The Report Server failed'. I get this message on opening the report, the pop-up is displayed but never the report.
I read that when using Crystal Report & Stored Procs, it's best not to use BMP files, I tried JPG and PNG, didn't work either.
Any help? Please.
Thanks
If I right-click 'Insert Column' in my XSD it doesn't work, if I drag and drop the stored proc from Visual Studio's "Server Explorer" it works, go figure it out, but it works.