Help with report column formatting

Hi,
Simple question .... I have a report that has some fairly large text columns, and I want to fit the report onto one screen. Does anybody know how you can change the width of the column of a report, and get the text to wrap round within that cell ?
thanks
Tim

Tim,
You could change the display type of the longer fields to be text areas.
You may also want to look at Carl AJAX app which has a feature which hides/shows detail data without the page being refreshed.
http://htmldb.oracle.com/pls/otn/f?p=11933:22
Select the HTMLDB and Javascript -> AJAX and DHTML -> AJAX -> Show Report with Detail option.
Hope this helps
Chris

Similar Messages

  • Report column format

    What are valid values for the reports column format field?
    Can't find it in the help, searched the forum and looked in a selection of the pre-defined reports. Very few of the reports seem to have columns defined, and the one I did find was something like {0,date,medium}.
    It would make more sense to use something like SQL*Plus column formats,

    I am familiar with the to_char(number) function. I just tried it in the report as suggested. It does not format the columns in the user defined report. I tryed the same statement using a number in sqlplus and it worked fine.
    This is what I'm trying to do, I copied the free space report so I could get a %free and i'm trying to format the numbers.
    to_char(kbytes_alloc,'999G999G999G999D99) "Allocated MB".
    I want the numbers to have 2 decimal places.
    There is a column tab when creating a user defined report that would imply it formats that column.
    Thank you in advance for help. By the way, I'm using the 1.1.0.21 build MAIN 21.7

  • Help with database column

    I have a report with a column that come from table.
    This column is a number and I need change the sign if a condition is true.
    I try do this in a format trigger and in a trigger in Data Model (right clik mouse on this item Program Unit). But in both cases it say me when compile :
    Err 903. A READ-ONLY VARIABLE USED IN OUT OR IN-OUT CONTEXT.
    That mind that I cannot use this variable in this point. Also I try to change the Var and use a User Variable and change the value in the moment of read or print with similar results.
    Any help wellcome.
    Regards Everybody.

    Why do you not use a database function which will have your businesslogic and will return the changes value.
    Create function business1 (p_val in number) return number is
    begin
    <your logic here>
    return(l_modified_value);
    end;
    in your report query just use the function.
    select business1(<your_column> as "my alias" from .....
    That should work
    Marcos

  • SQL Report columns formatting

    Hi Everyone,
    I've got a basic report with a column that is a concatenation of other columns (used for break formatting), and I want to give the effect that there are still separate 'columns' in the concatenation. I've tried using CHR(9) and RPAD in the SQL query to add the 'whitespace' but as soon as Apex gets hold of it, the extra spaces are removed and I'm left with only a single space.
    It does the same thing when the "Display As" value is changed to either "standard report column", or any of the "Display as text" types.
    Any ideas? This is apex 4.0.0
    Thanks!

    I've got a basic report with a column that is a concatenation of other columns (used for break formatting), and I want to give the effect that there are still separate 'columns' in the concatenation. I've tried using CHR(9) and RPAD in the SQL query to add the 'whitespace' but as soon as Apex gets hold of it, when the browser renders the output in accordance with the HTML spec the extra spaces are removed and I'm left with only a single space.The HTML specification instructs user agents to collapse white space characters, so spaces and ASCII tabs in options will be treated as a single space.
    In a standard report use
    <li><tt>white-space: pre</tt> in the CSS Style property for a CSS approach
    or
    <li>The HTML Expression property for a <tt>&lt;pre&gt;</tt> HTML wrapper (ensuring the Display Text As column attribute is Standard Report Column rather than the default Display as Text (escape special characters) ):
    <pre>#COLUMN_NAME#</pre>Better still, create a custom report template using suitable mark-up so that there are "separate columns" in the report.

  • Dynamic Selection of Report Column Format

    Is it possible to dynamically set the number format on a report column? I thought it would be as easy as setting the 'Number/Date Format' to a session state variable such as &NUMBER_FORMAT. However, when I tried this the column returned the following value ##########.
    Any ideas?
    Thanks,
    David

    OK, this is a favorite hack of mine combined with Sergio's suggestion. Essentially, we select the column twice, display it with one column using Sergio's idea and sort it on another hidden and unformatted copy of the column (hope I didn't lose you yet):
    1) Add another column of the same source to the query and give it an alias:select ename,to_car(sal,'&NUMBER_FORMAT.') sal,sal sal_sort
      from emp2) Edit the report > report attributes > sal_sort column attributes. In the HTML Expression field, type #SAL#.
    3) On the report attributes page, unclick the "Show" column for sal.
    Now you are displaying the SAL column in the SAL_SORT column allowing the reporting engine to properly sort the column based on the unformatted SAL_SORT. I use this technique a lot for quarters. I'll show Q105, but it's sorting on an actual date behind the scenes.
    Happy hacking!
    Tyler

  • Help with calculated column formula- combine strings and convert to date

    In my list (SharePoint Server 2013) I have:
    'Invoiced Month' column, type of choice (strings with names of months- January, February, March..., December)
    'Year' column, single line of text (e.g. 2012, 2013, 2014)
    1. I need to create a calculated column which will return combined value of the columns above, but in DATE format e.g. 'Sep-2013' or '01-Sep-2013'.
    I then use that newly created calculated column to do this: http://iwillsharemypoint.blogspot.in/2012/03/sharepoint-list-view-of-current-month.html
    I am rubbish with formulas, can I have some help with my problem please?

    Hi,
    Use the formula, I have tested by creating Months column with choice, Year column as numeric and Calculated column as DateTime returned.
    =DATE(Year,IF([Months]="January", 1,IF([Months]="February",2,IF([Months]="March",3,IF([Months]="April",4,IF([Months]="May",5,IF([Months]="June",6,IF([Months]="July",7,IF([Months]="August",8,IF([Months]="September",9,IF([Months]="October",10,IF([Months]="November",11,12))))))))))),1)
    Before applying the formula few things need to be noted.
    DATE(YEAR, MONTH,DAY) will accepts three parameters all should be type numeric(integer).
    Create the Year column of type numeric
    Create the calculated column of type "DateTime" to return as date
    Please mark it answered, if your problem resolved or helpful.

  • Report column format specification

    I know, I can use TO_CHAR function in the SQL query to specify the column format for a user defined report. But, there is a separate tab for formatting columns when you creating a new report.
    Does anyone know how to specify the column format in the "Create Report Dialog" box?
    I tried with "999,999.99" and "###,###.##", doesn't seem to work.
    Thanks,
    Senthil.

    Itt appears that on Vista/11G/SQLDev 5440 in the Create report dialog ..
    report child query column formatting is lost (not saved)
    report parent query column formatting according to java formats detailed here http://java.sun.com/docs/books/tutorial/i18n/format/decimalFormat.html
    such as ###,### do not take effect

  • Interactive Report Column Formating '%' symbol

    Hi,
    I have an intercative report that shows a column displaying a number and and the sysmbol %. The source query is similar to:
    SELECT my_number||'%' as display_percentile
    FROM dual;
    Because of this the interactive report will only show this column as a string type and not number type, therefore my math filtering options are not available. Is there a way that I can display the column as a number type and still have it display as 50%
    I am using Application Express 4.1.0.00.32
    Thanks in advance.
    Edited by: 968358 on 05-Dec-2012 02:09
    Edited by: 968358 on 05-Dec-2012 02:10

    968358 wrote:
    Thank you fac586,
    Forgive me, I am a newbie at this and I am still at a loss. Where can I change the report column attributes to reflect css and alike. Do I need to do this on the report template or in the column attributes. When I have looked in the column attributes I cant see anywhere other than on the column link.Add a style sheet using the page HTML Header property attribute:
    <style>
    /* Replace COLUMN_ALIAS with the alias of the % column in your report */
    td[headers="COLUMN_ALIAS"]:after {
      content: "%";
    </style>

  • Dynamic URL with report column not showing

    I created a URL based on a report column in select report region, however instead of seeing the URL link I see the whole text , what am i doing wrong ?
    Fee Detail
    select col1, col2,
    CASE
    WHEN DPF_CLIENT_FEE_TYPE ='THPSCL' THEN
    'Fee Detail'
    ELSE NULL END AS col3
    from table
    Thanks for your help
    Edited by: user5397822 on Dec 20, 2011 1:00 PM

    Check that the "Strip HTML" opion is not set to Yes on the Report Attributes page (Layout section).

  • Report Column formatting

    In 9.0.2, I need to make 1 of my report column headings print as the system date.
    ie.
    Purchases on 05-SEP-02.
    BALLS
    BATS
    Is there any way to do this in the column formatting page of reports?

    Hi,
    You cannot have sysdate in the column heading. You can put only in the additional plsql code section.
    Thanks,
    Sharmila

  • How can I work with report columns in computation or validation?

    Hi all,
    I have an updateable report. Bevor submitting canges, I want to do computation or validation on one of the report columns. But a report column is not an item. Is there a possibility to work with report colums?
    Thanks, Daniela

    Hi Daniela,
    Presumably, your tabular form has been created using the wizard?
    If so, you might like to slightly change your SQL statement to allow you to access the "display only" columns in the collection.
    When you have time, you should have a look at the HTMLDB_ITEM package api documentation as this explains how you can manually construct a tabular form. But for now, for the "display only" column, you need to do something like:
    select
    other fields,
    HTMLDB_ITEM.DISPLAY_AND_SAVE(n,fieldname) columnheading
    FROM table
    where "n" is a column number - this will become G_F0n in the collection. You should ensure that you use a number that is not being used by an editable field - if you're not sure, do a View Source on a rendered page, and look for name="f01", name="f02" etc - these are the column numbers, pick one that isn't used for your new column.
    The documentation says, for DISPLAY_AND_SAVE: "Use this function to display an item as text, but save its value to session state." so this sounds exactly what you need.
    Regards
    Andy

  • Help with checkbox column layout

    Here is the what I need to accomplish:
    I need to display a long list(50-200) of checkboxes w/ labels in a multi column format.  They need to be sorted alphabetically downward and accross all columns. If scrolling is needed, then it should only scroll vertically.  Something like the image below.
    What I have tried was to use a TileList with a checkbox itemRenderer.  It works great for 1 column and scrolls vertically just fine.  It works great for 3 columns, however when it scrolls it scrolls horizontally and I need it to scroll vertically.  I have attached my code.
    One thing I have noticed is when you set 'direction = vertical' for a TileList the list sorts vertically but scrolls horizontally.  If you leave it as default (direction = horizontal), then it sorts horizontally, but scrolls vertically.  I need it to sort vertically and scroll vertically.  I have tried setting the VerticallyScollPolicy and HorizontalScrollPolicy but that just cut off the data instead of changing the scroll direction.
    I guess my second question is if this functionality is impossible with a TileList then what component would be a better option.
    Thanks in advance for taking the time to answer my questions.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    xmlns:csc="com.facl.uaf.common.shared.widget.*"
                    layout="vertical"
                    verticalAlign="top"
                    horizontalAlign="center"
                    backgroundGradientColors="[0x000000,0x323232]"
                    paddingTop="20"
                    paddingBottom="20">
        <mx:ArrayCollection id="collection">
            <mx:Object label="Alameda"/>
            <mx:Object label="Alpine"/>
            <mx:Object label="Amador"/>
            <mx:Object label="Butte"/>
            <mx:Object label="Calaveras"/>
            <mx:Object label="Del Norte"/>
            <mx:Object label="El Dorado"/>
            <mx:Object label="Fresno"/>
            <mx:Object label="Kern"/>
            <mx:Object label="Los Angeles"/>
            <mx:Object label="Orange"/>
            <mx:Object label="Placer"/>
            <mx:Object label="Plumas"/>
            <mx:Object label="Riverside"/>
            <mx:Object label="Sacramento"/>
            <mx:Object label="San Diego"/>
            <mx:Object label="San Francisco"/>
            <mx:Object label="Santa Barbara"/>
            <mx:Object label="Santa Clara"/>
            <mx:Object label="Santa Cruz"/>
        </mx:ArrayCollection>
        <mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml"
                     color="#323232"
                     textAlign="left"
                     paddingLeft="20"
                     itemRenderer="mx.controls.CheckBox"
                     verticalScrollPolicy="auto"
                     themeColor="#FFFFFF"
                     dataProvider="{collection}"
                     columnCount="3"
                     width="500"
                     height="100"
                     direction="vertical">
        </mx:TileList>
    </mx:Application>

    A List class like TileList does a couple of important things.  It only creates enough renderers to fill the viewable portion so you don't end up allocating tons of memory for 1000's of data items, and it has a selection model where you can select one or more data items and it draws a rollover and selection colored backgrounds over the entire renderer.
    Do you need that?  If not, a VBox with 3 HBoxes with 1/3 of the checkboxes in each HBox is all you need.  You can use a Repeater to generate the checkboxes or just add them in a loop.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Help with Report Variables

    I have been doing battle with the SBO Customer Receivables Aging Report. I am trying to add the fields "Customer Reference" and "Creation Date" to the Repetitive area of the report with no success. All of the existing fields are variables, and the on-line help says to contact SAP support (which would be me) for help with changing variables. Does anyne have a list of these variables, or know how to define them?
    Many thanks,
    Mike.

    Hi Mike Stroud, i'm actualy also working on the customer ageing report. You also responded to my post. It was the reports one. Well, im not sure about the variables but i simply wrote a query that brings all that info and more up. But i'm having problems diplsying it. In the normal SAP report/print layout, if i  make the report based on the query it doesn't let me move the info from the repetitive area to the header....why.....can you get around this??? I then did it in the advanced layout but the first page is always wrong. What do you want to do with the variables?? what are you trying to achieve with the report because me and my coleagues have had a BIG problem with the ageing.

  • Need help with complex column creation command

    Hello, all
    I need help with a complex column creation command and SQL anywhere help is not sufficient for it.
    Here is the situation:
    I need to write a generic DDL "alter table" command, which can add/modify columns without knowing in advance if they already exist in the destination table.
    Is there a command, which looks like:
    alter table "table1" add (on existing modify) column1 <datatype> <default> ?
    Thank you,
    Arcady

    Hi.
    I don't think this is supported in alter table command. But you can code that inside an if statement which queries systables & syscolumns. Your code should be something like that:
    if (select count(*) from sysobjects, syscolumns where sysobjects.id = syscolumns.id and sysobjects.name = 'some_table' and syscolumns.name = 'some_column') < 1
    begin
        alter table some_table add some_column numeric(12) not null
    end
    This is an example..
    Andreas.

  • Help with XHTML columns in IE6

    I'm having some problems with my columns in IE6. The math is
    all correct and it lays out perfectly fine in firefox as expected.
    For some reason IE6 seems to be doubling the numbers I assign as my
    margins. Can anyone give me a tip as to what's wrong here before I
    trash this whole idea and go with a old fashioned table.
    2 columns.
    15px left and right margins on the "left" column, 470px wide
    15px right margin on the "right"column, 455px wide

    Its an IE6 float/margin bug. If you add a margin in the same
    direction
    as the float IE6 will double it. Add display: inline; to the
    css styles,
    as below, to counter-act this problem.
    #left { margin: 0 15px; width: 470px; height: 100px; float:
    left;
    background: #f00; display: inline; }
    #right { margin: 0 15px 0 0; width: 455px; height: 100px;
    float: right;
    background: #666; display: inline; }
    quovadimus02 wrote:
    > I'm having some problems with my columns in IE6. The
    math is all correct and
    > it lays out perfectly fine in firefox as expected. For
    some reason IE6 seems
    > to be doubling the numbers I assign as my margins. Can
    anyone give me a tip as
    > to what's wrong here before I trash this whole idea and
    go with a old fashioned
    > table.
    >
    > 2 columns.
    > 15px left and right margins on the "left" column, 470px
    wide
    > 15px right margin on the "right"column, 455px wide
    >
    >
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <title>Untitled Document</title>
    > <style type="text/css">
    > body { margin: 0; padding: 0; width: 970px; background:
    #e1e1e1; }
    > #wrap { padding: 10px 0; background: #fff; }
    > #left { margin: 0 15px; width: 470px; height: 100px;
    float: left; background:
    > #f00; }
    > #right { margin: 0 15px 0 0; width: 455px; height:
    100px; float: right;
    > background: #666; }
    > </style>
    > </head>
    > <body>
    > <div id="wrap">
    > <div id="right"></div>
    > <div id="left"></div>
    > <div style="clear: both;"></div>
    > </div>
    > </body>
    > </html>
    >

Maybe you are looking for

  • Editing in Photoshop... psd file is huge!

    In Lightroom, you can "Edit in Photoshop". After editing and saving the file, a .PSD file is created and is part of the library. Great. But the file size for the .PSD is about 5x as large as the original .DNG. (about 35 megs) Is this normal? It would

  • PI7.1 error: no global key defined

    Hi Experts, I am getting an error when trying to open a message mapping in PI7.1: no global key defined. What does that mean? Can anyone shed some light on this? I've been unsuccessful in searching this error in SDN. Regards,

  • Identifying Files Based on a Template

    Hi guys, Would anyone know how to search for or generate a report to show which files have been created based on given template. When you save changes to the template, you get a list of those files that can be updated with that change, but the list i

  • What's the best strategy to implement ads?

    Hello Everyone, I've inherited a site as the content manager and the owners would like to start selling ad space on certain pages. Mostly the ad banners will be on the either side of the web pages. To see the site with out signing-up this page is pub

  • Working on the library in excel

    Hi I want to open the library in excel (well actually open office Calc). I want to have the "trackname for sorting" colum beeing automatically generated like this "trackname for sorting"="Trackname"+"albumtitle" I then want to use the modified data i