Finding a Field object in a series of reports

I'm managing a series of 70+ Crystal reports sitting on disk in RPT files. I need to determine the effect of a series of proposed database changes in these reports. I'm trying to iterate therough the reports by loading each one into a ReportDocument object and then checking the properties to see if a particular database field is used. I can see thes formulas, summaries, groups, etc but I can't seem to find if a detail section uses a particular FieldObject bound to a giben column in  table. The name of the object appears but that is usually a default like 'Field1'. I need to see if, say, Employees.LastName is used.
How can I accomplish this using the SDK?
Thanks
Carl

Hello,
Try accessing the report objects and then check the properties: (the code is for checking a subreport)
foreach (CrystalDecisions.CrystalReports.Engine.ReportObject obj in cr.ReportDefinition.ReportObjects)
            if (obj.Kind == CrystalDecisions.Shared.ReportObjectKind.SubreportObject)
                // statements
                    return false;
Thanks,
Bhushan.

Similar Messages

  • How to find the hidden objects in Webi Rich client  report 4.0 sp 04 ?

    Hi,
    How to find the hidden objects in Webi Rich client  report  at BI 4.0 sp 04 ?
    Best Regards,
    ASR

    Hi Sai,
    Go to Report Element Tab-->There you have a Tab Cell Behaviors.
    When you flip between 'With Data' and 'Structure Only' under 'Design' Tab,you can see the some cells will be hide/Un hide behavior,if hiding of cells applied.
    Select that cell and then Under 'Cell Behaviors'-->'Hide' Tab-->and choose Show Option.
    Regards,
    Venkat P

  • How do I get the value of a field object programatically after loading a report

    I'm using CR 11.5 and VS2005 in a console application, there is no GUI. I have a report with a page header that has 3 field objects. These field objects, their values change for every record and I want to be able to capture the value of these field objects in code for further processing outside of CR. Is this possible?
    Thanks in advance!
    I should explain a little more, the information I'm trying to obtain is in the Page Header section of the main report. There are subreports. Basically what I'm trying to put together is a list of how many pages are part of each record, the number of pages fluctuates per records so I need to be able to cycle through. Any other suggestions?

    When accessing the fields on the report through the SDK you will only get what database field they are using for data.  The internal data collection that is used by the report can be gathered using the rowsetcontroller from the ReportClientDocument.

  • Unable to find selection field "object type" in IP19

    Hi there,
    Is there any way to add the equipment "Object Type" into standard report IP19 as i couldn't find the selection field in the report.
    Thanks in advance.
    Regards.

    Calyn Kua,
    Here's a work-around:
    Go to IP19 and press Multiple Selection button on the Equipment field
    In the next popup select the Multiple Selection button again
    Select the search-help for Equipment by equipment list
    In the next selection screen enter your data including the Technical obj type data and execute the report
    Select the equipment in the list as required and select the lower green tick. This should return your equipment numbers back into the IP19 equipment field
    Choose the With object list checkbox if required
    Execute the IP19 report
    Alternatively you can copy the IP19 report and add your own customer-specific fields/logic.
    PeteA

  • Help ! I can't find the "field" tab for an object in the library

    Just starting out with the software. I want to place a text box that spans several lines and "allow multiple lines" in a form I am building. The only problem is I can't find the field tab for the text box object. The only two tabs I have at the top of the object library is "Object Library" and "Fragment Library"
    What am I missing?

    Click on the Object Library. Below that there shoudl be three libraries (My Favorites, Standard and Custom). The Textfield is in the Standard library. If all else false you can use the Insert Menu and then choose standard from there.
    Paul

  • How to find out the unit of Field object?

    Dear Friends ,
    I Placed 4 fields in report . Just i want to get the position of field object in report using vb.net code .
    In report i selected the field and click f4 button , property window is open , in that its showing Top = 390 , left = 295 .
    In which unit the values are showing , According to that i want to change the position dynamically .
    Note : I am using VS 2010 and Sap Crystal report version for VS , SP6.

    In twips.. which are 1440th of an inch.

  • Why can't I find the field remark when I use LSMW to create customer master

    I want to create customer master data with LSMW.
    Object               0050   客户主记录
    Method               0000
    Program Name         RFBIDE00
    Program Type         B   Batch Input
    but I can't find the field 'Comments' which is in view general data -> address.
    pls help me to find it.
    tks!

    Hi,
    This is quiet simple.
    See when you enter your Tcode in LSMW & start recording, on the first screen where you enter the customer details to create, you see a tick below "Use central adress management"
    Just tick this & record you will get comment in your recording
    Hope this helps you
    Regards,
    Dhananjay

  • Getting hyperlink formula from field objects.

    Hi everyone,
    I'm looking to extend the export to .pdf functionality in order to include hyperlinks. I have already ran some proof of concept programs, and I'm able to export to .pdf and add a hyperlink to a rectangular area of an existing .pdf document. The only thing left is to be able to pull the information regarding field location, size and hyperlink from the report.
    So, that's my question; How do I loop through the fields of an existing crystal report, check for hyperlink formula field, then get the link text/field position and size?
    I know that I'm asking for a lot here... I don't need full code samples, just some hints where to start... for example:
    - Where do I find the collection of generated data field objects?
    - Where do I find the hyperlink text on those objects?
    Thanks, in advance, for any help that you may be able to offer.
    - Scott

    Hi Scott,
    The first place I go is to the .NET Object browser. You have to add all of the CR Assemblies to get all of the info but it's a great place to start:
    Just search on "hyperlink" and you get this first hit and a few more:
    CrystalDecisions.CrystalReports.ViewerObjectModel.ReportObjectInstance.HyperLink
    CrystalDecisions.Windows.Forms.ObjectInfo.Hyperlink
    CrystalDecisions.ReportAppServer.ReportDefModel.ISCRObjectFormat.HyperlinkText
    CrystalDecisions.ReportAppServer.ReportDefModel.ISCRObjectFormat.HyperlinkType
    Here's what I typically include in my projects for testing:
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.ReportAppServer.CommonControls;
    using CrystalDecisions.ReportAppServer.CommLayer;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.ObjectFactory;
    using CrystalDecisions.ReportAppServer.DataSetConversion;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportSource;
    using CrystalDecisions.Windows.Forms;
    Then go to help.sap.com and get the latest SDK Help files. Or if you are using VS 2010 then use the local install of it.
    Thank you
    Don

  • Change the field object location in crystal report

    hello,
    i want to change the contols location in crystal report and the controls alignment in run time to make mirror ,how can i access this controls and this properties. we use two language English and arabic that have different alignment.
    thanks and best regards,
    Mahmoud awad

    <p>The best place to start would be on the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm" target="_blank">DevLibrary</a> you can find the reference guide for the APIs for the CR .NET SDK. Generally speaking, you can access the particular field object using the corresponding class and modify it&#39;s left/right/top/etc properties to change placement.  For example, if you want to modify properties for a text object on a report, use the TextObject class and the members exposed by that class.</p><p>Depending on what properties you want to modify, you&#39;ll need to look at other classes such as the FieldFormat class or ObjectFormat class to access other properties.  So I recommend using the reference guide to help you find what you are trying to do.</p><p>-MJ</p>

  • Field Object Currency in Cycle-Header

    Hello,
    I wrote a report to migrate cycles.
    In the cycle header there is a field "object currency".
    does anybody know to which table (T811? ) this field belongs?
    I thought T811C, but cannot find it.
    Kind regards
    Udo

    Hi Sumant,
    This is system default, you can't do any financial activity without Currency, and Company Code, there is no setting or configuration available to make these field optional, irrespective of any fields Status group.
    You need to think, what you can do with out Company Code, and company code is organizational unit of Financial Accounting for which a complete self-contained set of accounts can be drawn up for purposes of external reporting.
    This includes recording of all relevant transactions and generating all supporting documents required for financial statements, such as balance sheets and profit and loss statements. So you cannot enter data in SAP without company code and currency, this is system default.
    However some field status can be control, read below:
    -  you can control field status for Master data (Customer T.Code OBD2, Vendor T.code OBD3, and GL Account T.code OBD4) through Account Groups,  and for master data you have four options i.e. Suppress, Required, Optional and Display.
    -  You can control transaction field by Field Status Group, and  Field Status group Posting Keys T.code OB41, here you have three options i.e. Suppress, Required Field and Optiional.
    - Document header text, or reference field you can set mandatory from document type, T.code OBA7
    I hope this will clear your query.
    Regards
    Javed

  • How to set the field object's persence to "visible (Screen only)" by JavaScript?

    Dear all,
    I 'm new for designing Livecycle Form. As the title I mentained above, I only know the persence of field object can be configured by the JS code.
    for example: this.presence = "visible";
                      or this.presence = "hidden"; ....
    However, I want to configure the field object to visible (Screen only) by code. I had search all related key word, but I cannot find any information about this.
    Question:
             1. Are there any code in javascript to do that? Or any way to do this by code?

    Jack,
    I dont get your question, can you explain it again.
    M just curious to knw the Question
    Thanks & Regards
    Sunil Gupta

  • System: unable to find the specified object.

    I am trying to install tomtom 5 for mobile on my 9300i. Installation is fine but when I try to launch the application it gives the following error.
    system: unable to find the specified object.
    I am not able to find any work around this. Any idea please share.
    thanks in advance

    Hi
    I have managed to get TOMTOM mobile 5 working on my Nokia 9300i.
    I think its just that the TOMTOM software was writen before the 9300i was released so it does not know whether the 9300i is series 60/80 or 90.
    So change the file extension names of the file system/apps/ttmobile/ttmobile.app to ttmobile.appx
    If your doing this in the phones file manager you may not be able to see the system directory so press the menu key when viewing the memory card directories in the memory card in file manager, then change the view seetings under the tool pull down menu.
    Then once changing the S60 file extension name go into the system/apps/ttmobile80/ttmobile.appx to ttmobile.app
    This will mean that this file shortcut will now appear on your desktop for Series 80 and not the series 60 version.
    You will need to do the same for the Contacts program.
    Change system/apps/TTnavcontacts/ttnavcontacts.app to ttnavcontacts.appx
    Change system/apps/TTnav80/ttnav80.appx to ttnav80.app
    Hope this helps this is the first time I have replied to a discussion page so don't expect any rapid response if you ask me a question..

  • How to find out Authorization Object for Plant

    Hi,
    I have to implement an Authorization check for Plant in My Report Program.
    Is there any transaction which can help me to find out Authorization Object for any field like Material and plant?
    Thanks,
    Mamta

    Using SU21 u can create Authorisation Object.
    The ABAP command AUTHORITY-CHECK is used for performing authorizaton checks in programs.
    check f1 help on AUTHORITY-CHECK for the syntax.
    check these links
    link:[http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c;jsessionid=(J2EE3417500)ID1605942050DB11298929682009193279End]

  • How to find all the objects by Module.

    Hey all,
    Can any one please help me in finding all the objects by Module.
    I need to have all the objects(like app engines, records, fields, file layouts, etc,.) in AP, AM, GL, BI, AR.
    thank you,
    Bye.

    You can use the OwnerID field as a starting point. The reason why i say that is because there are some objects that cross-over between more than one module.
    http://www.CompShack.com

  • Cannot find annotated field

    Hello Guys,
    I have created an annotation called RelatedEntity, I am using it to create a custom JPA library.
    public @interface RelatedEntity {
        String entityAlias();
        String referencedField();
    }On trying to find a field annotated with this class like this
        @RelatedEntity(entityAlias="enudi", referencedField="michael")
        private String address = "a.address";I cannot even find this field as annotated even though I am using appropriate reflection api, like
    private void findAnnotation(Object obj){
            Class clazz = obj.getClass();
            Field[] fields = clazz.getDeclaredFields();
            for (Field currentField : fields){
                System.out.println("" + currentField.isAnnotationPresent(RelatedEntity.class));
                currentField.setAccessible(true);
                try {
                    if (currentField.isAnnotationPresent(RelatedEntity.class)){
                        System.out.println("has annotations   " + currentField.getName());
                        RelatedEntity annotation = currentField.getAnnotation(RelatedEntity.class);
                        System.out.println("annotation is " + annotation);
                        String joinCol = annotation.referencedField() + " " + annotation.entityAlias();
                        System.out.println(" >>> " + joinCol);
                    } else {
                        System.out.println("no annotation     " + currentField.getName());
                } catch (IllegalArgumentException ex) {
                    ex.printStackTrace();
        }What am I doing wrong or what can be done.
    Regards,
    Michael

    Your annotation, RelatedEntity doesn't specify retention policy, and the default policy is that the annotation isn't available at runtime. See the Retention annotation.
    Kaj

Maybe you are looking for

  • How to develp a subreport in the same page of the main report and processed when is called

    SSRS 2012 Hi guys, I am developing a report that includes a subreport. therefore The report is made up by 2 sections: 1) Show a grid (several rows - may be 100 or more - and some columns). It represent high level info  (Each row represent a specific

  • How to install Adobe CC with elevated admin rights?

    I am trying to install the trail version of Illustrator CC, but the install script comes back with the message "Installation Failed" Administrator priviedges are required to install. Please Install later." I can install programs on my computer, but i

  • Need help with PC build for use with Photoshop CS4 Extended - Have I made the right choices?

    Hello, I'm very new to the inner workings of a PC...this will be first time building one from scratch.  I know enough to be dangerous but not enough to be confident.  I will use the PC primarily for editing, secondarily for iTunes management.  I've h

  • Distributing Java MSI

    Hi, I've got problems distributing the sun java 5 on windows XP sp 2 clients pc's when using the MSI it will only install whe the user has administrative rights. I've associated the application object to the workstation with force run but it does not

  • Table Comparion and History Preservation

    Hi all I am new in using DI, I have a question about two most common objects in DI (Table Comparison and History Preservation). Can we  compare different structure tables in Table comparison or the tables should have the same structure? The same ques