How to retrieve Statistics info from Crystal Report file

In Crystal Reports designer,  if you go to File|Summary Info that dialog has two tabs. The second tab is called "Statistics" which contains the following:
Last Saved By
Revision number
Total Editing Time
Last Printed
Created
Last Saved
How can I retrieve this information via either the .NET SDK or the RAS SDK?

Hi David,
Actually I did understood your question. I did say that some of that info is available from the hard drive file system.
Use the Object Browser and find this source:
public System.DateTime CreationTime { set; get; }
    Member of System.IO.FileSystemInfo
Looking at the properties you'll see all the info you are looking for is there. As I said, some of the info is available from the Summary API's and some are available from the file system. The file system is not CR but basic Microsoft API's. Search their help for more info on how to use them.
Thank you
Don

Similar Messages

  • How to get actual error from Crystal Report

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
    Xception E NSF NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    Xception E NSF NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
    at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
    at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
    at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
    at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    Same as
    crystal report unexpected error in Web service (IIS)
    Closing this thread.
    Ludek

  • How Web intelligence is differ from Crystal reports

    How Web intelligence is differ from Crystal reports

    it depends on what's the business requirement that will influence what kind of reporting format you want to use.
    to list few differences:
    1. CR more suitable for complex reports webi used more for general adhoc tor quick reporting.
    2. CR can be published to enterprise or can be saved to the disk and can be accessed using crystal reports SDK: CRJ or CR.NET. Where as webi is strictly accesses only via Enterprise. There are no webi SDKs for accessing webi reports in unmanaged ( not published to enterprise) mode.
    3. CR SDK\ RAS more powerful than Report Engine SDK( used for webi)
    4. To view a CR you can use page server and cache server. To view a webi report, you use only webi processing server, no cache server available in BO framework. Similar for scheduling webi reports its the webi processing server that does it all.
    5.  CR offers more options to connect to database than for webi.
    6. CR has mutliple 3rd party exporting formats. Webi has fewer.
    7. CR can be designed from CR designer desktop tool, or CR.com or on demand or using RAS SDK ( at runtime). Webi report can be designed in webi rich client desktop tool or java reporting panel( JRP) available in Infoview or any app that can load this JRP applet. in 3.1 you can use Java Report Engine SDK to create webi report from scratch at runtime ( like RAS for CR).
    So not that 1 is better than other, it really depends on your business requirements are.

  • How to generate Bar codes from Crystal Report

    I understand that Bar Codes can be genrated from Crystal reports. I am using CR 2008 and trying to convert my Inventory items to bar codes. it does convert it and I can see the bar codes but it looks like; just a garbage and scanner does not recognze it plus the numners are missing @ the bottom.
    Anybody has ever tried this and have some simple instructions to start with.
    Any help will  be appreciated highly.
    Regards,

    Hi,
    What barcode are you using and what barcode font? 
    If you are using Code39 or Postnet then you need to make sure your values are formatted properly by creating a formula and using the barcode functions. 
    Have a search in the forum for barcodes.  It's been talked about a lot and you should find your solution. 
    Good luck,
    Brian

  • How to generate Income Statement from Crystal Report

    Hi, Experts,
    I have:
    SAP BUSINESS ONE 2007A
    CRYSTAL REPORT 2008
    I have a problem with generating Income Statement related reports from CRYSTAL.
    For example,
    My revenue accounts are: '411000-00-00' and '412000-00-00', my expense accounts are: '510000-00-00' and '520000-00-00'.
    I'd like to generate the Income statement for Dec 1 - 31, 2008. Please advise how to generate this report. Thanks!
    Lorrie

    Hi, Experts,
    Currently, what I tested to generate the income statement is:
    1. find out the account detail table: JDT1. My database path: Company Name -> dbo -> Tables -> JDT1
    2. follow the standard report menu: add 'JDT1', show 'RefDate', 'ContraAct'; group by'Account', summarize by 'Account'.
    I have the following problems:
    1. with this method, I am not able to find the amount for each transaction. Because the amount does not have a name as 'RefDate' or some other fields.
    2. the 'Account' and 'ContraAct' are all shown as 'SYS00000001685'. It's sysmtem message but not the actual account number or contra account number.
    Thanks!
    Lorrie

  • How to protect ECC performance from Crystal Reports execution?

    Hello,
    We built Crystal Reports (CR) which reports from SAP FI InfoSets. These reports may take a long time to execute and potentially can impact all ECC users.
    AFAIK CR are executed in dialog mode on ECC.
    We know that from CR perspective we can only limit the number of records returned.
    One of the options is to create a dedicated application server instance for CR. But it looks like a costly one.
    Other options:
    Move data to BW every 15 minutes and execute reports from there.
    Schedule reports at night to minimize users impact.
    We are using ECC 6 EP3, BW 3.5, BOE XI 3.1 (with SAP Integration Kit) and Crystal Reports 2008.
    Can you please let me know if any of you have the same challenge.
    Thank you,
    Serge

    Hi Ingo,
    I'm using [BusinessObjects XI Integration for SAP Solutions Installation and Administration Guide|https://websmp209.sap-ag.de/~sapdownload/011000358700001646962008E/xi3-1_bip_sap_install_en.pdf] (from 2008-12-02). There are some references to batch publishing from BW. The same applies to your document [BusinessObjects Integration Kit for SAP - Installation and ConfigurationSDN Community Day - BusinessObjects Enterprise with SAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a00ee3b2-5283-2b10-f1bf-8c6413e0898f].
    When we schedule CR in BOE it still runs in dialog mode on ECC.
    Could you please be more specific where we can define switch to make it run as background process on ECC.
    Thank you,
    Sergey
    Edited by: Sergey Vlasov on Apr 16, 2009 11:56 AM

  • How B.I accelerator differs from Crystal Reports

    Hi B.I's,
        I like to know which (B.I accelerator or Crystal Reports ) has better perfomance and fastest query response time

    Hi Bala,
    We have the BI Accelerator for high performance analytics (i.e. hardware and extra license fees) to make your large queries respond quickly.
    SAP BI Accelerator comes into picture to address performance problems of  BI queries.It is a plug-in appliance delivering:
    *Scalability in terms of expandable blade hardware infrastructure delivered by IBM or HP.Its used in all cases where aggregates can be used
    Real Time Info cubes:closed requests can be indexed by SAP netweaver BIA and open request will be read 4m database.
    Multi Provider:An indexed infocube as a part of multi provider will use BIA.Note overall query performance is defined by slowest Infocube in a MP enviornment.
    The tool used to create formatted reports is the Crystal Reports Designer, which is installed on the client.
    Before BW depends on Crystal reports to format reports.With BI 7.0 we don't need to depend on Crystal reports to format reports.we can format reports with Report designer.
    My perception with BIA is that this is a mistake in product marketing for SAP. It makes it sound like if you have lot of data, you're going have performance problems so you need to invest in additional hardware and we are going charge you an additional license because the one you already bought doesn’t do the job. SAP needs to rethink this.
    Assign points if useful...
    regards,
    rudra pradeep reddy

  • Determine Drive Info From Crystal Reports - Free Space & Drive Size

    I am looking for a way to determine drive information in crystal reports.
    I know you can report on files and directories but I'm looking to report:
    Drive Size
    Free Space
    Is it possible to use Visual Basic or Crystal commands to provide this info?
    Any help would be much appreciated.

    Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly
    No, Crystal Reports does not have any system API's. Search VB help file for more info on accessing drive space info.

  • How to extract embedded SQL from crystal reports 8.5

    I have a report created in version 8.5 with data source as crystal query (.qry) published on Crystal enterprise server.
    I have lost Qry file but the report is running by executing the embedded SQL. Is there any option where I can extract the SQL statement that is embedded in the report file.

    Hi,
    Go to 'Database' menu
    select 'Database Expert....' submenu
    It'll open 'Database Expert window. On right side of this window it shows 'Selected tables'. Under that it shows databsae name and the query used. Right click one it and you should see
    Edit,
    View, and
    Add to Repository options.
    Hope this will help.

  • ASP / PHP pages: How to get streaming info from a XML file?

    Hi all
    I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.
    I see the the info when I login at the web admin for FMS, but I need a solution that can work with ASP or PHP.
    I simply can't find any file / address to get this kind or output out of FMS - can you help?
    Thank you
    Kind regards,
    Jens

    hi,
    can you share php code for grabbing data. i make php code using "simplexml_load_file" but the problem is it takes 2-3 minutes before it show the result. i want to monitor the current video if stop feeding.
    http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname
    xml
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <result> 
    <level>status</level> 
    <code>NetConnection.Call.Success</code>
    <timestamp>3/21/2015 7:47:17 AM</timestamp>
    <name>_defaultRoot_:_defaultVHost_:::_0</name>
    <data> 
    <_0>appname</_0> 
    </data>
    </result>
    here;s my php code:amsstats.php
    <?php
        $result = simplexml_load_file("http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname");
        echo $result->data[0]->_0;
    ?>
    result:
    http://server2/stats/amsstats.php

  • How to retrieve only error message through report file

    Hi,
    When there is extract/replicat abended,we need to check complete report file to see the error message.
    I would like to know is there parameter setting available ,so that we can retrieve only required error message.
    For ex. Instead of complete error message to check in report file,i need to see below meesage only,starting from "source Context".
    Source Context :
    SourceModule : [er.main]
    SourceID : [scratch/pradshar/view_storage/pradshar_bugdbrh40_12927937/oggcore/OpenSys/src/app/er/rep.c]
    SourceFunction : [get_map_entry]
    SourceLine : [9126]
    ThreadBacktrace : [11] elements
    : [ora/gg/install/replicat(CMessageContext::AddThreadContext()+0x26) [0x5f2ac6]]
    : [ora/gg/install/replicat(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x5e9562]]
    : [ora/gg/install/replicat(_MSG_ERR_DB_CLAUSE_ERROR(CSourceContext*, char const*, CMessageFactory::MessageDisposition)+0x92) [0x5b1352]
    : [ora/gg/install/replicat(get_map_entry(char*, int, __wc*, int)+0x1dd6) [0x4fcec6]]
    : [ora/gg/install/replicat [0x5497e5]]
    : [/ora/gg/install/replicat(WILDCARD_check_table(char const*, char const*, int, unsigned int*, int, unsigned int, DBString<777>*, int)+0
    x16b) [0x54b08b]]
    : [ora/gg/install/replicat(REP_find_source_file_wc(char const*, unsigned int, DBString<777>*, int)+0x350) [0x903d50]]
    : [ora/gg/install/replicat [0x90bb0d]]
    : [ora/gg/install/replicat(main+0x84b) [0x5081ab]]
    : [lib64/libc.so.6(__libc_start_main+0xf4) [0x2b87d13469b4]]
    : [ora/gg/install/replicat(__gxx_personality_v0+0x1da) [0x4e479a]]
    2012-07-09 02:20:48 ERROR OGG-00919 Error in COLMAP clause.
    --------------------------------------------------------------------------------------------------------------------------------------------------------

    Nice..i think awk is better option.
    Just one thing.awk command only displays part of the information instead of complete below information.
    Ex: egrep -q ERROR dirrpt/PODS00C1.rpt && awk '/^Source Context/,/ERROR/ { print $0 }' dirrpt/PODS00C1.rpt
    [22:00]goldengate]$ egrep -q ERROR dirrpt/PODS00C1.rpt && awk '/^Source Context/,/ERROR/ { print $0 }' dirrpt/PODS00C1.rpt
    Source Context :
    SourceModule : [ggdb.ora.sess]
    SourceID : [scratch/pradshar/view_storage/pradshar_bugdbrh40_12927937/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
    SourceFunction : [OCISESS_try]
    SourceLine : [500]
    ThreadBacktrace : [12] elements
    : [orashare/gg/navc1/extract(CMessageContext::AddThreadContext()+0x26) [0x6705e6]]
    : [orashare/gg/navc1/extract(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x667082]]
    : [orashare/gg/navc1/extract(_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC(CSourceContext*, int, char const*, char const*, CMessageFactory::MessageDisposition)+0xa6) [0x61f2c6]]
    Where as i would like to see complete information including ERROR details as mentioned below.Do you have any awk command for this?
    Required below output:
    Source Context :
    SourceModule : [ggdb.ora.sess]
    SourceID : [scratch/pradshar/view_storage/pradshar_bugdbrh40_12927937/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
    SourceFunction : [OCISESS_try]
    SourceLine : [500]
    ThreadBacktrace : [12] elements
    : [orashare/gg/navc1/extract(CMessageContext::AddThreadContext()+0x26) [0x6705e6]]
    : [orashare/gg/navc1/extract(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x667082]]
    : [/orashare/gg/navc1/extract(_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC(CSourceContext*, int, char const*, char const*, CMessageFactory::MessageDisp
    osition)+0xa6) [0x61f2c6]]
    : [orashare/gg/navc1/extract(OCISESS_try(int, OCISESS_context_def*, char const*, ...)+0x353) [0x5a3d53]]
    : [orashare/gg/navc1/extract(OCISESS_logon(OCISESS_context_def*, char const*, char const*, char const*, int, int, int)+0x89c) [0x5a596c]]
    : [orashare/gg/navc1/extract(DBOCI_init_connection_logon(char const*, char const*, char const*, int, int, int, char*)+0x74) [0x5931a4]]
    : [orashare/gg/navc1/extract [0x597918]]
    : [orashare/gg/navc1/extract(gl_odbc_param(char const*, char const*, char*)+0x3b) [0x597f1b]]
    : [orashare/gg/navc1/extract [0x520b96]]
    : [orashare/gg/navc1/extract(main+0x1ce) [0x52726e]]
    : [lib64/libc.so.6(__libc_start_main+0xf4) [0x2af768923994]]
    : [orashare/gg/navc1/extract(__gxx_personality_v0+0x1ea) [0x4f3aba]]
    2012-09-06 16:48:50 ERROR OGG-00664 OCI Error beginning session (status = 1017-ORA-01017: invalid username/password; logon denied).
    2012-09-06 16:48:50 ERROR OGG-01668 PROCESS ABENDING.

  • Is there a way to Extract all formulas from Crystal Reports files?

    Hi:
    I have about 40 Crystal Reports (.rpt files).  I need to go through each one and look at formulas if a certain variable/value is used since it has currently changed.  It is taking way too long and not to mention inefficent to open each file, look through any place where there could be custom formulas such as when to suppress - etc.  Is there are way to easily exact all custom formulas from all those report into say a Text file so I can do a Search for it?  That would be the easiest way to find what I'm looking for.
    I have Crystal Reports XI.
    Thanks in advance for your help.

    One option is to use a tool such as rptInspector.  See: [http://www.softwareforces.com/Product/ri/pro/3/rptInspector.htm|http://www.softwareforces.com/Product/ri/pro/3/rptInspector.htm]

  • How to retrieve specific data from a text file

    Hi, everyone
    For my project it is required that a parameter file is read at the beginning, in order for certain variables to be initialized with specific values that change with the user.
    At the moment, the way it is done is the following:  The values at a specified sequence in a text file are read and saved in an array and the elements of the array are retrieved according to their index.
    The problem with this implementation is, that if for some reason the format of the file changes, e.g. we want to use a parameter file from a previous version of the program that has the values for the same variables but in a different order, the only way to have the right values for the parameters is to change everything accordingly, which is really time wasting.
    Could someone suggest a different implementation that would make the reading of the different values independent from their order in the file, e.g. by scanning the file for specific strings and reading the value after the string?
    Thank you very much.
    P.S. I have  attached a screenshot of the routine I am using now.
    Solved!
    Go to Solution.
    Attachments:
    read parameter file.JPG ‏180 KB

    Hi panagiov,
    Find attached Folders.
    Method 1: in this you can search for each variable separately. You can use "Config file vis" to get all keys(Variables) at once and then you can use for loop to get their values. Or you can access individual values as shown in this code.
    Method 2: here you will get all data at once. You will get Variable and Data (2D array) You need to search variables as and when required.
    I hope you will understand these methods.
    Best of luck
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.
    Attachments:
    Method 1.zip ‏7 KB
    Method 2.zip ‏9 KB

  • How can I take info from a PDF file on iPhone 5.

    Hi
    I get work related PDF files on my I phone 5
    But to take the telephone number off the viewing file island put it into the phone is very cumbersome especially when out all day.
    On my bb I could see the viewing file and text version which would allow me to call the number straight from there.
    Is there a way of doing this on the I one 5 please !Thanks

    Yes. It's such a pain to copy and paste the number in the PDF file and put into the phone. Bb would high light the number and call.
    Is there a way to view the file as text. When you get an SMS if someone sends a number it's highlighted. You tap it and you get option to call or cancel. Thats what i need from the PDF please

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

Maybe you are looking for