How to read Crystal Reports Parameters
I am using vs 2010 ,Crystal Reports, VB.Net , ASP.Net 4.0 and Telerik control RADCOMBOBOX.
I what to be able to read a reports parameter values and populate the RADCOMBOBOX with the values of the
Crystal Report Parameters.
How do I read; get access to those report parameters. The parameters for the report may be one to mutiple parameters.
Thanks in advance... I'm under the gun
Hi,
The parameter fields on the report can be accessed using the In Proc RAS .NET SDK.
Take a look at the Crystal Reprots for Visual Studio 2010 [RAS .NET SDK Developer Guide |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_dg_en.zip] and the [API Reference Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_api_en.zip]
Sample applications are available [here|http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/b02c1cac-ad86-2b10-88ae-cb36551bab06].
Hope it helps,
Bhushan.
Similar Messages
-
How to read Crystal Report file Design version programmatically
Hi,
I am working on a project where I need the read Crystal file header and extract information that which designer was used to create the (Crystal) report. This will help me do some specific task if the version of the crystal used is very old (say older than 7.0), relatively new (say between 7.0 and 11.0) and the latest (11.0 or later).
I have downloaded the SDK and all the dlls, but I just couldn't find any API or function using which I can get this info.
Could you please let me know if there is any way to read this information programmatically from a crystal file?
(I know this info can be seen in Crystal designer, but I need to do it at runtime).
Thanks.
Edited by: addi2011 on Mar 14, 2011 2:02 PMUnfortunately, not enough info...
if you are using CR for Eclipse, please post your query here:
SAP Crystal Reports, version for Eclipse
Before you do, I'd highly recommend having a quick peek at this:
What do I need to do to get the fastest issue resolution?
If you are using BI, post your query here:
Java SDK Application Development
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
How to do crystal reports in bi-7 i need clear steps
how to do crystal reports in bi-7 i need clear steps
Hi,
Please read the following documents.
I am sure that this is going to help you in creating crystal reports.
Regards,
Subha
Pls grant me points if it is found useful
Use
The Reporting Agent allows you to precalculate BEx queries (as useful queries) for Crystal reports in the background. This is a device used to improve system performance when executing Crystal reports.
Prerequisites
· In the BEx Query Designer, you have defined a useful query for Crystal Reports and determined variables for the required characteristics.
· You may want to apply a filter when precalculating this useful query using a control query (see Parameter Filtering in the section below). In this case, you need to have created an additional suitable query in the BEx Query Designer.
The associate variable must have the type Changeable with Query Navigation. Other variables can have any type.
Procedure
1. Choose the REPORTING_AGENT transaction code.
2. Select Precalculating Crystal Reports Queries and choose Execute.
3. Navigate to the required query in the left-hand Reporting Agent Settings tree.
4. You have the following options for creating a new setting:
- Choose New Setting from the context menu.
- Choose Create New Setting.
The New Reporting Agent Setting dialog box appears.
5. Enter a technical name and a description.
The following information is displayed on the General tab page:
- The functional area of the setting is Precalculation of Crystal Reports Queries.
- Information about the query for which you are creating a setting is shown under the Query group header (description, technical name, InfoProvider).
- After the setting has been saved for the first time, the system displays details of the last person who changed the setting and the time this change was made, under the Last Changed On/By group header.
- Under the Setting is Used in Packages group header, the system displays information about the packages in which the setting is used, and how they are scheduled. This information can only be displayed if you have defined the setting and assigned one or more scheduling packages to it.
6. Choose the Parameters tab page.
7. Determine whether precalculation of the Crystal Reports queries are to be parameterized using a filter and using variants.
For more information and recommendations for choosing parameters in a straightforward example, see Parameterizing Crystal Reports Queries Setting.
Filtering Parameters
No Filters
When you do not want to use a control query to precalculate variables, choose No Filter.
You can combine this option with parameterization using Variables (see below).
Explicitly Using Query Result
If you want to use a control query when filtering, choose Explicitly Using Query Result. You can now make entries in the Control Query and Variants fields.
Specify the technical name of the control query. Input help is available. After you save your entries, the system updates the information according to your selections.
You only need to specify a variant when the control query contains input-ready mandatory variables. This does not happen very often, however.
You can combine this option with parameterization using Variables (see below).
Parameter Variants
After making your setting for filtering a parameter, you can process variant for the individual characteristic values of the variables set in the useful query.
Note: The variable screen only offers such variables when they have not already been filled by the control query. (This can also include variables of type Changeable with Query Navigation, as long as they arent filled by the query).
You can choose from the following functions:
Create a Variant
A dialog box appears in which you can choose values for the SAP variables used in the useful query, in the Query Selection area. Input help is available for those InfoObjects for which SAP variables have been created.
Enter the required data.
Choose .
Change Variants
Delete Variants
If you have already created one or more variants, the system lists these in the lower part of the screen. Choose the variants you want to change or delete and choose the appropriate function. -
How to invoke crystal reports from Oracle forms 11g R2 along with passing p
How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
how to pass parameters to crystal report, please help.how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
cheers -
How to Deploy crystal reports in BOE
Hi,
I have two questions.
1.How to deploy crystal reports in BOE server.
2.How many ways is there to deploy crystal reports in BOE server and name of the method is needed.
Anyone knows about these details could you please reply me
Regards
Babu NI am not sure what you are asking.
Are you trying to publish reports into Enterprise so they can be run from say infoview, scheduled etc? If so you can either use the publishing wizard or do a save as from the Crystal Reports designer and save them to Enterprise directly. -
How to use crystal report in J2EE Project.
how to use crystal report in J2EE Project.. any one know please inform me...
thank you..http://www.inetsoftware.de/products/crystalclear/Crystal-Reports.htm?adwords=googleCrystal&gclid=CKDD1YDem5UCFRpknAodZA4EhA
I think this might help u... -
How to use Crystal Reports XI release 2 Preview with Lotus Notes Scripts ?
<br />Hi all,<br /><br /> How to use Crystal Reports XI release 2 Preview with Lotus Notes 7 Scripts ?<br /><br /> <br /><br />Thank's <br />
Hi,
we are using Lotus Notes and Crystal Reports for preview and printing reports from our Lotus Notes Applications. We use the RDC object model. For previewing the reports we export them in an pdf-file and then start the PDF Reader to show the Preview. This works fine.
But with Crystal Reports > 11 the RDC Object Model is no longer supportet, so we look for another way to preview and print our reports.
I try to preview a report build with crystal report XI release 2 in my thick client (Lotus Notes) using java reporting component JRC, this report uses an native xml file as datasource. If the datasource is saved with the report everything works fine, but otherwise I have the following error:
JRCAgent1 detected an exception: javax.xml.namespace.QName: method getPrefix()Ljava/lang/String; not found
I also tried the .jars from Crystal4Eclipse. Doesn't work. When I use Eclipse to view the report everything works fine. The class QName exitsts in the jaxrpc.jar and in the xbean.jar, but only in the xbean.jar a Methode getPrefix exists.
This is what we tried:
Works fine with RDC. Doesn't work with JRC until now.
Did this help you ?
Perhaps you con help me with the JRC, because I'm a java newbee so any ideas could be helpful.
Oliver
<p><a href="http://www.cominform.de">www.cominform.de</a></p> -
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,
-
How to export crystal report to excel through progeam
Hi,
Can any help me how to export crystal report to excel through program(C#). I'm using VS2005.
Also, the report should be in a pivot table format after exporting to the excel..please help me how to do this
Thanks,
VenkyHi Venkat,
The link below provides the code C# in an ASP.NET codebehind file
http://www.codeproject.com/KB/cs/Crystal_Report_Export.aspx
http://aspalliance.com/478_Exporting_to_Excel_in_Crystal_Reports_NET__Perfect_Excel_Exports.2
Regards,
Abhijeet T. -
How to read device report for HP Deskjet 1510
Hi HP,
I can see from the software provided with this printer there is this option to print the device reports.
Please assist on how to read this report because it consist of unknown coding and stuff.
I would appreciate if your side can help me on this coz I assume that we can track our usage through this report.
If this is not the purpose, perhaps you may suggest any other way to get an understandable usage reports?
Regards,
Nadiya
This question was solved.
View Solution.Hello Nadiya,
Welcome to the forums
I understand you are looking for a usage report. The printer will print a test page and you can see the page count on that page, along with the printer information, such as your serial number, etc. If there is anything else you may mean by "usage" please let me know and I will do my best to help.
Click this link: Fixing Ink Streaks, Faded Prints, and Other Common Print Quality Problems
In the guide, look under "Solution six: Print and evaluate a test page and troubleshoot defects" and print a test page.
Take care,
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution! -
How to design crystal report multi column
how to design crystal report multi column
for example
id 1001 id 1002
id 1003
name dinesh name dk name
dkn
address kota address jaipur address delhi
pin 3260356 pin 546332 pin
675942
id 1004 id 1005
id 1006
name dinesh1 name dk1 name
dkn
address kota1 address jaipur1 address delhi
pin 32606 pin 546345 pin
675942
and so on....................DN
I am afraid you have come to the wrong place. MS does not support Crystal reports except for
"Microsoft supports setup and installation for the Crystal Reports products shipped with the Professional and Enterprise Editions of Microsoft Visual Basic for Windows versions 3.0, 4.0, 5.0 and 6.0."
For other support you need to contact
For other Crystal Reports support, please do not contact Microsoft. Please contact Crystal Decisions (formerly Seagate Software), which now owns and supports Crystal Report Writer.
http://support.microsoft.com/kb/100368
Wanikiya and Dyami--Team Zigzag -
How to use crystal report in php
hello
i need help for how to use crystal report for view the database report spacilly crosstab report i need it very much to complete my project ill be very thank full for help
from farooqHello sir
i am sudeep and i need to deploy crstal reports in php
i want to integrate it in sugar crm (open source project(
can u plz tell me how to do it
i have written this code
<?php
//echo phpinfo();exit;
$ObjectFactory= New COM("CrystalReports11.ObjectFactory.1");
$crapp = $ObjectFactory->CreateObject("CrystalDesignRunTime.Application");
//$crapp = new COM("CrystalRuntime.Application.10");
$reportToRun="C:\Report4.rpt";
$creport = $crapp->OpenReport($reportToRun, 1);
//reportToRun=full path to *.rpt file
$creport->Database->Tables->
Item(1)->ConnectionProperties['User ID'] = $user;
$creport->Database->Tables->
Item(1)->ConnectionProperties['Password'] = $pass;
//fomatType = integer 22=xls, 31=pdf etc
$creport->ExportOptions->FormatType = $formatType;
//type 1 is to output to a file I think 2 is email
$creport->ExportOptions->DestinationType = 1;
//location = full path to report output file
$creport->ExportOptions->DiskFileName = $location;
$creport->DiscardSavedData();
$creport->Export(False);
?>
thanks in advance -
How to use Crystal Reports 11 with Visual C++ 2005 ?
Post Author: compvis
CA Forum: General
Hello everyone !
Plz tell me how to use Crystal Reports XI with Visual C++ 2005 ?
Thank you so much !Moved to .NET SDK forum.
Need more info, version of the assemblies you are using and the assembly file system version number ( not the same as what you see in the properties of the project.
As well, what happens if you use OLE DB as a test?
Thank you
Don -
How to use crystal reports in LabVIEW
Hi, Can anybody tell me how t use crystal reports in LabVIEW. If any material if you will be very helpful.
Regards,
RajashekaractiveX
-
How to use Crystal Report in Oraacle Jdeveloper
Hi all,
I am new in crystal report . i want information how to use Crystal Report in Oraacle Jdeveloper10g like how to call .rpt file in oracle Jdeveloper or how to compile .rpt file in crystal report
plz can any one help me regarding that matter
-AmolHello Amol,
The Crystal Report for Eclipse - Java-based Crystal Reports development - is integrated into the Eclipse IDE and IBM RAD.
However, it's not integrated with JDeveloper.
You can still access the Crystal Java Reporting Component to create Java applications to view Crystal Reports, but you'd not be able to create RPT files unless you use Eclipse or RAD.
More info for CR4E here:
[https://boc.sdn.sap.com/creclipse|https://boc.sdn.sap.com/creclipse]
Sincerely,
Ted Ueda
Maybe you are looking for
-
Excise Returns in case of intercompany
scenario in which goods are delivered from a factory plant and the delivery results in an inter company invoice (IV) ánd an normal customer invoice, so TWO company codes are involved. We register the order in CoCd IN01; delivery will be done from a
-
My "main" comp, the comp I have used for sync's, backups, etc. was destroyed in Afghanistan. I have been trying to update to iOS5 for 3 months and I am using a "new" comp, with latest iTunes, but it won't update; it spends hours backing up my iPhone,
-
Once I've imported all my FM files into RH 7, and I then later update the original FM files, does RH automatically update itself with those changes when I generate the help or do I need to delete the file and re-import?
-
The field name is not known error
Hi, I have a report that is pointing to database(db1). Can i change the database name to database(db2) in my c# application?when i am changing to new database name in my application i am getting error as "field name is not known". Please give some su
-
Lightroom 1.3 and Camera Raw 4.3 now available
See below: http://blogs.adobe.com/lightroomjournal/2007/11/lightroom_13_the_export_sdk_pr.html Regards, Tom