Calling Crystal in Applets
Hi ,
Can some one please e-mail me or post a complete step by step instructions on how to call Crystal Reports in APPLETS. I have the ReportViewerBean.jar files. But I am not being able to figure out how to use it. I am using Tomcat3.2.1 and IE 5.x and Crystal 8.5.
My e-mail is [email protected]
Any help will be highly appretiated.
Thanks and Regards,
Gary Grewal
please visit www.geocities.com/pmk16
Similar Messages
-
Call Crystal Report 8 from JSP?
Can anyone help me on how to call Crystal Report 8 (*.rpt) from JSP page? The JSP is deploy into J2EE application.
Thanks
KennyThere is not any direct support, but you can use INet Crystal Clear API. It comes with an Applet client, and you can use that applet client from jsp to display crystal reports.
-
How do you use a main applet to call other child applets?
Hello Everyone!
I have created three separate applets that animate different colored walkers that walk across the web page with each applet doing what I need them to do. I need to create a main applet that displays a component that allows the user to select how many walkers(1-3) they would like to see displayed walking across the screen. The main applet should call only one walker applet if 1 is selected, call two applets if 2 is selected, or call all three applets if 3 is selected.
My textbook has covered how to call other classes in an application but not a main applet calling other applets. I have gone through the tutorials but have not found anything related to what I need to do. Google didn't have any good ideas.
Another possibility that would work would be to have one applet with each walker having its own method to be called based upon the selection. Then again, my textbook didn't cover calling methods within an applet.
Any hints or suggestions would be greatly appreciated on these issue.
Thanks.
UnclewhoRemember, an Applet is nothing more than a Panel (or JPanel for a JApplet) - basically an empty graphics container waiting for UI or graphics commands.
You do not have a "main" applet as you do when you create an executable application which requires the 'main' method.
The best thing to do, is simply do an HTTP Redirect to a page created with the desired number of "walkers". In your cause, the most you'd need is 3 walkers, so 4 pages - 1 redirect page, and then a page with 1 walker, a page with 2 walkers, and a page with 3 walkers. -
How to Call Crystal Viewer in a Web Appl such as VS 2005
Post Author: RHerbert
CA Forum: .NET
I am new to web development and I was wondering if anyone knows of a document somewhere that explains the steps o how to incorporate Crystal Viewer inside to app to call crystal reports. I found on on doing this for a standalone application, but don't know if any exist for web.
I would appreciate if anyone could let me know or maybe provide some advice.
Thanks
HerbPost Author: Argan
CA Forum: .NET
http://support.businessobjects.com/communityCS/FilesAndUpdates/vbnet_web_samples.exe.asp -
How can I display the HTML page from servlet which is called by an applet
How can I display the HTML page from servlet which is called by an
applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
I am calling my struts action class from the applet. I want to show the response in the same browser.
Code samples will be appreciated.hi
I got one way for this .
call a javascript in showDocument() to submit the form -
URGENT!!! calling crystal reports from oracle forms 10g
Is it possible to call crystal reports from oracle forms 10g?
Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
Please provide codes with details showing step by step.
Thankshi
try something like this.
DECLARE
charWinHandle VARCHAR2(50);
numWinHandle NUMBER;
BEGIN Set_Application_Property(Cursor_Style,'BUSY');
charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
numWinHandle := To_Number(charWinHandle);
:Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
:= numWinHandle;
:Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
:Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
:= 'DSN=;UID=' || Get_Application_Property(UserName) ||
';pwd=' || Get_Application_Property(password) || ';dsq=;';
Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
'C:\Sample_Rep.Rpt' );
Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
Set_Window_Property( 'MAIN', Window_State, Maximize );
:reptitle := 'Report Preview Window';
numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
Set_Application_Property(Cursor_Style,'DEFAULT');
END;NOTE: Change the report name and path according to your required file name and path in
the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
assumes that you will use the current USER and PASSWORD for the Form.
- To make the above Form generic so that you can run any Crystal report from it, then create
a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
Then just replace the file name with the passed parameter.
-. Run the Form
If its correct/helpful please mark it thanks.
sarah
Edited by: S@R@h on Nov 27, 2009 6:33 AM -
Calling Crystal Reports from Oracle Forms 6i
Hello
I am trying to invoke/call Crystal Reports from Forms 6i.
I have created OCX Item, while right click on item and insert-object, i am unable to see "Crystal Report" Control.
I have installed crystal Reports 2008 (Version 12) and CR Standard Production version 9.
Is there any Active X control registration in forms.
I could see "Crystal Report Viewer Control 9" and "Crystal Report Print Control 12.0"
Could some one help me,
Thanks
TumugantiDid u Succeed in calling crystal Reports XI from Forms 6i
or from Forms10g
for me also the same Requirement
please send any document ,Attachment ,steps to call Crystal Reports XI from Forms
[email protected]
Message was edited by:
user501763 -
Dear All
Can you please assists me with code to call Crystal reports in Abap program.
Thank you in advance
Williamhi,
please see :
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/156e3fefa13042e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/004aacbb-4983-2b10-8da7-cdff5dcbb948
it will help you
regards
rahul -
Java calling Crystal Report API [Error_NotEnoughRight ]
Hi All,
I am trying to call Crystal report's Java API in my JSP and Servlet.....The viewer as such is working fine.....But when I add a grouop to a Report it gives the Following Error... This is an example code copied from this forum....u can find that from
http://support.businessobjects.com/library/kbase/articles/c2011829.asp
Code Used
============
//Add a group, on [Country] to the report
Group grp = new Group();
IField countryFld = custFields.getField(12);
grp.setConditionField(countryFld);
/**********Failing in the Following Line Start ***********/
rptDoc.getDataDefController().getGroupController().add(0, grp);
/**********Failing in the Following Line End ***********/
Error Message
=============
Customer Name java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Error_NotEnoughRight
Print Stack Trace
===============
java.util.MissingResourceException: Can't find resource for bundle java.util.Pro
pertyResourceBundle, key Error_NotEnoughRight
at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
at java.util.ResourceBundle.getObject(ResourceBundle.java:311)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at com.crystaldecisions.client.helper.ResourceManager.getString(UnknownSource)
at com.crystaldecisions.client.helper.SDKResourceManager.getString(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.af.try(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.GroupController.add(Unknown Source)
at org.apache.jsp.FlexibleReport_005fTry3_jsp._jspService(FlexibleReport_005fTry3_jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:536)
Thanks in Advance
KababuCROSS POST
http://forum.java.sun.com/thread.jsp?forum=53&thread=549788&start=0 -
<p>Hi,<br /><br />Can anyone pl send me an e.g of how to call crystal reports from java ? Preferably crsytal version 10. how to instantiate a crystal report viewer? how to pass parameters? how to set the connection string?</p><p>my email is <a href="mailto:[email protected]">[email protected]</a><br /><br />Regards,</p><p>Hui Bee<br /></p>
<p>Hi Hui Bee, </p><p> There are a number of version 10 samples available contained in the following package:</p><p><a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_jrc_samples.exe" title="JRC 10 samples">http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_jrc_samples.exe</a></p><p>However, I would strongly suggest that you take a look at using the latest version of the Java component that ships with our Crystal Reports for Eclipse product. You can download it from here:</p><p><a href="/node/450">http://diamond.businessobjects.com/node/450</a></p><p>and best of all, it's free! </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a> </p>
-
How Can I call Crystal report from R3?
Hi experts,
How Can I call Crystal report from R3?Hi Bill,
Can you please be specific and could you please provide the steps
Thank you -
Hi Expert,
I developed a scenario for Call Crystal Report.
But when I call the crystal report it's give me below error.
"com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: InternalFormatterException---- Error code:-2147467259 Error code name:failed"
Thanks,
TusharHi Tushar
As far as I remember I had a similar problem and in my case it was due to specific font used in report definition. I did like this: first I checked if the problem persists if I use very simple report and it revealed that the problem was gone; then I started to remove parts of my report and checked if the problem shows up again. After some time I found out that one of the font was responsible - I don't know why.
Kind regards,
Radek -
How to Call Crystal Reports from Swing Application
Hi All,
I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
Thanks in advance.
Chandrahi
this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
import java.awt.*;
import javax.swing.*;
import com.crystaldecisions.ReportViewer.*;
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
public class HelloSwing
public static void createAndShowGUI()
try
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
JFrame frame = new JFrame("HelloWorldSwing");
frame.setTitle( "Testing Reports");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
viewer.init( new String[0], null, null, null);
ReportClientDocument rpt = new ReportClientDocument();
rpt.open( "report path", 1 );
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource( rptSource );
frame.getContentPane().add( viewer, BorderLayout.CENTER );
frame.setSize( 700, 500 );
frame.setVisible(true);
viewer.start();
catch ( Exception exception )
System.out.println( exception.toString() );
public static void main(String[] args)
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
specify the key in the CRConfig.xml file (which also has to be imported in the package)
u can find these jar files in the common objects folder in your program files.
hope it helps. best of luck -
How to call crystal report from plsql
How to call crystal report from plsql?
http://asktom.oracle.com/pls/ask/f?p=4950:8:14685899341865976974::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:952229840241,
-
Calling crystal reports 11 from oracle forms 10g
Could you provide me step by step a solution on how I can call crystal reports 11 from oracle forms 10g application.
Hi,
Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
-Arun
Maybe you are looking for
-
4s with ios8 - battery drain issue - possible clue?
I am one of the 4s users who is experiencing significantly accelerated battery drain since upgrading to ios 8.0 the first day it was released. My battery will drain from %100 to less than %50 in less than two hours with typical light use. Previousl
-
MULTI LEVEL REPORT FOR STOCK TRANSPORT PURCHASE ORDER
Hi, I will have lot of stock transport purchase orders,like md4c transaction where we get multilevel report for sale order/production order,is there any report for stock transport purchase orders.its urgent kindly help
-
Hello, my old pc ran vista o.s. and the mother board died but the hard drive was good. I got a new system running windows7 and installed old hard drive to recover pictures and other data. How do I get my itunes and all my music back up and running.
-
HT4623 When I go to General there is no Software update catergory. WHat's with that?
I would like to update the OS on my iPad 2. The current OS is 4.3.3 WHen I go to Settings>General> there is no software upgrade prompt. How do I upgrade teh system?
-
Media Encoder CS4 always crashes under Win7!
The CS4 media encoder was quite a downstep from the simple and solid one in CS3 in terms of usability and stability. In Vista I had to deal a lot with crahes here and crashes there depending on file formats or number of passes, it could rarely get th