How to outline report regions

Hi,
I have a page with three report regions. Two (with column 1 and 2) on the region 4, and one in region 5 (with column 1).
The report in region 5 starts 3 or 4 characters earlier on the page then the first report of region 4.
How to get a correct outline (same starting point for displaying the region) ?
Hope I made my self clear.
Any reaction will be appreciated, in advance.
Leo

Hello,
If you can put an example on apex.oracle.com it will be much easier to help you out. Layout issues are really hard to debug if you can't see them.
Carl

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);

  • How to Set Report Region Title Dynamically

    I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    This is working great. The title of the report region is "Intraday Color Code Test - &P1_LAST_REFRESH_TIME."
    I have a hidden page item named P1_LAST_REFRESH_TIME on the page that contains the last time the report was refreshed. I am struggling with resetting this value when the report region is refreshed. ( May not even need this item!)
    To address this, I created an On Demand application process that gets the Last Refreshed string. I then altered the above code like this:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    var ajaxRequest = new htmldb_Get( null, &APP_ID., 'APPLICATION_PROCESS=SET_LAST_REFRESH_TIME',0);
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    ajaxResult = ajaxRequest.get();
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    Note the addition of the ajaxRequest stuff. This, too, is working. That is, if I check the value in ajaxResult, it does contain the correct, current time. So far so good.
    What I can't figure out is how, now, to get a reference to the title attribute of the Interactive Report Region so that I can reset it.
    I AM SOOOOO CLOSE. Can anyone fill in this last part of the puzzle for me?

    To clarify, I really just need to know how to get a reference to the Report Region's title so that I can set it to the value currently stored in "ajaxResult"

  • How to format report region titles?

    How do I format the report region titles with CSS? Is there a template for the Title lable?
    Pete

    Hello,
    The Report Template or the Report Region Template?
    And yes you can do both.
    Example of report template with css.
    http://htmldb.oracle.com/pls/otn/f?p=11933:7
    Carl
    Message was edited by:
    Carl Backstrom

  • How to retrieve report region source statement programmatically?

    Hi all,
    I have several report regions in an apex application each
    of type "PL/SQL function body returning SQL query"
    and of same structure like:
    bq. declare \\ stmt varchar2(32767); \\ ... \\ begin \\ /* some stuff preparing sql query string */ \\ stmt := 'select' || ' a,b,c' || 'from table'; \\ return stmt; \\ end;
    Now I need to retrieve the region source returned sql statement programmatically.
    The region source is stored in apex view "apex_application_page_regions.region_source".
    But what is the best way to retrieve the SQL statement value, by executing
    the anonymous pl/sql block OR how does it work in apex internally?
    An "execute immediate +region_source+ ... " approach does not work due to PLS-00372.
    Any hints?
    Regards,
    Matthias

    Dear Matthias,
    an interesting problem you raise here. The solution is to create a function from the region source, call that function and then do something useful with the result.
    Let's suppose your region source is :
    declare v_text varchar2(100); begin return(''select * from emp''); end;
    - put this text instead of the first declare
    declare
    v_statement varchar2(4000) := '
    declare
    function test return varchar2 is
    - put this code behind the source:
    begin
    dbms_output.put_line(test);
    end;';
    begin
    execute immediate v_statement;
    end;
    Now you have created a anonymous PL/SQL block that can be performed. The whole code looks like:
    declare
    v_statement varchar2(4000) := '
    declare
    function test return varchar2 is
    begin return(''select * from emp''); end;
    begin
    dbms_output.put_line(test);
    end;';
    begin
    execute immediate v_statement;
    end;
    Instead of the put_line you might set a package variable, so that you can use the result in another way,
    good luck, DickDral

  • How to hide report region?

    Hi All,
    In my application i am uisng the serach visibility concept when i am click on Search link i am displaying the another report as message, since they have not entered or selected any thing before clicking on serach button.
    <{font size="7" color="red"> No Data Found for Search Criteria. Please <{a href="f?p=&APP_ID.:6:&SESSION.::NO:"> Click here </a>} to re-enter serach criteria!! <{/font>
    Now when this message comes they will click here uisng the above message during that this region should hide and only first region should be visisble. For this i have tried like this
    <{font size="7" color="red"> No Data Found for Search Criteria. Please <{a href="f?p=&APP_ID.:6:&SESSION.::NO:P6_HIDE:hide"> Click here </a>} to re-enter serach criteria!! <{/font>
    But it it throwing error as "Unable to find item ID for item "'show'" in application. How to resolve this problem.
    Or
    Is they any othet way insted of displaying the report can i show in popu message staying no data found.
    Thanks,
    Anoo..

    Hi,
    You can use javascript alert message or some modal popup message (plugin or your own)
    Just create a condition when the actions should be fired. (in your case: click on search button + some_fields are empty / not clicked)
    Regards
    J :D

  • Partial Paging on Report Regions

    I haven't seem a large use of Partial Paging on Report regions on any of the example packaged application
    Is there a way I can implement partial paging on a subset of a report region ? e.g. I have a grid like the following
    project 1
    task 1
    task 2
    project n
    task 1
    task 2
    If I click on projects the tasks belonging it should expand .
    In my ASP application I just hide and display with DIV statements. Now I am upgrading to APEX I want to use Partial Paging. How flexible are report regions in APEX in regards to customising to this level and can it be done ?
    Stephen

    Hello,
    >>
    I haven't seem a large use of Partial Paging on Report regions on any of the example packaged application
    >>
    We will look into it. Since PPR is built in now we should turn it on pretty much everywhere.
    Carl

  • How can i define the width of report column in report region ?

    Hi,
    I have report region and i want to have a static width for each column ( not based on column name of column data ), how can i do it ?
    Thanks in advance ,
    Yoel

    Can you provide more details pls? I am also trying to change widht of report columns and I do not see anywhere in reports atrributes where it allows me to do that...Thanks so much!

  • How to find orientation of  image displayed in a report region

    Hello,
    I have Apex 3.1 application showing an image in a report.
    The images are held as files on the web server and filename and description held in a database table
    I can use SQL to retrieve the data into report columns and then HTML expression to display the image as a fixed size as shown below. This works fine for landscape pictures but obviously distorts portrait ones.
    I wanted to check the orientation of the image and adjust width and height if portrait. I was considering using javascript to get image.height and image.width but am not sure how to reference the column and feed back into the HTML expression.
    Is this this the best approach and any help how to reference the column would be appreciated
    Many thanks
    Colin
    The Report Region Source is -
    select      "PHOTOFILE"."FNAME" as "FNAME" ,
    "PHOTOFILE"."ID" as "ID",
    "PHOTOFILE"."DESCRIPTION" as "DESCRIPTION",
    "PHOTOFILE"."FNAME" as "IMG2"
    from      "PHOTOFILE" "PHOTOFILE"
    where id=:P4_IMAGE_IDColumn Attributes IMG2
    Column Formatting
    HTML Expression
    <B><I><U><font face="verdana size="16"><center> #DESCRIPTION# </I></U>
    <font face="verdana size="20">&P4_DESCRIPTION.
    </B></center></font>
    <br/>
    <img src="#IMG2#" width=600 height=400  >

    This example may help you, although a bit different from what you want to achieve:
    http://apex.oracle.com/pls/otn/f?p=31517:212
    The point was:
    1. display image region should be fixed size (300px wide and 300px height)
    2. if the image size is bigger than that, the region should expand automaticaly.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to create a report region which the first colomn is row selector column

    I want to create a report region and its first column is a row selector column. I have used select sentence to select some columns. But I do not know how set the first column to row selector column. I mean I want to do as follow. When a radio which is first column is chosen, it will return it's value of the column in the chosen row. Please help me! Thanks

    Hi unnamed,
    Suppose you have an id that identifies your record.
    Go to Report definiton, tab report attirbutes.
    Select the id of your record.
    Create a link to the page you want to go to.
    Hope this helps.
    If not, I suggest you to create a from with report, and analyze the way the wizard has generated it.
    Leo

  • How to remove hyperlink in Reports Region

    How to remove hyperlink in a Report region (Based on some filter condition)
    Example : In Report Region, I am getting value as 10, 20, 30, 0, 44, 55, 0
    In the above value, I need to remove the hyperlink for 0 values.
    Can anyone help me to resolve this issue.
    Thanks in advance.
    Regards
    Balaji S

    If you want a link column for values other than 0 and a blank for those with 0 then the best way to do this is to use a case or a decode to return a LINK image or text to a hidden column; I usually return the Edit icon only. You can then use the 'column link' region on a different column to create a link in the usual way and set the Link Text to the hidden column (e.g. #EDIT# in the example below). If you have set the target page to require a Checksum this will then be added without having to code it into your sql. E.g.
    SELECT some_columns, 
      CASE WHEN numcol != 0 THEN '<img src="#IMAGE_PREFIX#e2.gif" alt="">'
      ELSE null
      END "EDIT"
    FROM your_tableIf you want the same column value, but those of 0 to not have a link and those other than 0 to have a link then you need to code the link into your sql. e.g.
    SELECT some_columns, 
      DECODE (numcol,0,numcol,'<a href="f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::">'||numcol||'</a>') "EDIT"
    FROM your_table# = your URL e.g f?p=&APP_ID.:11:&SESSION.::&DEBUG.:11::
    If you require a checksum on the link you need to add the apex_util.prepare_url function to the URL.
    Cheers
    Shunt

  • How do I set an id to a table row in a report region?

    How do I assign an id to a table row in a report region? I am trying to uniquely identify a row in the result set. What I want to do is have the report region render an id for each tr tag i.e.
    <tr id='1'>...</tr>
    <tr id='2'>...</tr>
    <tr id='3'>...</tr>
    Thanks,
    Boyan

    Hello,
    In the Before Each Row attribute of the report template you are using add something like this.
    &lt;tr id="row_#ROWNUM#">ID's in HTML should never start with a number it won't break anything but it's wrong that's why I put row_ first
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • How to set value of a column in report region

    Hi,
    I have a report region based on a query.In this my first column is selectlist "select row" having to values "yes" & "No".
    I have two buttons on top of the region "Check all" and "uncheck all".
    My requirement is when I click check all button all rows corresponding to "select row" column gets selected to Yes and when I click No all rows gets selected to "No".
    Thanks
    Vikram

    Actully I want to set the value of a column in report region.
    There are replies in the forum but in those the item is in form but not in the report region.
    I am generating report region by using htmldb_item.selectlist and i dont know how to set value in these type of items.

  • How do I reference items in a report region

    I've created a report. You can view the region attributes at http://i3.tinypic.com/wcn59h.jpg.
    I've changed the "Display As" attribute of one of the items (QUAN_ID) to 'Select List (query based LOV)'. I've set the "LOV Query" attribute on this item to the following.
    select quan.answer_txt
    , quan.id
    from vug_question_answers quan
    , vug_survey_questions suqu
    where suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    --and    suqu.id = :suqu_id
    order by quan.question_answer_seq_no
    The purpose of this LOV is to return QUESTION_ANSWERS that have a foreign key to the SURVEY_QUESTIONS record identified by the sufu_id. The bind-variable ":p33_surv_id" is a page item. I THOUGHT the bind-variable ":suqu_id" (referenced in the commented-out line) would be the name of a column item in my report region. However, the LOV doesn't return correct values if I uncomment the line containing :SUQU_ID.
    How do I determine the name of the report region column item so that I can reference it within the LOV of another item in the same region?
    Thanks,
    -Ken

    Ivo,
    That's it!
    My original tabular form query read as follows.
    select rean.id,
    rean.resp_id,
    suqu.surv_id,
    suqu.question_txt,
    quan.suqu_id,
    rean.quan_id, --this is the column I was adding an LOV to
    rean.entered_by,
    rean.entered_on,
    rean.updated_by,
    rean.updated_on
    from vug_respondent_answers rean
    , vug_question_answers quan
    , vug_survey_questions suqu
    where rean.resp_id = :p33_resp_id
    and quan.id = rean.quan_id
    and suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    I've changed it to the following.
    select rean.id,
    rean.resp_id,
    suqu.surv_id,
    suqu.question_txt,
    quan.suqu_id,
    htmldb_item.select_list_from_query
    ( 6
    , rean.quan_id
    , 'select quan.answer_txt, quan.id from vug_question_answers quan, vug_survey_questions suqu where suqu.id = quan.suqu_id and suqu.surv_id = :p33_surv_id and suqu.id = '|| suqu.id ||' order by quan.question_answer_seq_no') quan_id,
    rean.entered_by,
    rean.entered_on,
    rean.updated_by,
    rean.updated_on
    from vug_respondent_answers rean
    , vug_question_answers quan
    , vug_survey_questions suqu
    where rean.resp_id = :p33_resp_id
    and quan.id = rean.quan_id
    and suqu.id = quan.suqu_id
    and suqu.surv_id = :p33_surv_id
    My screen now looks as found at http://i3.tinypic.com/wgq4g9.jpg. (Note that I've also changed the question since a previous post.)

  • How do I create Fixed-Width Report Regions in APEX?

    Hi
    I would like to create 3 or 4 report regions of uniform fixed-width on a single APEX page.
    How do I go about this?
    Each report varies in the number of columns and the width of columns.
    Thanks
    Kind Regards
    Greg

    Hello,
    Customize your region template by adding width property.

Maybe you are looking for

  • Using multiple physical tables in a single logical dimension table

    I have two physical tables that are related on a 1 to 1 basis based on a natural key. One of these tables is already part of my RPD file (actually, it is the W_EMPLOYEE_D from the Oracle BI Applications). The second table contains additional employee

  • Automated Log Off - Windows 7/8

    What is your goal here? There are a couple of different ways to go about this. One way is, If you set up a policy for the windows 7 boxes to force log off after the user's hours expire (not using the right words here yet) and then update their AD set

  • Box wise packing slip

    hi, the packing scenario is a under: 1. finished items packed in a small box. One item in one samll box. 2. the small boxes are then packed into corrugated box. suppose 10 small boxes are packed in one corrugated box. 3. then corrugated boxes are pac

  • Oracle 10g crashes Windows 2003 server (bluescreen)

    Hello, i have a problem that Oracle 10G crashes my Windows 2003 Server. All components are up-to-date and it is a certified system setup. The database worked well for months, but three days ago when our staff went to a workshop, I shut down the machi

  • Where is the books tab on iTunes?

    I have a new MacBook air and I am trying to take the books from my hard drive and load them to itunes so that I can sync them to my ipad. I have been struggling with this for days. All the books are Kindle, and I have the Kindle app. This is worse th