How to show/display images dynamically from SQL Database to Crystal Report 7? - crystal-reports

EDIT: I've already asked this also in SAP and I already have an
answer regarding my concern. Please see it in Answer section below.
I would like to ask for help in how can I display the image in Crystal Report 7 details section from image (byte) database field? As I've tried to place the image in details section, there's no image shown in design/run mode. I've tried to include another database field to make sure there are records retrieve and as per testing, the other details (like imgID & imgName) were displayed.
I've been searching for solution to this for several weeks but I still cannot find any answers. I'm hoping someone could help me solve this.
Thank you in advance!

Since Crystal Reports were handled by SAP, I've also posted my question in SAP Community Network.
BLOB fields (in Crystal Report 7) are no longer supported by MSSQL 2012 (the database I am using).
You can view it the full thread here... http://scn.sap.com/message/16233263#16233263
Thanks!

Related

Is Master Page concept available in Active reports 9?

Hey Hi Every one can any one help me out,
I am using Active Reports 9 in C# , and very much new to this. I want to generate multiple reports suppose for example say 'Menu items' and 'Menu costs'. I want same Header and footer for all my reports. I searched and goggled but is this possible if possible how ?
Thanks in advance.
There is the concept of Master Reports in both Section Reports and Page Reports, that will give you exactly what you're looking. So in addition to the link you provided you have Master Reports with Content Areas similar to Master Pages in ASP.NET
Master Reports
Hope this helps.
Thanks Tim Ogilvy, your posted link helped me to Find what i need.
Here is the Link http://helpcentral.componentone.com/nethelp/AR8Help/AR8_HelpOnlineEN/InheritaMasterReportSection.html
Every thing is in Deatil how to make common layout in Active reports.

master-detail style report with jasper

So, I have a report to make, and I need some help to clear up some doubts.
The report has to show information about 2 tables related in a one-to-many
fashion, like, a "post has many comments" kind of thing. So, in the detail
section data about "the post" and "the comments" related to it should be
printed, if any. My question is: is it possible to create such a report
with jasper?
Initially I thought of using a subreport to fill in the comments in the detail
section for each post, but couldn't figure out how could I use the ID of the
post to get the comments and fill the report, if it's possible at all that is,
and the tests made so far to try to use such ID haven't succeeded yet. Any
help or pointer to the answer (if it already exists at SO) will be appreciated.
Of course you can do that. You might try with Jasper Groups, but it will require a query extracting data from a joint of the two tables. And as you're already trying with Sub-Reports, you should take a look at this post. It's quite straightforward: Master-Detail JasperReports

IReport Document Has No Pages

I have encountered same problem 'Document Has No Pages' issue as described in Jasper Reports And IReport Issue. I applied the solution provided in the given link and it started working. I am stuck behind the concept. My main point of concern is, when we are using detail band and we don't give a data query it gives Document has No Pages error. As soon as we give a dummy query in data query, it starts working. Kindly note that, i am using a subDataSet for a table component. That's where IReport generates this issue. Any pointers would be helpful.
Keep in mind that This is not an error but this is how it is configured to do.
This happens when you don't have results to display in the report from the database. But still you can set option what to do in this situation.
In Jaspersoft iReport 5.6.0
1. right click the report
2. Go to properties
3. Find **When No Data**
4. Select one from the options
There you'll see some options as No Section, No Detail, Blank Page, No Data Section, No pages.
Choose the one suits you. -_(--)-_

My Crystal Report is not getting refreshed while passing parameter?

I have created my Crystal Reports using SQL query in Crystal Reports itself, by passing two parameters, i.e, say for eg:- Month & Year.
While I preview the report, I can able to navigate through all pages by passing different parameters and its working fine, but while viewing the report through browser I can't able to view the current report instead is loads the previously generated report, but while I manually make refresh the crystal page in toolbar I can see the current report, even I can't navigate the current report.
Can anyone help me on this?
Try checking the 'Discard Saved Data When Loading Reports' option.
Should be able to find it here:
Right Click/Design/Default Settings/Reporting/Discard Saved Data When Loading Reports
Not sure if that will fix your problem or not but definitely worth a try.
go to file> save data with report.......
I think it will help you
I know its too late for the reply, but I was facing the same problem may be somebody else will go through the same. I applied many hints from different sites including stack-overflow but finally I solved my problem with this code snip..
crystalReportViewer1.Refresh();
crystalReportViewer1.RefreshReport();
Thanks!

Crystal report SetDatasource issue

I am working on a Classic ASP page with VB6 code. We are in a process of converting the crystal report and iis server for migration. We are not able to generate the report. When i debugged till the point i call the "Database.SetDataSource CDOSet, 3,1" it works fine. When i comment that single line i'm able to get the report without any data. We are also using the .ttx file for database connection(Field Definitions Only). Kindly suggest me were could have been the mistake. What all things i need to check for the migrating?
*crystal report 9 to Crystal report 2008, iis 5 to iis 6
First thing I'd suggest you look at is the Schema for the dataset and make sure it matches exactly with what the report is expecting.
Is it possible that while migrating some of the datatypes have changed and thats whats causing your problem now? if so it might be a simple fix to change the datatype in the report to match the new dataset
I don't have any experience with your setup, but my first guess would be a permissions issue. I would try looking at the event viewer on the server for more information, then the IIS logs.