How to change report attributes like heading, sort etc programmatically

Some of the columns from a classic reports using pl/sql as region source should be sortable. Is it possible to change this attribute (sort = yes) using JavaScript or APEX API?
David
Edited by: david on Sep 6, 2011 11:56 PM

There is something I don't understand here. Why do you need to point at the sxd? What is changing? Like I mentioned before. If the contents of the xsd change, all the report will do is - at best - drop the changed fields so you will be missing data. Perhaps some of the following will help;
[Crystal Reports Guide To ADO.NET|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20?quicklink=index&overridelayout=true]
[Crystal Reports For Visual Studio .NET Reporting Off ADO.NET Datasets|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75?quicklink=index&overridelayout=true]
[Crystal Reports For Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23?quicklink=index&overridelayout=true] (page 332 on).
Ludek

Similar Messages

  • How to change report region fields in read only mode?

    How to change report region fields in read only mode?
    skud.

    add the following javascript fuction to page header(or Javascript function and variables section)
    function disableItems(pRegionStaticId,pDisableFlag) {
      $('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
        if( $(this).attr('name').match(/f[0-9][0-9]/) ){
          return $(this);
      }).attr('disabled',pDisableFlag);
    pRegionStaticId is the region's static Id+
    Note that this code specifically disables only application arrays. Disabled items are not available after submission (and hence are different from readonly) . But any page javascript can modify disabled or readonly items(client side), so you must check at the server side to validate the data.
    You can disable items using
    disableItems('MY_REGION_ID' ,true);and enable them by passing false
    disableItems('MY_REGION_ID' ,false);

  • Can any one tell me how to change the current row header in FB1LN tcode

    Hi,
    can any one tell me how to change the current row header in FB1LN tcode.
    I want to show input date also in the layout.
    Regards
    Mave

    Hi
    I know two ways:
    - transaction obvu: here you can insert new fields, but only if these fields are included in certain table (like BKPF, BSEG, BSIS.....
    - if your field isn't included in those table, you have to modify the structure RFPOS and manage it in the BTE 1650. After updating RFPOS you have to run the program RFPOSXEXTEND to update the structure RFPOSXEXT.
    Max

  • How to create report image like artwork demo

    Dear Pakars
    How to create report image like artwork demo ?
    Thanks
    Imansyah

    Hello,
    Are you asking how to include images in a report? If so, take a look at the declarative blob support documentation -
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to change general attribute of text element

    hi
    who now how to change general attribute of text element on screen dinamically? I wish to change text value dinamically for example.

    Hi Denis,
    I am not too sure on what you want.
    If you require that the text value be different based on some conditions you can declare as many text elements as conditions and call the relevant text element.
    But I dont think that you can assign dynamic texts to a single text element.
    Regards,
    Saurabh

  • How to change report displayname at runtime when run from the report server?

    hi all,
    with the reportviewer widget in a winforms app, i'm able to change report displayname at runtime by handling thesubmittingparametervalues event like so:
            private void reportViewer1_SubmittingParameterValues(object sender, ReportParametersEventArgs e)
                string po = e.Parameters["Order"].Values[0];
                this.reportViewer1.ServerReport.DisplayName = "Load Out - " + po + " - " + DateTime.Now.ToShortDateString();
    question: how do i achieve the same thing when the report is run via the ssrs reportserver website?
    thanks for any tips,
    sff

    Hi sherifffruitfly2,
    According to your description, you want to change the display name of report in Report Manager. Right?
    In Reporting Services, we can't make the report file name dynamically. But we have Build-in Fields to show report name and execution time in a report. We can add a textbox and put in the expression below:
    ="Load on- "+Globals!ReportName+" "+Globals!ExecutionTime
    It will show the report name with execution time when we run the report:
    Reference:
    Built-in Collections in Expressions (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Change report attributes dynamically?

    Can we change the report attributes dynamically? For example, I want to dynamically set some columns to be showed or not. I plan to use a radiogroup, when I choose "Partial View", the report only show some columns; when I choose "Full View", the application changes the column attributes from "hidden" to "shown".
    Anyone knows how to do that in APEX 3.0? Thanks a lot.

    I have a radiogroup, which has two values, 1 for "Partial View" and 2 for "Full View".
    I set the "condition type" to be "Value of Item in Expression 1 = Expression 2", "Expression 1" to be ":P400_RADIO" and "Expression 2" to be "2".
    Anything wrong here?
    Thanks a lot for your quick reply.

  • How to change Reports where clasue

    Hi
    How can I change Report's where clause If I'm calling it from Oracle Forms.
    Oracle Version 9.0.2.9.0
    Any ideas please?
    Thanks!

    I guess this questions belongs to Reports Forum?
    But anyways, you can create a host/bind variable, and emmbed it into your query definition statement like this:
    SELECT columns
    FROM yourtable
    &WhereVariable
    .. where wherevariable is the name of your bind variable.

  • How to change the attribute name for a relation

    When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the attribute gets calculated by the attribute name of the entity which is part of the relation. This is okay, if there is only one relation between two entities. But when there are two relations between two entities the second attribute gets a stupid number suffix. This makes it impossible to give the attribute a useful semantic meaning.
    When I engineer the model into a relational model I can change the column name in the relational model. Changing the column name in the relational model is not perfect but it would be okay for me, if it would not be overwritten during the next engineering run.
    So I have two questions:
    How can I change the attribute name in the attributes section of the properties dialog of a relation? See here for screen shot:
    http://public.ceving.de/2012050300/relationattribute.png
    And if it is not possible:
    How can I preserve any changes on column names in the relational model during a re-engineering run?
    Edited by: 931739 on 03.05.2012 08:07

    Hi,
    I've logged an Enhancement request on this.
    I don't believe it's possible to change it from the Entity or Relationship dialog, as it's not updatable in these dialogs.
    What you can do is change it in the Relational Model, and then reverse engineer the change back to the Logical Model.
    David

  • How to change the attribut of Form in Review Form in ISR

    Hi,
    We have to change the attributes of text fields of form ( e.g disabling the text field ) once user hits the Review Form button on MSS page
    Please let me know how to do it .
    Thanks
    Manish

    Hi Manish,
    You may write the Formcalc scripting for the respective field.
    //Check ISR control parameters for read/write access
    if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |
       $record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" | <b>$record.CONTROL_PARAM.ISR_REVIEW == "true" )</b>
    then
         this.access = "readOnly"
    else
         this.access = ""
    endif
    Hope this helps.
    Thanks and Regards,
    Anto.

  • How to change the attributes of GUI CONTROLS in my own program.

    hi all,
    i just want to change the attributes of GUI CONTROLS in my own program.
    for example `
    How to set an ICON on my GUI BUTTON in the program?
    so what's the mapping between CONTROL in the SCREEN PAINTER and variable in the program?

    Hi Chao Liu,
    Ya , u first find out the PF-STATUS of the screen and goto that status and now u can modify the ICON u want .
    Finding the GUI status of the screen
    Goto that  TRANSACTION CODE or SCREEN
    On the Standard Menu bar Goto ( Menu path) System --> Status
    Now u get a pop-up System :status in that in SAP Data block u can find GUI Status. Now Double Click on that Status. It takes u to the Status of that screen.
    Now click on the Display --> Change Button on the application tool bar.
    If it is a standard GUI-status then it asks for the ACCESS KEY.
    if it is a custom defined GUI Status  then u can change the status .
    reward if helpful
    raam

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How to Change Report Font Size in 11i

    Hi,
    Please let me know how to change font size of an existing report in Quick steps.
    Basically the printed report font size is too small. We change the font size from the printer but still it dose not change.
    We have 11i on Unix Server and a dot matrix printer.
    The report is character based and Report Builder shows Courier 10, print style is Portrait. We need it to be 12-14.
    Thanks!

    Hi,
    Refer to the following document.
    Note: 467568.1 - How To Change The Font, Size, or Page Layout of Standard and FSG Reports
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=467568.1
    Regards,
    Hussein

  • NW04s: How to change column settings like 'do not adjust' 'fit to resuts' e

    In the new Analyzer, old report format: how to change column settings: do not adjust, fit to results, etc.?
    Regards
    -Bala

    Hello,
    In the properties dialog of the Grid and some other items, there is a checkbox by name "Autofit". When this is checked, the result columns are expanded to correct data widths.
    Regards,
    Manjunath

  • Flex 3 - How to change an attribute name ?

    like this
    <item code="1" />
    to
    <item id="1" />
    thanks

    Hi Alex,
    You can use setName to change the attribute name:
    Here for example change all your id attributes with code:
    var xmlTest:XML=<r><item id="1"/></r>;
    for each (var node:XML in xmlTest.item.descendants("@id"))
    node.setName("code");
    trace(xmlTest);
    Thanks,
    Bhasker

Maybe you are looking for

  • MacBook to TV Audio

    I'm getting rid of cable TV and using an antenna for local broadcasts and a Roku for streaming. I also want to use my wife's laptop to display Hulu content on the TV (Vizio). I hooked up a mini DVI to HDMI cable and the video works fine but how do I

  • How to filter a form with pagination?

    Hi all, I've converted an app to Apex 3.1 (thanks to helpful folks here), but am stuck on the final form. I'd like to streamline the master-detail form, skipping over the tabular report in the detail. Here's (almost) a shell of what I'm trying to do:

  • Tab in statictext

    Hello! I want to make a tab in a radiotext and it does not work when i just add a tab. I can add a space and other characters using unicode but i cant make it work with the tab character! staticText     =     Grp1.add("statictext",undefined,"What?   

  • Restoring iPad using iCloud

    How do I restore my apps to my iPad using iCloud?

  • "Create new versions when making adjustments" - Lion, Aperture 3.1.3

    I recently upgraded to Lion, and then shortly thereafter to Aperture 3.1.3. While I don't seem to share everybody else's issues with Lion nor with Aperture, I do have one of my own. In Preferences -> Advanced, I have a box titled "Create new versiont