Conditional HTML code in a report model

Hello

I would like to know HOW to have conditional HTML code when we create a model for a region of report.
I have a report of area where I display the range of the DVD where associated files are stored.
If there is only 1 DVD (IF ND (number of DVD) = 1), I want to hide a part of the HTML CODE.


More details:

This application where we have all the magazines and books that we scanned.
My request for the region of report is:
Select ID, TIT, SERIE, YEAR, DVD1, DVD2 from TABLE where
TIT = 'National Geographic'

Results
________________

TIT                 SERIE     DVD1       DVD2          YEAR  ND       NF           FORMAT
National Geographic     C     918       938         2006   20       24936         TIFF 8 bits, 200 bpp
Then DVD1 is the 1 DVD1 and DVD2 series is the last DVD of the series


This shows my model:
C2006-0918 to C2006-0938
Content: 24 936 files on  20 DVDs
Here is the HTML code in my template

<tr>
    <td>#SERIE# #YEAR# - #DV1# to #SERIE# #YEAR# - #DV2#</td>
  </tr>
  <tr>
    <td>Contenu:</strong></td>
    <td>#NF# files on #ND# DVD</td>
  </tr>
If there is only 1 DVD, I want to hide this code in the model

-#DV1 # to #SERIE # #YEAR #-#DV2 #.
* How can I do?


Thank you

Roseline

Models of conditional row/column in report models will work for you?

Something like #ND # = 1 or #ND # > 1?

Tags: Database

Similar Questions

  • Conditional expression HTML in a classic report-

    Apex 4.2

    I currently have a column of the report in a classic report that has an attribute of formatting of column as below. It works well, it displays a map icon that when you click on it turns off to google maps and put 2 geo points on a map. However, I need to change this report column so that the HTML expression will be different according to the value that is returned if the column returns the value 1 then the Expression HTML will be slightly different.

    EXPRESSION OF HTML

    < span class = "map_ #BROKE_GEO #_ #VALID_GEO_CODES #" > < a target = _blank href = "f? p = & APP_ID.:323: & SESSION.: P323_PARCEL_ID, P323_SCAN_ID, P323_PROP_ADDR1, P323_PROP_POSTCODE, P323_PROP_LAT, P323_PROP_LONG, P323_SCAN_LAT, P323_SCAN_LONG: & P341_PARCEL_ID, #SCAN_ID #, #LINE_1 #, #POST_CODE #, #PROPERTY_GEO_LAT #, #PROPERTY_GEO_LONG # #SCAN_GEO_LAT #, #SCAN_GEO_LONG #"> < img src =" #WORKSPACE_IMAGES #& P341_IMG_MAP_ #BROKE_GEO #. "alt ="Google Maps"title ="Google Maps"> < / has > < / span >"

    I think I can do this in the source report directly with a case statement and include the HTML code for the column but how do you manage all the quotes in the SQL statement.

    for example

    Original request

    SELECT

    parcel_id

    status

    LOCATION

    scan_date

    scan_id

    driver_comments

    card_id

    , valid_geo_codes - it's my html topic

    property_geo_lat

    property_geo_long

    scan_geo_lat

    scan_geo_long

    broke_geo

    line_1

    post_code

    OF vw_parcel_history_details

    WHERE parcel_id =: p341_parcel_id

    ORDER BY scan_date

    New query

    SELECT

    parcel_id

    status

    LOCATION

    scan_date

    scan_id

    driver_comments

    card_id

    (case

    When valid_geo_codes = 1 then: p341_valid_geo_codes1

    When valid_geo_codes = 2 then: p341_valid_geo_codes2

    When valid_geo_codes = 3 then: p341_valid_geo_codes3

    valid_geo_codes end)

    property_geo_lat

    property_geo_long

    scan_geo_lat

    scan_geo_long

    broke_geo

    line_1

    post_code

    OF vw_parcel_history_details

    WHERE parcel_id =: p341_parcel_id

    ORDER BY scan_date

    I want to put: p341_valid_geo_codes1,: p341_valid_geo_codes2,: p341_valid_geo_codes3,: p341_valid_geo_codes4 be various iterations of this large html string but I do not know how to format because all the quotes off the coast?

    Thank you

    AndyLou wrote:

    I think I can do this in the source report directly with a case statement and include the HTML code for the column but how do you manage all the quotes in the SQL statement.

    With a lot of attention.

    You are on the right track, yes you can do it.  That's all just annoying because the single quotes must be doubled in your SQL to be escaped.

    BUT the good thing is that the double quotes will not affect SQL only single quotes.

    Then. I think that your new query will look like this:

    SELECT
         parcel_id
        ,status
        ,LOCATION
        ,scan_date
        ,scan_id
        ,driver_comments
        ,card_id
        ,(case
          when valid_geo_codes=1 then
          'Google Maps'
          when valid_geo_codes=2 then
          'Google Maps'
          when valid_geo_codes=3 then
          'Google Maps'
          end) valid_geo_codes
        ,property_geo_lat
        ,property_geo_long
        ,scan_geo_lat
        ,scan_geo_long
        ,broke_geo
        ,line_1
        ,post_code
        FROM vw_parcel_history_details
      WHERE parcel_id = :P341_PARCEL_ID
      ORDER BY scan_date
    

    Baring of typos that probably works.

    I think you know that you need to change the display Standard for the HTML column displays in HTML format and not as text.

    I would be remiss in my duty if I did not mention that your values (such as line_1, post_code, etc.) if not controlled can contain the code of script in them, and then you may be susceptible to Cross Site Scripting attacks.  Not a problem for all the world, but it is worth noting.

    Thank you

    -Jorge

    PS. I should add that right now all span three of HTML is the same, if they are going to be the same, then I would refactor this to a single line of HTML and instruction box on the inside for the three sectors of the P341_VALID_GEO_CODES.  in any case, I think you get the idea.

    Post edited by: jrimblas

  • Sort (select query) without HTML code within a region report

    The user fills out point (displayed as: Textarea with HTML editor) on the page. In the table, it is written in the HTML code. For example: < STRONG > weather < facilities > or < U > Sunday < /U >. The values are used in the SQL query (Select X from table in SQL Query report region).

    The sort is not good because the HTML code is included.
    Is it possible to filter the html code. Does anyone have a solution?

    If it is a standard report in report attributes, under layout and pagination, there is an option to strip html

    Can also use a regular expression in your query

    SELECT REGEXP_REPLACE(html_text,'<[^<>]*>','')
    
  • Report model of column named with 2 lines/registration poster null in the top row

    I was able to create a report model of column named with 2 rows by record type for a tabular presentation, but it seems to hide only the first line of the original registration and displays the 2nd row, i.e. all NULL values. All other records appear correctly.

    Here is the HTML code for the page that results for the init_row of the report. I understand why he behaves this way, but I have no idea how to do the style of the first < tr > Reports to the 2nd line of the record.
    <tr id="init_row_R1009150109271352230" style="display:none;" >
    <td rowspan="2"><a href="javascript:ShowRegion('')" >(null)</a></td>
    <td rowspan="2">(null)</td>
    <td rowspan="2">(null)</td>
    <td rowspan="2"><label for="f04_0000" class="hideMeButHearMe">Completion Date#ROW_HEADER#</label><span style="white-space: nowrap;"><input type="text"  id="f04_0000" name="f04" maxlength="2000" size="12" value="" autocomplete="off"></span></td>
    <td>Premises</td>
    <td><label for="f07_0000" class="hideMeButHearMe">Vacant#ROW_HEADER#</label><input type="text" name="f07" size="5" maxlength="2000" value=""  id="f07_0000" /></td>
    <td><label for="f08_0000" class="hideMeButHearMe">Delinked#ROW_HEADER#</label><input type="text" name="f08" size="5" maxlength="2000" value=""  id="f08_0000" /></td>
    <td><label for="f09_0000" class="hideMeButHearMe">Soft Dt#ROW_HEADER#</label><input type="text" name="f09" size="5" maxlength="2000" value=""  id="f09_0000" /></td>
    <td><label for="f10_0000" class="hideMeButHearMe">Ull Poi#ROW_HEADER#</label><input type="text" name="f10" size="5" maxlength="2000" value=""  id="f10_0000" /></td>
    <td><label for="f11_0000" class="hideMeButHearMe">Ported#ROW_HEADER#</label><input type="text" name="f11" size="5" maxlength="2000" value=""  id="f11_0000" /></td>
    <td><label for="f12_0000" class="hideMeButHearMe">Blocked#ROW_HEADER#</label><input type="text" name="f12" size="5" maxlength="2000" value=""  id="f12_0000" /></td>
    </tr>
    <tr>
    <td>Path</td>
    <td><label for="f13_0000" class="hideMeButHearMe">Path Vacant#ROW_HEADER#</label><input type="text" name="f13" size="5" maxlength="2000" value=""  id="f13_0000" /></td>
    <td><label for="f14_0000" class="hideMeButHearMe">Path Delinked#ROW_HEADER#</label><input type="text" name="f14" size="5" maxlength="2000" value=""  id="f14_0000" /></td>
    <td><label for="f15_0000" class="hideMeButHearMe">Path Soft Dt#ROW_HEADER#</label><input type="text" name="f15" size="5" maxlength="2000" value=""  id="f15_0000" /></td>
    <td><label for="f16_0000" class="hideMeButHearMe">Path Ull Poi#ROW_HEADER#</label><input type="text" name="f16" size="5" maxlength="2000" value=""  id="f16_0000" /></td>
    <td><label for="f17_0000" class="hideMeButHearMe">Path Ported#ROW_HEADER#</label><input type="text" name="f17" size="5" maxlength="2000" value=""  id="f17_0000" /></td>
    <td><label for="f18_0000" class="hideMeButHearMe">Path Blocked#ROW_HEADER#</label><input type="text" name="f18" size="5" maxlength="2000" value=""  id="f18_0000" /></td>
    </tr>
    <tr>
    Any ideas to try would be greatly appreciated. I tried to use conditions on the values of #ROWNUM #, but the null line is still there...

    And yes I know I should not use the tabular forms, but sometimes what is wanted, it is not what is better... :-)

    See you soon,.
    Greg

    Published by: snowman on 4 December 2012 15:12

    Published by: snowman on 4 December 2012 15:13

    See + {: identifier of the thread = 1116477} +.

    Sorry, I forgot all that when I suggested that you can use a custom here report model (not surprisingly, since I did not use the tabular forms given that these changes have been made).

    I don't remember see potential customization discussed in 4.1 or 4.2 (but then I would not have all these tabular forms).

    If your options seem to be:

  • Using nested tables as suggested by mark, who introduced the downside to Peter about the width of the columns (you can try to remedy using CSS to create fixed-width tables/columns, but my last experience of this receipt very messy in terms of support of IE cross-browser and legacy...)
  • Build the page completely manually without the help of the features integrated in the form of the APEX.
  • Try to customize the behavior of line add to take into account the layout is customized using the dynamics of the actions/jQuery.
  • Do not use the tabular forms.

  • HTML tags in the report of BEEP

    Hello

    I have a BI report based on the analysis OBIEE report.
    There is a column that contains the data stored in the database to HTML.
    This column contains data with tags '< p > '.

    In assessing OBIEE, I converted the data format of this column to the "HTML Code" and the OBIEE report displays only data i.e'test text "in this case.

    But the BEEP report still shows data in the way that data is stored in the database.

    Is it possible in BI Publisher where the data will be overwritten by the normal text and not HTML?

    Try this


    instead of in the RTF model

    http://docs.Oracle.com/CD/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#CHDCEEIJ

  • The mouse show details in a report model - jQuery

    Hello

    I could use some help on the below question. I am creating a report with a custom report model that will allow me to view the details of each line in a popup.

    The sample that I created can be verified using the sub workspace.

    URL: apex.oracle.com

    Workspace: Mon-samples

    Username: support

    Password: support1

    Application: 62495

    Page: 7

    What I did was to create a simple report model by passing the ID of each line. function jQuery and CSS to the page level.

    Now the problem:

    • As I've used ID in the report model and jQuery, this isn't showing the respective details but showing all the details. I think I should use class but don't know how I can change the function dynamically.
    • Once I got to the question above, I would like to add a few links from the context menu and make the popup stay when I move the cursor in the pop-up window and allow me to click.


    Ask an expert in this matter.


    Thank you

    Stephanie.

    Kalesh Ravi-Oracle wrote:

    I could use some help on the below question. I am creating a report with a custom report model that will allow me to view the details of each line in a popup.

    The sample that I created can be verified using the sub workspace.

    URL: apex.oracle.com

    Workspace: Mon-samples

    Username: support

    Password: support1

    Application: 62495

    Page: 7

    What I did was to create a simple report model by passing the ID of each line. function jQuery and CSS to the page level.

    Now the problem:

    • As I've used ID in the report model and jQuery, this isn't showing the respective details but showing all the details. I think I should use class but don't know how I can change the function dynamically.

    Indeed. Attributes ID must uniquely identify an element in the document. The problem, it is that the code is unable to tell the difference between the list items and therefore displays all items corresponding to the ID selector, only the last being visible on top.

    • Once I got to the question above, I would like to add a few links from the context menu and make the popup stay when I move the cursor in the pop-up window and allow me to click.

    This can actually be implemented purely in CSS without using JavaScript or jQuery at all. I created a demonstration of this in your application.

    Custom report template

    The report model is simplified and syntactically corrected by the replacement of the ID attributes in double with a single top-level class attribute. The semantics is improved by using a list of description in place of non-semantique div and inappropriate p elements.

    Front of the lines

    After the lines

Model of line 1

  • #EMPNO#
    Name
    #ENAME#
    Job
    #JOB#
    Manager
    #MGR#
    Hire Date
    #HIREDATE#
  • Inline CSS page

    See comments below for the details of the CSS rules involved.

    /*
      Float list so that list items do not span full width of page.
    
      Apply padding top and bottom to ensure all pop-ups are fully visible.
    */
    .details-popup {
      float: left;
      clear: right;
      margin-right: 0;
      padding: 2em 0 2em 0;
    }
    
    /*
      Relative positioning on list items enables pop-ups to be dynamically positioned
      using only CSS.
    */
    .details-popup li {
      position: relative;
    }
    
    /*
      Style and initially position the detail pop-ups.
    
      For accessibility reasons the pop-up is not hidden using display: none, but is
      positioned outside the visible viewport. This means the detail information
      is still accessible to screen readers, but does not appear on visual displays.
    */
    .details-popup li dl {
      position: absolute;
      top: -3.6em;
      left: -10000em;
      margin: 0;
      border: 1px solid #e2e2e2;
      padding: 1em;
      width: 14em;
      background-color: #fcfcfc;
      font-size: smaller;
      opacity: 0;
    }
    
    /*
      Display the details pop-up for a list entry when the mouse pointer hovers over
      it.
    
      This is achieved by moving the element from its dormant off screen location
      to a position slightly to the right of the list entry.
    
      CSS animation is used to fade the pop-up in.
    */
    .details-popup li:hover>dl {
      left: auto;
      right: -13em;
      opacity: 1;
      transition: opacity 0.8s;
    }
    
    /*
      Style the detail terms and descriptions so they appear on the same line.
    */
    .details-popup li dt {
      display: inline-block;
      width: 5em;
      font-weight: 500;
    }
    .details-popup li dd {
      display: inline;
      margin: 0;
    }
    .details-popup li dd:after{
      display: block;
      content: "";
    }
    
    /*
      Additional rules to render CSS pointer on pop-up box.
    */
    .details-popup li dl:after, .details-popup li dl:before {
      right: 100%;
      top: 50%;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
    }
    .details-popup li dl:after {
      border-color: rgba(252, 252, 252, 0);
      border-right-color: #fcfcfc;
      border-width: 10px;
      margin-top: -10px;
    }
    .details-popup li dl:before {
      border-color: rgba(226, 226, 226, 0);
      border-right-color: #e2e2e2;
      border-width: 11px;
      margin-top: -11px;
    }
    
  • Under certain conditions changing IMG link Standard report column

    Apex 4.0.2

    I have an application that includes photos of employees. I want to display a link to the column in a report of the employee who opens a page to manage the photos of a given employee. Worked well when using an image of compatible icon for all employees.

    But I want to do is have two images of icons. If a photo already exists. Another case a photo has not yet been added.

    I have included a select with the following CASE statement in the Source of my region.

    (CASE WHEN p.person_id IS NULLTHENIMG alt = "nophoto" src ="#WORKSPACE_IMAGES #nophoto.png" > "
    ON THE OTHERIMG alt = "photo" src ="#WORKSPACE_IMAGES #photo.png" > "
    END) "PHOTO".

    I believe it works. I ran in SQL Developer, and it produces the following-

    < img alt = "photo" src = "#WORKSPACE_IMAGES #photo.png" >

    < img alt = "nophoto" src = "#WORKSPACE_IMAGES #nophoto.png" >

    I created a link to the column as a COLUMN of REPORT STANDARD. I put the TEXT of the LINK to #PHOTO #. I put the binding TARGET, PAGE and EMPTY the CACHE settings. The column displays as empty. Firebug shows an empty TD.

    I remove the binding TARGET settings, PAGE and CLEAR the cache. The img is displayed correctly. Firebug shows the < img > properly. But of course, it is therefore more a link.

    I'm doing something wrong here. But do not know what it is.

    Walt K wrote:

    Apex 4.0.2

    I have an application that includes photos of employees. I want to display a link to the column in a report of the employee who opens a page to manage the photos of a given employee. Worked well when using an image of compatible icon for all employees.

    But I want to do is have two images of icons. If a photo already exists. Another case a photo has not yet been added.

    I have included a select with the following CASE statement in the Source of my region.

    (CASE WHEN p.person_id IS NULL THEN 'nophoto'
         ON THE OTHER 'photo'
    END) "PHOTO".

    I believe it works. I ran in SQL Developer, and it produces the following-

    photo

    nophoto

    I created a link to the column as a COLUMN of REPORT STANDARD. I put the TEXT of the LINK to #PHOTO #. I put the binding TARGET, PAGE and EMPTY the CACHE settings. The column displays as empty. Firebug shows an empty TD.

    I remove the binding TARGET settings, PAGE and CLEAR the cache. The img is displayed correctly. Firebug shows the correctly. But of course, it is therefore more a link.

    I'm doing something wrong here. But do not know what it is.

    That's because the behavior of standard report is to strip the HTML code of column values used in the expressions of HTML, links in the column and the report when the data is exported as CSV files. This is controlled by the attribute of HTML report of band, which by default is set to Yes. Change this setting to No. , and link images to be displayed.

    A solution with a better separation of concerns that are compatible with the Strip HTML and display text default settings is:

    1. Select only the image name in the query [ nvl2(p.person_id, 'photo', 'nophoto') photo is simpler than the previous CASE expression] and make this hidden column
    2. Add a link in the column to the State ('add column link' in the bar of tasks )
    3. Set the property of the new column binding Expression in HTML to#PHOTO#
    4. Specify the column link attributes as required

    Last suggestion would be to display thumbnails of the photos used here where they exist rather than an arbitrary generic image...

  • Why the element type style repeats in my html code

    I have a Business Catalyst site that I created using a starter template. I made a few changes to customize the model and updated the site in British Colombia. After some changes of pages and a few minor adjustments to the CSS file, I noticed that when I view the HTML code that it contains a repetitive style element in the head section. All pages work correctly. I copied and pasted the code below:

    < html >

    < head >

    < title > scientist # | # .com extension < /title >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < style type = "text/css" >

    < / style >

    < / head >

    No functionality has been affected. Any ideas on my what is happening? Thanks for the ideas.

    Change you code using the editor in the admin, if you have errors of syntax html 5 it will try to sort the xhtml standards. Online publishers are not intended for the code.

  • What I see in the CSS is not what appears in the HTML code - why?

    I work with 5 TCS and HR 11 FM12, all patched up. I find that any FM works better than linked (a little less crashes and access to the CSS seems better).

    However, in many cases, the CSS HR does not show which displays the HTML code. Why?

    For example, my style of GlossaryDefinition (FM_GlossaryDefinition) is indented FM (part of a running head construction) and I don't want in the HTML output. But such CSS only displayed in HR shows no dash while the HTML displays a dash. How can this be? What is going on?

    31.png

    Thank you

    Sean

    @seanb_us - I filed a bug report now on this behavior; You should probably do too. Your experimental project will be probably ideal for them to use if they need to see what is happening.

    PS - the recipe SSL is the choice that you make on the pod single Source Layouts (who came out of your help). The term 'recipe' is filched from the large (Rick Stone) @Captiv8r ;>)

  • Problem with a report model

    I have a report that uses a custom model.
    Light blue 15 theme it worked fine.
    I changed my theme to 21 scarlet and copied the model, but is no longer functions, that is to say the highlight is ignored

    My report is
    select owner, table_name, partition_name, subpartition_name, 
    to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') update_time, 
    to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') previous, 
    to_char(latest-previous,'dd.mm.yyyy hh24:mi:ss') duration,
    case when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 120 then 'CC0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 90 then 'FF0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 60 then 'FF6600'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 30 then 'FF9900'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 20 then 'FFCC00'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 10 then 'FFFF00'
         else 'FFFFFF' 
    end BG_COLOUR
     from (
    select da.owner, da.table_name, da.partition_name, da.subpartition_name ,(da.stats_update_time) latest, 
    nvl((select 
    max(stats_update_time) 
    from DBA_TAB_STATS_HISTORY 
    where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS'))  and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time < (da.stats_update_time)),to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss')) previous 
    from (
    select 
    owner, table_name, partition_name, subpartition_name, stats_update_time 
    from DBA_TAB_STATS_HISTORY 
    where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS'))  and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') 
    order by stats_update_time asc) da)
    All the passes are passes standard report

    My model is
    Model name column Type (model line)
    Custom class 1 template
    Line Template1
    <tr style="background-color:#8#;">
    <td style="background-color:#8#;" class="t15data">#1#</td>
    <td style="background-color:#8#;" class="t15data">#2#</td>
    <td style="background-color:#8#;" class="t15data">#3#</td>
    <td style="background-color:#8#;" class="t15data">#4#</td>
    <td style="background-color:#8#;" class="t15data">#5#</td>
    <td style="background-color:#8#;" class="t15data">#6#</td>
    <td style="background-color:#8#;" class="t15data">#7#</td>
    </tr>
    Any help appreciated

    Gus

    Gus C wrote:
    I changed the template with your code, but still no formatting.
    It's the source of the page

    USER_TAB_STATS_HISTORY for 10-01-2013-21.00.04Edit
  • Several classes of 15-specific to the topic: Watch the report model theme Standard 21 and map the classes of equivalent items for custom report templates for the report to match the theme 21 L & F.

    Clearly some s ' # ' abandoned somewhere along the line. Should have

    and so on.

    The query or the model never understood s ' # ' in hexadecimal color values? If not maybe you used a previous version of the 15 without DOCTYPE theme and "#"-have been applied in quirks colors mode less, but do not conform to standards 21 theme...

    I would add the s ' # ' to the application as they are actually a part of the value of the color:

    ...
    case when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 120 then '#CC0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 90 then #'FF0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 60 then '#FF6600'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 30 then '#FF9900'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 20 then '#FFCC00'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 10 then '#FFFF00'
         else '#FFFFFF'
    end BG_COLOUR
    ...
    

    However if this model is used by several reports you can change the model to avoid changing all queries:

    ...
    
    ...

    This is not a good solution, because it means that you can perfectly change color specifications in the request of hexadecimal values of named colors or values RGB etc..

  • Adobe Muse: how to access the inserted HTML code?

    Hello world

    do you know how to edit the HTML code already inserted into a model Adobe Muse?

    This code is for analytical use.

    Thanx

    --

    g

    Overdraft.

    As I am using layers, the HTML code element was hidden by other graphic elements of the upper layer.

    I could access the HTML code by:

    -first to hide the upper layers

    -then right-click on it and select 'change... '. »

    --

    g

  • HTML code is displayed as a text

    Hi team,

    When I use the HTML code in a sql query to generate the reports, it's showing as simple text.
    No effect of html at all.

    Is it possible to change the view of the report show the HTML text should be displayed correctly.

    I use the apex 4.0 version.

    Thank you and best regards,
    Rajendra

    Published by: rajendra on February 15, 2012 05:09

    Rajendra says:

    When I use the HTML code in a sql query to generate the reports, it's showing as simple text.
    No effect of html at all.

    Is it possible to change the view of the report show the HTML text should be displayed correctly.

    Make sure the column attribute display as for the report column is column of Standard report.

    (This is a frequently asked question: still searching the forum carefully before starting a new thread.)

  • Lining of the divs to the top, one with a fireworks html code with a jQuery slideshow

    I'm having a problem lining up two div in a div.  A div has an HTML inside fireworks (by the way, I can't understand why only the button States are not ' work.)  I inserted the code via the Insert menu > image objects > fireworks html, but for some reason, the work of button States.  When I open the navbar.htm in the file browser, it opens it in dreamweaver and it works perfectly in the live preview).  The other div has a simple jQuery slideshow.  I have these two div in comprehensive plu div named 'div id = wrapper.  How can I match these so that the nav div and body div flush against each other within the wrapper div tag?

    I intend to put the extra divs above and below the div wrapper for more content.  If someone understand why the fireworks html code does not work when inserted, would be great!

    Here is the code:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "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 = UTF-8 "/ >"

    < title > Richard J. Craddock Designs < /title >

    < script type = "text/javascript" >

    var _gaq = _gaq. [];

    _gaq.push (['_setAccount ',' UA-3119473-8 ""]);

    _gaq.push (['_setDomainName ', 'none']);

    _gaq.push (["_setAllowLinker", true]);

    _gaq.push (['_trackPageview ']);

    (function() {}

    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;

    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";

    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);

    })();

    < /script >

    < link href = "stylesMain.css" rel = "stylesheet" type = "text/css" / > "

    < style type = "text/css" >

    {body

    background-color: #2f2f2f;

    width: 50 Ms.

    }

    . FadeIn {position: relative; height: 332px; width: 500px ;}}

    . FadeIn img {}

    position: absolute;

    left: 0px;

    top: 0px;

    width: 784px;

    } td img {display: block ;}} TD img {display: block ;}} TD img {display: block ;}} TD img {display: block ;}} TD img {display: block ;}} TD img {display: block ;}} TD img {display: block ;}}

    < / style >

    "< script src="scripts/jquery.min.js "> < / script >

    < script >

    $(function() {})

    $('.fadein img:gt(0)').hide();)

    setInterval (function () {$('.fadein_:_first-child').fadeOut ().next('img').fadein () .end () .appendTo ('.fadein');}, 3000);

    });

    < /script >

    < / head >

    < body >

    < div id = 'wrapper' >

    < div id = "navdiv" >

    < table style = "" display: inline-table; "border ="0"cellpadding ="0"cellspacing ="0"width ="148">"

    <!-fwtable fwsrc = "craddocknavbar.png" fwpage = "Page 1" fwbase = "craddocknavbar.jpg" fwstyle = "Dreamweaver" fwdocid = "1729580248" fwnested = "0" - > "

    < b >

    "< td > < img src =" images/spacer.gif"alt =" "name ="undefined_2"width ="148"height ="1"border ="0"id ="undefined_2"/ > < table >

    "< td > < img src =" images/spacer.gif"alt =" "name ="undefined_2"width ="1"height ="1"border ="0"id ="undefined_2"/ > < table >

    < /tr >

    < b >

    " < td > < a href =" http://www.rjcraddockdesigns.com/Company profile.php "target ="_self"onmouseout ="MM_nbGroup ('out'); "onmouseover =" MM_nbGroup ('over', 'craddocknavbar_r1_c1_s1',' images/craddocknavbar_r1_c1_s2. jpg', 'craddocknavbar_r1_c1_s4.jpg', 1); " "" onclick = "MM_nbGroup ('down', 'navbar1', 'craddocknavbar_r1_c1_s1', ' images/craddocknavbar_r1_ c1_s3.jpg', 1);" > < img name = "craddocknavbar_r1_c1_s1" src = "images/craddocknavbar_r1_c1_s1.jpg" width = "148" height = "65" border = "0" id = "craddocknavbar_r1_c1_s1" alt = "" Richard J. Craddock, landscaping to Nantucket: company profile "/ > < /a > < table > "

    "< td > < img src =" images/spacer.gif"alt =" "name ="undefined_2"width ="1"height ="65"border ="0"id ="undefined_2"/ > < table >

    < /tr >

    < b >

    " < td > < a href =" http://www.rjcraddockdesigns.com/services.php "target ="_self"onmouseout ="MM_nbGroup ('out'); "onmouseover =" MM_nbGroup ('over', 'craddocknavbar_r2_c1_s1',' images/craddocknavbar_r2_c1_s2. jpg', ' images/craddocknavbar_r2_c1_s4.jpg', 1); " "" onclick = "MM_nbGroup ('down', 'navbar1', 'craddocknavbar_r2_c1_s1', ' images/craddocknavbar_r2_ c1_s3.jpg', 1);" > < img name = "craddocknavbar_r2_c1_s1" src = "images/craddocknavbar_r2_c1_s1.jpg" width = "148" height = "65" border = "0" id = "craddocknavbar_r2_c1_s1" alt = "" Richard J. Craddock, landscaping to Nantucket: Services "/ > < /a > < table > "

    "< td > < img src =" images/spacer.gif"alt =" "name ="undefined_2"width ="1"height ="65"border ="0"id ="undefined_2"/ > < table >

    < /tr >

    < b >

    "< td > < img name ="craddocknavbar_r3_c1_s1"src ="images/craddocknavbar_r3_c1_s1.jpg"width ="148"height ="395"border ="0"id ="craddocknavbar_r3_c1_s1"alt =" "/ > < table >

    "< td > < img src =" images/spacer.gif"alt =" "name ="undefined_2"width ="1"height ="395"border ="0"id ="undefined_2"/ > < table >

    < /tr >

    < /table >

    < / div >

    < div id = "bodydiv" >

    < div class = "fadein" >

    "< img src="images/slideshow/1jquery.jpg ">

    "< img src="images/slideshow/2jquery.jpg ">

    "< img src="images/slideshow/3jquery.jpg ">

    "< img src="images/slideshow/4jquery.jpg ">

    "< img src="images/slideshow/5jquery.jpg ">

    "< img src="images/slideshow/6jquery.jpg ">

    "< img src="images/slideshow/7jquery.jpg ">

    "< img src="images/slideshow/8jquery.jpg ">

    < / div >

    < / div >

    < / div >

    < div id = "navigationlower" >

    " < p > < a href =" http://www.rjcraddockdesigns.com/index.php "title =" Home Page models Richard J. Craddock "" > home < /a > - < a href = " " http://www.rjcraddockdesigns.com/company "" profile.php ' title 'Richard J. Craddock Designs' = > profile < /a > - < a href = " http://www.rjcraddockdesigns.com/services.php "title =" Richard J. Craddock Designs "> Services < /a > < /p > "

    < strong > Richard J. Craddock Designs, 2011 < facilities > < / p >

    " < p > < strong > < a href =" http://cwws.org "title = 'Web of common wealth Solutions' target ="_new"> Designed by CWWS < /a > < / strong > < / p > "

    " < p > < a href =" https://www.Facebook.com/RJCLandscapeDesigns "> < img src ="facebook icon.png"width ="60"height ="60"/ > < /a > < /p > .

    < / div >

    < / body >

    < / html >

    Layout 2-column next looks a lot like what you're aiming for.

    View source in the browser to see the CSS & HTML code.

    http://ALT-Web.com/templates/2-Col-fixed-layout.shtml

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • HTML &lt; a &gt; tags in report

    Hi guys,.

    I have a report updated in which the SQL calls a PLSQL function that adds HTML < a > tags in the returned value. This hyperlink is then used to call a separate web page.

    Since our upgrade to v4, the report is acutually and displays the text of the link and not the HTML link (below)

    ' a href = http://lpar2.pln.cz.pan.eu:8030/pls/LMEL/xxmel_apex_eco_pkg.html_parents?P_ALT_ID=37900 & p_curr_part = K1-F361ABGGG target = new > several Parents < / has '

    In v2, the 'multiple Parents' would be displayed as a link and the ' a href = http://lpar2.pln.cz.pan.eu:8030/pls/LMEL/xxmel_apex_eco_pkg.html_parents?P_ALT_ID=37900 & p_curr_part = K1-F361ABGGG target = new > ' would be removed.

    Y at - it something I need to change in v4 to get it not display correctly.

    Thank you
    Chris

    Without seeing the code that generates the html code, it is hard to say. Is that what you've posted above exactly as it is when you view the page source?

    If this is the case, you are missing the beginning of the opening tag and the closing one end tag.

     the < and >
    

    On the other hand, the attributes must be in quotes. i.e.

    some link
    

    Van
    Trent

    Published by: trent on December 11, 2010 12:10 AM

    I would say the problem is that part of the href attribute:

    K1-F361ABGGG target=new
    

    There is a space between K1-F361ABGGG and target, which explains why he needs to be surrounded by double quotes.

  • How to extract the date parameter, which must appear in the report model?

    Hi gurus and Experts.

    I need to shoot the date setting, I chose at RANDOM to appear in my report model? How this code at RANDOM?

    Identifier are: dto and cdes
    Channel marker date: MM-DD-YYYY

    Kind regards

    JP

    Published by: user10955574 on November 10, 2010 02:38

    Published by: user10955574 on November 10, 2010 02:39

    Declare the parameter in the model as

    and use it as

  • Maybe you are looking for

    • Firefox is empty in Windows 10

      I read the thread on the blank screen in Windows 10 after waking from sleep, but I encounter the same problem when the computer is always awake. It was an upgrade on Windows 7 site and this is the only problem I have encountered. The system has a mot

    • Early 2008 iMac RAM Upgrade

      Hello I have my old iMac bought in early 2008. It works very well and did an amazing job. However as time progressed so also the OS X has progressed on my iMac too. Snow Leopard, I moved to El captain. The maximum memory I have is 4 GB of RAM (2 GB *

    • Need drivers of Windows XP Home for Satellite A300D-157

      Help to find the windows xp driver for mySatellite A300D-157

    • Repeating the trigger with Start.Retriggerable

      I have a DAQ PCI-6259 (M-series card) card I am programming with DAQmx. I would like to know if there is a limit in terms of how close together you can use Extensible triggers. I intend to use a frequency of internal clock to 1us. An asynchronous ext

    • Envy Touchsmart laptops, 15: need to reinstall the fingerprint reader driver

      I accidentally deleted the driver for fingerprint reader, and now I can't use it.  I looked to see if there is an article of biometric device in the list of HW devices and there is no.  I have recovery drive if it would help to get it working again.

    OwnerTable NamePartition NameSubpartition NameStart TimeEnd TimeDuration
    DWHADMIN CPO_LOAD_STATISTIC - - 10.01.13 21:00:37 10.01.13 21:00:04 +000000000 00:00:33.346524