I've using Cristal Report for some time. and I have a problem.
I need to resize the preview window. This window is made a child window of CRPEPlusView wish is derived from CView folowing the Document/View parathigm.
Then when I resize the application frameWindow the prevw window of Crystal Report don'st do it. there's any way to get that window's handle to rezie it or other way of doing it....
void CRPEPlusView::OnReportPreview()
{
...
GetClientRect(&Rect);
if (!app->printJob->OutputToWindow("Crystal Reports Class Demo",0,0,Rect.Width(),Rect.Height(),WS_CHILD ,this))
AfxMessageBox(app->printJob->GetErrorText());
else if (!app->printJob->Start())
AfxMessageBox(app->printJob->GetErrorText());
}
My Derived class from CWinApp has this two objects.
CRPEngine printEngine;
CRPEJob *printJob;
I have a report that works fine, it access a free table database using a DSN. When one of the tables is corrupt, the report crashes and the ASP web page kills IIS. I want to set a time out to the web page to stop it and let IIS to continue with it service. What can i do?
I have created a VB app, that will display crystal report.
The problem now is I have set my MS Access database a password. Therefore I cant view my crystal report now.
can u help me with this problem?
hi,
I meet this question too,i used SQL 2000. So Should I stores all picture files content into database's image field? I only want to show a picture according a picture file whose name stored in database and picture file stored in my disk.
Can you give me a reply and some code?
I am using Crystal Report 8.5, I have designed my report into the .DSR format. I have created Setup of my application to Install, It installs the app on other system. But when I run the report it gives me error.
It shows Crystal Report Viewer and does not show the report but give this error Physical Database not Found.
Hi Babu: I have an ASP application that that uses crystal report, I need to access the SQL query, modify it and reset it dynamically at run time. I am thinking to use ISAPI filters to interrupt the calls to the .rpt files in the ASP. Is it doable? Do you recommend a different methods? PS note that I want to do this with the minimum or no change to the code in the ASP.
I have 3 reports in my app. they are successfully install/distributed to other system. I have one Problem with them
One report get open properly, but other two reports give error that is "SERVER has not yet open". I am using ODBC due to my multi-databases.
My Programming I Change registry Entries of ODBC. I think it is fine because my app is working fine, only two reports give this error. Visual Basic is used.
hi...
why some of crystal report component in VB not there when i install crystal report 8.5... but if i install the built in crystal report in visual studio 6.0 cd , all the component appear... this is the beginning of my curiosity as a newbie...
I have been trying hard to print a crystal report thru CrystalReportViewer. I am able to do it but the problem is that I donot want the print dialog box that appears with it.
I also tried PrintToPrinter method of Report which does not bring up the dialog box but that does not help either as here the arabic characters in my report are printed as junk characters.
So one of the two things will solve my problem. 1. suppress the dialog box when printing thru crystal report viewer or 2. find a way to print arabic characters.
How can I generate report on a pc where crystal report software is not installed. Is it possible. Or what is the other way.
I am calling report in my program using crystal report ocx control. So how it will work without installing crystal report software. Should I convert report file to exe or some other way.
I need help regarding the crystal report group by function.
When we add a group by "DATE" with condition as "Weekly" it takes from Sunday to Saturday by default.But the requirement I have is Weekly should be from Monday to Saturday.IS there any way I can customize this group by function by Weekly where it can take days from Monday to Saturday?
Error when using more than one CR control in a single form
Hi to everyone.
I'm running a VB5 and crystal reports 4.6.1.
I have several CR controls in a form for different reports. When invoking the "cr.action = 1" in more than one cr control in the compilated .exe program I get the next message when closing the form:
XXXX caused a page fault
in module CRYSTL32.OCX memory location 0167:250127fb.
Registers:
EAX=00000000 ... etc.
Is anybody familiar with this error, and which is the solution?
Error when using more than one CR control in a single form
Hi to everyone.
I'm running a VB5 and crystal reports 4.6.1.
I have several CR controls in a form for different reports. When invoking the "cr.action = 1" in more than one cr control in the compilated .exe program I get the next message when closing the form:
XXXX caused a page fault
in module CRYSTL32.OCX memory location 0167:250127fb.
Registers:
EAX=00000000 ... etc.
Is anybody familiar with this error, and which is the solution?
What is your actual requirement, you want to skip the sunday?...
Thanks,
K.Babu
Originally posted by tamilselvir
Hi Friend
I need help regarding the crystal report group by function.
When we add a group by "DATE" with condition as "Weekly" it takes from Sunday to Saturday by default.But the requirement I have is Weekly should be from Monday to Saturday.IS there any way I can customize this group by function by Weekly where it can take days from Monday to Saturday?
Please reply
thanks in adv
Selvi
Please avoid sending emails to my personal mail:
write your doubts as thread in Codeguru
Crystal Reports Forum.
This will help all people having similar matters, and will let people who know solutions on the specific topic
share their knowledge.
Bookmarks