Tutorial on Report Language(.rpt file)

Can anyone send me any links or resources for understanding the report language of Oracle? from where I cud understand the syntax like
- .define
- .declare
- #nc
- #t
- #s
- .ifnull
- .print
- #dt
- .set
- .&[something]
- .execute
- #cl
- .if
- [chars]
- #r
- .[defined]
- .stop
- .commit
- #cen
- #cs
- .report
- #n
- ( [stuff] )
- .goto
- #te
etc....

Class! 10 duplicate posts. Possibly a record?

Similar Messages

  • Support for older Crystal Reports .rpt files in BOE XI 3.1

    Does anyone know how far back you can go with Crystal Reports objects in BOE XI 3.1? In other words, what's the oldest version of Crystal .rpts that are supported in BOE XI 3.1? Can you run Crystal Reports 9 .rpt files? I'm trying to keep from having to update around 4-5 thousand older .rpts files for an upgrade to BOE XI 3.1.
    If we have to do a mass upgrade to CR 2008, what's the best way to do that?
    Edited by: Michael Garrett on Aug 23, 2011 4:46 PM

    Hi,
    from an upgrade perspective you can upgrade from CE9 to XI 3.1. Check
    https://websmp105.sap-ag.de/~sapidb/011000358700001646952008E/xi3-1_bip_upgrade_en.pdf
    (S-User needed)
    Do you have a running CE9 installation? If yes i would recommend upgrading this to XI 3.1 as described in the Guide. Or have you these "4-5 thousand" CR9 documents local on a file location?
    Regards
    -Seb.

  • Localization of text objects in Crystal Report RPT file

    Dear all,
    Does anyone know how support multiple locale text (English and French) in one single Crystal Report RPT file.  Is there a way to parameterize  text objects (including tiles, axis,  of chart) in the Crystal Report RPT files to use some sort of locale resource file containing text string for different languages based on the users of RPT at runtime? The idea is to use one single RPT file to generate report for different locale text instead of creating RPT file per locale. For example, inserting a text object  in RPT file and it has text "Welcome" in English and use the same RPT file and parameterize that text object's text with a resource file and the text of that object will retrieve the proper localized text from that resource file at runtime based on the user's locale setting.

    Easiest way is to place duplicate copies of charts in split sections.
    If you have a chart in a group footer, split into two sections place English chart in one and french in the other.
    In section expert suppress section based on language field in database. You can do same with Text box or you can over lay two text boxes one in english one in French and then format text box to suppress depending on language. Looks really messy in designer but will be fine in Preview.
    Ian

  • Localization of CrossTab row and column label Crystal Report RPT file

    Dear all,
    Does anyone know how to support multiple locale texts (English and French) in CrossTab Row and Column Header labels and grand total labels? Is there a way to parameterize text objects CrossTab in one single Crystal Report RPT file to use some sort of locale resource file containing text string for different languages based on the users of RPT at runtime? The idea is to use one single RPT file to generate report for different locale text for CrossTab Row and Column abels and grand total labels  instead of creating RPT files per locale?

    Hi,
    Does the database have a column that identifies the language? If it does, then you could create two separate cross-tabs and place them in different sections and conditionally suppress the section depending on the language from the database.
    That's the only thing that can be done in my opinion.
    -Abhilash

  • Crystal report rpt file import error.

    Hi,
    when iam  importing rpt file after updating it's showing system message This  SQL transaction has completed,it is no longer usable. and it's showing operation sucessfully completed but it's not showing in manage crystal reprots list.plaese help me how we can show reports when we impoer new rpt files.
    regds,
    sampath.

    I think, at the best what you can do is password protect the report to isolate it from any changes being made.
    Go to File>>Report Options and check the 'Save lock report design' check mark.You will be prompted for a password and then the report is safe from any undesired modifications.
    Unless a valid/correct password is provided,users will not be able to make any changes in the report,however they will be able to open/view it.
    Thanks

  • How can I show the last amend date of the .rpt file on my report?

    I want to show the last amendment date of the .rpt file on my report. 
    Modification date and time refer to the actual report rather than the .rpt file.
    Does anyone have any suggestions?  I am using version 11.2.
    Thanks,
    Anne-Marie

    annemarier,
    Have you tried the "Modification Date" or "Modification Time" fields located under the Special Fields section of the Field Explorer?
    I've never used them, but they seem like good candidates.
    Jason

  • Can I edit the rpt file & change the datasource before loading the report?

    We are an ISV and our application has a lot of reports.  Our reports use a SQL Server database as the data source and each SQL Server at our customer sites has a different name.
    In our testing we have determined that ReportDocument.Load tries to connect to the SQL Server that is saved in the RPT.  If it can't fine the SQL Server saved in the RPT the load take about 60 seconds while it is waiting for the SQL Server Connection to time out.
    We are using the Visual Studio 2008 version of Crystal Reports.  This did not seem to be a problem with VB6/CR8.5.
    We would like to edit the RPT and change the data source to the appropriate SQL Server before we call ReportDocument.Load.
    Is it possible to edit the rpt file and change the data source before loading the report?
    Or is there some way to tell Crystal not to try connecting to the DB
    during the report.load?
    In our case we will NEVER use the data source that is saved in the RPT, we will always change the data source using ApplyLogOnInfo.
    Thanks

    HI Todd,
    You Can Not edit the report document before ReportDocument.Load() because if you dont load the report then you dont have anything to Edit
    But as far as changing the datasource is concerned you can change that at runtime.
    For changing the datasource following code will help you if both databases have a same schema :
    Code for changing the database
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    crConnectionInfo.ServerName = "SERVER";
    crConnectionInfo.DatabaseName = "DATABASE";
    crConnectionInfo.UserID = "USERID";
    crConnectionInfo.Password = "PASSWORD";
    // Loop through the ReportObjects in a report and find all the subreports
    foreach(ReportObject crReportObject in crReportDocument.ReportDefinition.ReportObjects)
         // Check the kind of the ReportObject, if it is a subreport
         // proceed. If not skip.
         if(crReportObject.Kind == ReportObjectKind.SubreportObject)
              // Get the SubReport in the form of a ReportDocument
              string sSubreportName = ((SubreportObject)crReportObject).SubreportName;
              ReportDocument crSubReportDocument = crReportDocument.OpenSubreport(sSubreportName);
              // Use a loop to go through all the tables in the main report
              foreach(Table crTable in crSubReportDocument.Database.Tables)
    // Get the TableLogOnInfo from the Table and then set the new
    // ConnectionInfo values.
    TableLogOnInfo crLogOnInfo = crTable.LogOnInfo;
    crLogOnInfo.ConnectionInfo = crConnectionInfo;
    // Apply the TableLogOnInfo
    crTable.ApplyLogOnInfo(crLogOnInfo);
    // Set the location of the database. This value will vary from database to
    // database.
    crTable.Location = "DATABASE.OWNER.TABLENAME" or crTable.Locations;
    The sample for doing this is available on support site.
    Thanks,
    Prasad

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Over 12 minutes required to merely OPEN a .rpt file in Crystal Reports version 8.5

    Post Author: Rob Kramar
    CA Forum: General
    Background: Our division has 3 networked, but geographically dispersed, plants; each plant runs MS SQL Server and Crystal Reports on local servers.  A rather complex (version 8.5) Crystal Reports .rpt file (main report plus 12 subreports) exists and executes in one of our distant plants against a MS SQL Server database located there.  I copied that .rpt file to my local server (CTXB) which has Crystal Reports 8.5 installed and which I can access via Citrix from my PC.  I "repointed" that report to our local MS SQL Server database (located on a different server [CTXA] on my local network) [which uses the same database schema as the database in the other plant] by setting up a new ODBC  driver, using the Convert Database Driver function, and using the Set Location function.  I applied these changes to the main report and each of the subreports individually.  I dropped all the links in Visual Linking in the main report and in each of the subreports and recreated each link.  I did a Verify Database on the modified report (which appeared to check the main and each of the 12 subreports).  I ran the report within Crystal Reports v8.5 and verified that the output is correct based on my local MS SQL Server data (on server CTXA).  I saved the .rpt file on server CTXB and exited Crystal Reports v8.5.  I did all the above work on server CTXB via Citrix from my local, networked PC.
    Problem: When I try to reopen the .rpt file in Crystal Reports v8.5 (via Citrix on Server CTXB) it consistently takes over 12 minutes to merely open the report.  Once opened, it executes with acceptable speed within Crystal Reports v8.5 and produces accurate results.
    Note: If I compile the report in v8.5 on server CTXB (via Citrix), and attempt to execute the compiled report on CTXB (via Citrix), the popup with the u201CPrintu201D, u201CDoneu201D, and u201CAboutu201D buttons appears immediately, but an hourglass also appears that prevents me from clicking the u201CPrintu201D button for over 6 minutes.  Once the hourglass disappears, that popup works normally and the report executes with acceptable speed (about 4 seconds) after I click the u201CPrintu201D button for a single execution.  If I then close the output display window and try to immediately rerun the report (from the u201CPrintu201D, u201CDoneu201D, u201CAboutu201D popup which is still visible) by clicking the u201CPrintu201D button, the hourglass returns again for another 6+ minutes.  A third such iteration results in an u201Chourglass lockoutu201D of over 6 minutes.
    Note also: I can open that same .rpt file (stored on server CTXB) in Crystal v7.0 on my local PC, and it opens in less than 5 seconds.

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

  • Merging Crystal Report output files (rpt) into 1 rpt file.

    Hi All,
    Is there any way to merge output/result of multiple CR files into one output file (like .rpt)?  Or any technique you can advise as a workaround?
    I want to do this for archiving purposes and batch printing or .rpt files.
    Thanks in advance.
    -Alvin

    At least one of the 3rd-party Report Managers listed at http://www.kenhamady.com/bookmarks.html allows you to automate the process of exporting multiple reports to pdf and merging the output into a single pdf file (with optional bookmarks).  You can also generate page numbers and a table of content for the merged pdf file.

  • Where to define .rpt file location in Crystal Report Server 2008

    Hi all,
    I have installed Crystal Report Server 2008 in my machine and trying to invoking the report from my java application. Earlier we have used Crystal Report Server XI Release 2 and in my java application i am passing crystal report server name, report name, parameters and it is woking fine in Crystal Report Server XI Release 2. But now I have installed Crystal Report Server 2008.
    In Crystal Report Server XI Release 2, we have a option to provide the report directory folder from the computer. That is in Central Configuration Manager - > Right click on Report Application Server -> Properties -> Parameter Tab -> Change Option Type to Server and And Select directory which contains the .rpt files.
    Like the same way, i need to give the report directory path in Crystal Report Server 2008. Then only the report server will find the report from the directory and display it. In my application i am passing the report name to the crystal report server. The report server will find the exact report from that folder from the local system and display it in application.
    I can able to give the report file directory in Crystal Report Server XI Release 2, but cannot able in Crystal Report Server 2008.
    Pls help me how could i do this?

    In Command Line Parameters of ReportApplicationServer

  • Using Crystal Reports as the default for opening .rpt files

    Hi all,
    I know this is a simple question with a simple answer, but I'm baffled, so here goes. I'm using Crystal Reports 2008 and I have the Crystal Report Viewer installed on my computer. I want to open .rpt files with Crystal Reports 2008 as the default application, not Crystal Report Viewer.
    When I right-click the .rpt file I have three options, Crystal Report Viewer 2008, Microsoft Visual Studio Version Selector, and Choose Program. When I select Choose Program, then click the Browse button, Crystal Reports is not available as one of the programs to choose.
    When I look at the programs available via the Control Panel, I see Crystal Reports 2008, but I'm not able to select it as the default for opening .rpt files. I'm assuming the program file is in my Program Files folder somewhere in the Business Objects folder, but I'm not sure which file I need to set Crystal as the default program. Can someone please point me in the right direction? Thanks in advance.

    C:\Program Files\Business Objects\Crystal Reports 12
    then crw32.exe

  • Double-clicking on rpt file does not open report

    Post Author: lindad
    CA Forum: General
    When I double-click on a *.rpt file, Crystal Reports opens but does not bring up the report file.  I have to then go to File/Open in order to open the file.  I don't receive an error. Does anyone know how to get Crystal Reports to open the file at the same time as executing the crw32.exe?
    I checked in Windows Explorer under Tools/Folder Options/File Types, selected RPT which is associated to Crystal Reports, went to the Advanced options, and all I have is Open for an Action.  I have the following settings for Open:
    Application Used to Perform Action:  "C:\Program Files\Crystal Decisions\Crystal Reports 10\crw32.exe" "%1" /dde /e /n
    DDE Message:  [FileOpen("%1")]
    Application: crw32

    Post Author: lacsapper
    CA Forum: General
    I had to go into the Advanced settings and delete the "Open" action, then click "OK" to exit.  Then go back in and re-add the Open action, browse to your crw32.exe file as the application to open.  Seems to correct the problem; not sure of the cause.
    TTFN

  • How to use resource bundle entries for column names/title in .rpt file

    <p>Our application needs to be able to support reporting in multiple languages. Hence we do not want to put language specifiec column names in the rpt file but rather use text for a particular locale during runtime which in java world is easily achievable using Resource Bundle entries.</p><p>Does JRC allow for using resource bundle entries as column names or for that matter for titles etc. in the .rpt file?</p>

    Hi,
       You can follow this step-by-step tutorial to find out how to achieve this using our User Function Libraries (UFLs). The walkthrough can be found here:
    <a href="http://diamond.businessobjects.com/node/412">http://diamond.businessobjects.com/node/412</a>
    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>

  • Changes to rpt file not recognised

    Post Author: annedonnelly
    CA Forum: General
    Hi,I've been asked to help a company whose software supplier is being a bit awkward. The software is a stock control package and some of the reports are created using Crystal.They want to make some minor changes to the reports - moving fields about, changing labels, etc. The supplier told them to purchase Crystal v10, told them where the reports are and said to make the changes required and save them in the appropriate folder.We tried all of that yesterday with no success. Although we made obvious changes to a report the changes weren't displayed when the report was printed by the stock control system. Is the stock control system not using the .RPT file? Should we be saving the report in another format? I tried removing the .RPT file temporarily and the stock control system was still happy to print the report so I suspect it's either compiled into the executable or it's another file altogther.We tried all the obvious things like restarting the stock control software (even rebooting the machine). We weren't able to preview the report in Crystal as the data source (an XML file) is apparently created at runtime. I used Crystal many years ago but have no experience with recent versions.Any hints would be welcome.ThanksAnne 

    Post Author: synapsevampire
    CA Forum: General
    "Is the stock control system not using the .RPT file? Should we be saving the report in another format? I tried removing the .RPT file temporarily and the stock control system was still happy to print the report so I suspect it's either compiled into the executable or it's another file altogther."
    You don't even tell us the name of the software package, yet you expect us to respond intelligently about its inner workings?
    I think that you've taken all of the right steps, you seem knowledgable about software. What I would do is a search of the machine for all RPT files. You don't bother to mention HOW this app launches reports either, is it browser based, a Windows program, and idea of the language or the API used?
    Do you know how to add in new reports? You might be able to delete the old ones and then publish a new one.
    If you require further assistance, please include information about the application.
    -k

Maybe you are looking for