Display the title of the report under condition

Hello

I would like the title of the report in a page is displayed only if the report contains all the lines. If no row returned the SQL for the report, I don't want the title of the report to show users IE cannot abt any report if there is no line. At the present time, if no rows are returned in the report, only the title is displayed. Can someone please help? Thank you.

Suni

Hi Suni,

I think that you can just do the report region display conditionally. Simply go to 'Conditional view', select ' Exists (SQL query returns at least one row) ", then enter your request in the"zone 1"Expression.

Josh

Tags: Database

Similar Questions

  • Left to right alingment problem when displaying the report in Arabic

    Hello

    Am now work in Arabic reports, everything works fine, but the problem is with the alignment only.

    In the preparation of the report (generator of reports), alignment is from right to left, but in pdf format, change the alignment from left to right.

    I use Oracle Report Builder 10.1.2.0.2 and reports running on the Oracle 10.1.2.0.2 application server

    Can anyone help me this.

    Kind regards
    Iftikhar

    Installed the Oracle Forms and reports services 10g / application server Oracle 10 g (10.1.2.0.2) with the Arabic language and you have the problem solved.

  • HP 1200 printer does not print check when it is connected to the Jetdirect card but will display the report

    HP 1200 printer is plugged in with the USB cord to HP Jetdirect box and it gets IP from there.   Printer is set for the server with the ip 192.168.10.7 of print

    Print server is 192.168.10.12.    Backend server account try to print to a control with the 1200 HP and output hit the print queue (we suspended the print queue)

    and then when we release printing printing disappears as his will be printed but no keys comes out.      As a test, we ran a simple report on the same printer who had no special formatting and it printed fine.

    Captured audit printing to a file and then realized that file to the other printer, HP Officejet K80, which was not intended for printing and it prints properly which confirms that the control is built in formatting standard code PCL5e.   What is unexplained, that's why the cheque will not be printed on the HP 1200.    Have already had experiences where the USB slave out of Windows workstatoins printers will not print documents at all the other stations of the network.   The print will be struck by the print queue and disappear, but the printer never lights.   In this case, it will work for printing unformated but won't work for the formatted print PCL.   This could be Windows networking printers or simply a problem with the HP 1200 and forum for both checking.

    Hello

    1. are you able to print Word documents, Excel and PDF?

    2 are computers and printers connected to a domain network?

    I suggest you to connect the printer directly to the computer and check if it helps.

    Please visit the following links and check.

    Printer network problems (applies to Windows 7 as well)
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-printer-problems

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Let us know if it helps!

  • Questions on the reports

    Hello

    I have two questions when creating reports in a page.
    (1) I use pairs model of attribute value to display the data. However, is it possible to change the template like
    col1 value1 value2 col2
    COL3 value3 value4 col4
    ...?

    (2) is it possible to put multiple reports in a form region?
    I have 6 reports on a single page. I want to consolidate
    for example:
    Heading1
    report 1
    report 2
    report 3

    Title 2
    report 4
    report 5
    Report 6

    Your help is very appreciated.

    Hello

    This is not my site (it's Kubecik Dene), so I have more details. If I understand correctly, the principles are:

    For a normal page: you create a region for each report and each region uses the model of the selected region. The region includes the entire structure, including the title and the formatting (for example, borders), for a region. Within the definition of the region is #BODY # which is where the report itself is created. Each region is then placed in one of the positions available region and each position of the region lies on template page using the #REGION_POSITION_01 # etc - and each of them can appear only once. When the page runs, each report in a position in the region is generated, but since each report uses a model of region complete, each of them receives its own title and borders etc.

    For your page: you want to view several reports in the same region, most of tags used in the model of the region are only required once a region rather than once per report - therefore, they must be removed from the template on the template of the page itself and the region. You must put your reports in two posts in the region, the tags should surround the two #REGION_POSITION_nn # that you want to use. Thus, you are then set folds/formatting the positions of the region rather than the regions themselves. Area of your report model should only include the #BODY # and any tag keep each separated from the other report. When the page runs, the position of the region Gets the title and border and reports are simple tables in there.

    You did not say what theme you are using, but here is an example of an application of theme 12:

    1. create a copy of the reports area model and change:

    <table class="t12ReportsRegion" id="#REGION_ID#" summary="" #REGION_ATTRIBUTES#>
     <tr>
      <td class="t12Header">#TITLE#</td>
     </tr>
     <tr>
      <td class="t12ButtonHolder">#CLOSE#   #PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td>
     </tr>
     <tr>
      <td class="t12Body">#BODY#</td>
     </tr>
    </table>
    

    TO

    <table>
     <tr>
      <td class="t12Body">#BODY#</td>
     </tr>
    </table>
    

    This will just display the reports themselves in individual tables. The rest of the tags, including the region of style are not necessary here, but are required on the page template instead.

    2 create a copy of the page template that you are using (here I use the level one tab page)

    3 - Replace the current defintion of body with the following text:

    <table class="t12PageBody" cellpadding="0" cellspacing="0" width="100%" summary="">
      <tr>
        <td colspan="2" class="t12ApplicationLogo">
          <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="">
            <tr>
              <td>#LOGO##REGION_POSITION_06#</td>
              <td width="100%">#REGION_POSITION_07#<br /></td>
              <td>#REGION_POSITION_08#</td>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td class="t12UserName">&APP_USER. <span class="t12NavBar">#NAVIGATION_BAR#</span></td>
        <td align="right" valign="bottom">
          <table cellpadding="0" cellspacing="0" summary="">
            <tr>#TAB_CELLS#</tr>
          </table>
        </td>
      </tr>
      <tr>
        <td colspan="2" class="t12VerticalBar"><img src="#IMAGE_PREFIX#themes/theme_12/ParentTabBase.gif" alt="" /></td>
      </tr>
      <tr>
        <td colspan="2">#REGION_POSITION_01#</td>
      </tr>
    </table>
    <table class="t12ReportsRegion" width="100%" summary="" style="border:1px solid blue;">
      <tr>
       <td class="t12Header">The First Heading goes here</td>
      </tr>
      <tr>
       <td class="t12Body" style="vertical-align:top;">#REGION_POSITION_03#</td>
      </tr>
    </table>
    <table class="t12ReportsRegion" width="100%" summary="" style="border:1px solid blue;">
      <tr>
       <td class="t12Header">The Second Heading goes here</td>
      </tr>
      <tr>
       <td class="t12Body" style="vertical-align:top;">#REGION_POSITION_04#</td>
      </tr>
    </table>
    <table>
     <tr>
      <td class="t12ContentBody" valign="top"><div class="t12Messages">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#</div>#BOX_BODY#</td>
     </tr>
    </table>
    

    You will notice that REGION_POSITION_03 and REGION_POSITION_04 are now placed in the tags that were the main part of the definition of region model. Also note that the #... items # go to the model of the region have been eliminated or replaced by the fixed text (that is to say, the title has been hardcoded here).

    Now, on your page, set the first set of reports to be "Position 3 in the region" and the second set in ' region 4 "and rotate your page."

    Andy

  • Can we put the tabs under the menu of firefox?

    After you download the new FF4, they had a diagram shows the new look of FF and where everything has been moved to. On their layout either displays the tabs under the Firefox menu (button). He would show more of the character if it was like that, but after downloading the new version and opening FF the notches are next to the menu of Firefox, grouping at the top and does not leave a lot of room to show our great character we have downloaded. Does anyone know if this can be fixed in options or by and you add on?

    • You cannot use the mode to enlarge it or turn it off.
    • To disable this type of feature in the address bar: Subject: config then press "I'll be careful."
    • In the filter box type: browser.tabs.drawInTitlebar , double-click this entry to enable it false.
  • FRM-41219: can not find the report: not valid

    Hi am having the error when calling the report of my form in 11 GR 2 when I click the button I get this error

    FRM-41219: can not find the report: not valid

    and when I click the ok button on the error I get this error frm - 40738:Argument 1 to builtin RUN_REPORT_OBJECT can NOT BE NULL

    This is how I called the report

    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('report4');
    v_rep := RUN_REPORT_OBJECT(repid); END;
     

    Try something like this:

    PROCEDURE TEST_REPORT IS

    Repid REPORT_OBJECT;

    v_rep VARCHAR2 (100);

    rep_status VARCHAR2 (50);

    BEGIN

    Rep: = find_report_object ('report4');

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_EXECUTION_MODE, batch);

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_COMM_MODE, SYNCHRONOUS);

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESTYPE, cache);

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESFORMAT, 'html');

    SET_REPORT_OBJECT_PROPERTY (ID REP, REPORT_SERVER, '');

    v_rep: = RUN_REPORT_OBJECT (repid);

    rep_status: = REPORT_OBJECT_STATUS (v_rep);

    While rep_status in ('MARKET', 'OPENING_REPORT', 'PENDING')

    LOOP

    rep_status: = report_object_status (v_rep);

    END LOOP;

    IF rep_status = "FINISHED" THEN

    / * Display the report in the browser * /.

    WEB. SHOW_DOCUMENT ('/ reports/rwservlet/getjobid ' |)

    substr (v_rep, InStr(v_rep,'_',-1) + 1) |'? "|' server =","_blank"); "

    ON THE OTHER

    message ("error when running report");

    END IF;

    END;

    Replace with your report server name.

    Concerning

  • PowerCLI script to display the number of vCPU by VMhost use

    Hi all

    I'm looking to get help here with powerCLI script to list each total number of ESXi vCPU host that is used to determine if there are any ESXi host CPU is more engaged.

    According to suggestion of performance in some blog vExpert, is around 1: 3 of Jepp core ratio: vCPU allocated, then how to display the report with the powerCLI for something like this:

    PRODESXi01
    Total of nuclei available: 32
    Used by the virtual machine: 28

    PRODESXi02
    Total of nuclei available: 32
    Used by the virtual machine: 38

    So according to the result above, the PRODESXi02 is more committed by 6vCPU allocated to the virtual machine.

    Note: The available total carrots is taken from the value of logical processors from the contents tab, when you click on the vSphere console.

    How to get this report using PowerCLI?

    Thank you

    You mean something like this?

    {Foreach ($esx in Get-VMHost)

    $vCPU = get-VM-location $esx | Measure-object-property NumCpu-sum | Select - ExpandProperty sum

    $esx | Select Name,@{N='pCPU'; E={$_. NumCpu}},

    @{N = 'vCPU'; E = {$vCPU}},

    @{N = "Ratio"; E = {[math]: Round ($vCPU / $_.)} (NumCpu, 1)}}

    }

  • frm_41214 cannot run the report

    Hi all

    IAM very thanks for all

    I am using oracle 10g (10.1.2) relase2 Server applaction

    and iam trying to run reports

    and the report run sussefuly in the generator of reports, but on the application server notwork

    is the code I use in form

    DECLARE

    Repid REPORT_OBJECT;

    v_rep varchar2 (100);

    rep_status varchar2 (20);

    PARAMLIST PL;

    BEGIN

    Rep: = find_report_object ('EMPREP');

    PL: = get_parameter_list ('paraformlist');

    If not id_null (pl) then

    destroy_parameter_list (pl);

    end if;

    -Adjust shape report obeject

    SET_REPORT_OBJECT_PROPERTY (RepID, report_execution_mode, lot);

    SET_REPORT_OBJECT_PROPERTY (RepID, report_comm_mode, synchronous);

    SET_REPORT_OBJECT_PROPERTY (RepID, report_destype, cache);

    SET_REPORT_OBJECT_PROPERTY (RepID, report_desformat, "htmlcss");

    SET_REPORT_OBJECT_PROPERTY (RepID, report_server, 't1');

    PL: = create_parameter_list ('paraformlist');

    add_parameter (PL, 'paramform', text_parameter, 'no');

    add_parameter(PL,'P1',text_parameter,:USER_STUD_ID);

    -add_parameter(pl,'ss',text_parameter,:ss);

    SET_APPLICATION_PROPERTY (CURSOR_STYLE, 'BUSY');

    ----

    v_rep: = RUN_REPORT_OBJECT (repid, pl);

    rep_status: = REPORT_OBJECT_STATUS (v_rep);

    While rep_status in the LOOP ("CURRENT", "OPENING_REPORT", "PENDING")

    rep_status: = report_object_status (v_rep);

    END LOOP;

    IF rep_status = "FINISHED" THEN

    / * Display the report in the browser * /.

    WEB. SHOW_DOCUMENT ("http://192.168.1.xxxxxxx:7778 / reports/rwservlet/getjobid' |") substr (v_rep, instr (v_rep, '_',-1)+1) |'? (' | 'server = rep10g', '_blank');

    ON THE OTHER

    message ("error when running report");

    message ("error when running report");

    END IF;

    -change cursor

    SET_APPLICATION_PROPERTY (CURSOR_STYLE, 'DEFAULT');

    ----

    END;

    Thank you for all

    I received a fine of this database 11g a CASE_SENSITIVE_LOGON

    and I do change to run reports

    the Soulation: -.

    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

    the site is: -.

    Oracle-base.com/Articles/11g/case-sensitive-passwords-11gr1.php

    Thank you alllllllllllllllllllllllllllll

  • Cannot run the report please help

    Here is my code behind the button to run the report.

    declare
    Repid REPORT_OBJECT;
    v_rep VARCHAR2 (100);
    rep_status VARCHAR2 (50);
    BEGIN
    / * If other changes made by najim * /.
    IF: TXTFDATE is null THEN
    message ("Please enter Date of THE '");
    message ("Please enter Date of THE '");
    return;
    ELSIF: TXTTDATE IS NULL THEN
    message ("Please select up HERE '");
    message ("Please select up HERE '");
    return;
    ON THE OTHER
    Rep: = find_report_object ('HISTORY_REPORT');
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_EXECUTION_MODE, batch);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_SERVER, 'repserver90');
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_OTHER, 'F_DATE =' |: TXTFDATE |) ' V_DATE =' | : TXTTDATE | "The PHASE =' | : TXTPHASE: ' paramform = no ");"
    v_rep: = RUN_REPORT_OBJECT (repid);
    rep_status: = REPORT_OBJECT_STATUS (v_rep);
    While rep_status in ('MARKET', 'OPENING_REPORT', 'PENDING')
    LOOP
    rep_status: = report_object_status (v_rep);
    END LOOP;
    IF rep_status = "FINISHED" THEN
    / * Display the report in the browser * /.
    WEB. SHOW_DOCUMENT ('http://172.29.3.202/reports/rwservlet/getjobid': substr (v_rep, InStr(v_rep,'_',-1) + 1) |'?) "|' server = repserver90","_blank"); "
    ON THE OTHER
    message ("error when running report");
    END IF;
    END IF;
    END;


    When I press the button, it gives an error message cannot run the report.

    Open the report server console and check the error here. : http://application-tier server: port/reports/rwservlet/showjobs? Server = REPORTSSERVER

    Published by: Andreas Weiden on 23.07.2011 09:13

  • view the report in the region

    Hello
    I have 2 regions. in the region1, I add a button (and region1 have 3 text fields). region.2 type is query sql (pl sql return sql query function body).
    And I also have a process called insert. It is for the insertion of data (data inserted into 3 text fields) in the database when I am pressing the Add button.

    Insert the code in process

    Insert in the values(:p18_attributename,:p18_description,:p18_datatype) attribute.

    When the selected in the region.2 region1 (add button) button must display the report. To do this, I wrote the code in the source of the region.2 as follows

    DECLARE
    v_query varchar2 (1000);
    BEGIN
    IF: P18_attribute_name is not null THEN
    v_query: = 'SELECT attributename, description, attribute data type;
    END IF;
    Return (v_query);
    END;

    You can guide me please.

    Hello

    First of all good practices to use as the column names in your insert statement.

    Secondly, in your insert query, you mentioned "p18_attributename" values, but in your pl/sql code, you used "P18_attribute_name" it is intentional or a typo?

    Thirdly, after the insert are you no compensation values textfield? I think you should. Why should you check

    IF: P18_attribute_name is not null

    in your pl/sql code, you can directly write the sql code, when there is all the data that it will display after refresh your page.

    Thank you
    Tauceef

  • problem with showing the report forms

    Hello
    Today, I have another problem :)

    I fix this text and it's simpler

    I have run reports of froms and I use RUN_REPORTS_OBJECT_PROC

    If I use standard report_id in this procedure, then I get

    WEB. SHOW_DOCUMENT ('http://oracle:8889 /'| reports_servlet |) ' /getjobid' | vjob_id |'? Server =' | report_server_name, "_blank");

    If the report is not any parameter is ok and this work but if I put some then I get page with witch element, I set value (parameter witch I want) then when I put send query I get error REP-50134

    But
    If I use
    WEB. SHOW_DOCUMENT ('http://oracle:8889 /'| reports_servlet |'? server = raportserv & report=c%3A\raporty\mod.jsp & destype = CACHE & desformat = HTMLCSS & userid = SCOTT % 2FTIGER % 40SZD & paramform = "Yes);

    I can open reports with the setting or not :)
    Where is the error in how hidden values see report_object?

    concerning

    Published by: user515960 on 2010-07-06 08:00

    Hello

    If you want to use parameters, then you need to create the report with parameters and your query owes me something like that.
    example: -.

    select ename,empno,sal.....from emp
    where empno=:p_no.............so here :p_no is parameter.now how you will use this in form with that code which is provide you in u r previos thread.
    

    something like that.

    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    plid ParamList;
    vParamValue number;
    BEGIN
    
    plid := Get_parameter_List('tmp'); 
    
    IF NOT Id_Null(plid) THEN
    Destroy_parameter_List( plid );
    END IF;
    plid := Create_parameter_List('tmp');
    add_parameter(plid,'p_no',text_parameter,to_char(:emp.empno));---------------here you have to add your block name and item name and also we add parameter(P_no) which is created in report builder with the above query.
    
    Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
    
    repid := FIND_REPORT_OBJECT('REPORT6');-----------------when you create report by using report nodes in form builder so you hav to Presss F4 to go to Property and there you have to set the report server name,desformat which is PDF and report name which is Report6 and also there in property u have to give the report path.
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
    
    v_rep := RUN_REPORT_OBJECT(repid,plid);
    rep_status := REPORT_OBJECT_STATUS(v_rep); 
    
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP; 
    
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://computer name/IP:8889/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
    '||'server=report_server_name' || '¶mform=no','_blank'); 
    
    END;
    

    Note:-you need to start the report server before displaying the report.

  • Displaying the title the interactive report

    People, there should be a simple solution to this, but I'm not.  I would like to be able to display a title on my interactive reports.  I use the 'region of IRR model', and with the help of another is not an option (b/c others don't display correctly wide reports).

    I'm guessing that the region of IRR model include the substitution #TITLE string #, but can he?  Can we #TITLE # add?  Or should I do this simple requirement through any other way?

    Thank you

    Rob

    Here's something that works.  I converted the original (top) model to:

    #TITLE #.

    #BODY #.

    It of not pretty, but isn't the Oracle CSS provides out of the box.

  • Display the current Date on the topic title (TTITLE)

    I'm using sql * more to write a report. For the current date (and time if possible), I would like to be displayed in the title of my report (TTITLE.) It seems that I'm supposed to use a system variable called _DATE, but I don't know what to do.  I am under sql * more v.10.2.

    Here is my code. How can I include the current date to display in the side 'RIGHT' in the topic TTITLE?
    TTITLE ON
    TTITLE LEFT 'MY COMPANY' CENTER 'Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT' RIGHT 'Date: ' 
    
    set pagesize 66
    set linesize 120
    set wrap off
    
    column vendor_name heading 'Supplier' format a40
    column invoice_num heading 'Invoice Number' format a30
    column invoice_amount heading 'Invoice Amount' format 999,999,999.99
    
    set underline =
    compute sum label TOTAL of invoice_amount on vendor_name
    break on vendor_name skip 2
    
    SELECT 
    po_v.vendor_name,
    ap_inv.invoice_num,
    ap_inv.invoice_amount,
    FROM
    ap.ap_invoices_all ap_inv,
    po.po_vendors po_v,
    WHERE
    ap_inv.vendor_id = po_v.vendor_id and
    ap_inv.creation_date > SYSDATE-10;

    Well, to date, you could use predefined SQL * more variable _DATE of substitution:

    SQL> TTITLE LEFT 'MY COMPANY' CENTER 'Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT' RIGHT 'Date: &_DATE'
    SQL> SELECT 1 FROM DUAL
      2  /
    
    MY COMPANY                             Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT                        Date: 22-JAN-10
             1
    ----------
             1
    
    SQL> 
    

    Unfortunately, it has not predefined SQL * more variable substitution for the moment. You will need to use a suggestion that Frank (or if you want the date in a different format).

    SY.

  • Variable in the title of the report?

    Hi I'm relatively new to ORACLE BI and you want to display the Date in the name of the report file when users run their. So when they download the report as XLS PDF etc. is DD-MM-AA of shows "filename".

    Is this possible?


    Thank you very much

    Ed

    Ahh, now I see what you're saying. This is the question that you run in. Download report does not use the title under the name of download file. Instead, it uses the physical name of the OBIEE report. So even if you add the date system to the title of the report, it will not affect the name of download. It turns out that the name of the download and the title by default the name of the response on the request.

    So, if you really wanted someone to download with a date already in the name of the file, you have two options:

    (1) physically rename the answer ask periodically to indicate the last time it was updated. It is here that links to this request will get quickly outdated. And this isn't the best solution
    (2) you will need to go into the Javascript code behind OBIEE and change how it generates the download file. I checked the source code of the web page for the download link and here's where you want to start digging: onclick = "return NQWPopupMenu(event,'idDownloadLinksMenud:dashboard~p:ngm14ept52q4tcnt~r:dr2ss84kj32lkjoi')".
    This feature of NQWPopupMenu is what generates the pop-up with different file releases. Once you dig through there, it will lead you eventually through the script that does the output to excel. Once you have found the piece of code that creates the output file, it should be as simple as adding a sysdate the filename.

    Good luck!

    -Joe

  • Apex 4.2, display image in the report.

    Hi all

    I'm a noob here Apex. I came across some problems with image display in a report. When I tried to have a report on a form of simple image download, it works perfectly with dbms_lob.getlength("IMAGEFILE") 'IMAGEFILE', workaround. Interactive report based on my table structure, already established the appropriate sections in report page for make my life easy.

    Problem when I tried to create the report of a SQL query combining three tables (Image3, CustomerDB, PATMAN2). The report now generates a page where I can not have any selection of BLOB. The textual part, appears perfectly.  I think my sql code is fine, but my generation of form Apex is faulty, but I need help to solve the problems.

    -----------------

    Here's the SQL code of the image gallery that works very well.

    ------------------

    Select "PUBLICATION_NO."

    "FILENNAME,"

    DBMS_LOB. GetLength ("IMAGEFILE") "IMAGEFILE",.

    "MIME TYPE"

    'PDFNAME '.

    DBMS_LOB. GetLength ("pdflink") "PDFLINK."

    "LASTUPDATED"

    "ID".

    of ' #OWNER # '. " IMAGE3.

    ---------------------

    And here is the one which does not show correctly the BLOB type.

    ---------------------

    Select PATMAN2.ID as ID,

    PATMAN2.PA as PA,

    PATMAN2. SUCH as TITLE,

    PATMAN2. OTHERS like the OTHERS,

    PATMAN2. TYPE as the TYPE,

    PATMAN2. PATENT_FAMILY as PATENT_FAMILY,

    CUSTOMERDB.COMPANY_ID as COMPANY_ID,

    PATMAN2. PUBLICATION_NO as PUBLICATION_NO,

    IMAGE3. FILENNAME as FILENNAME,

    DBMS_LOB. GetLength (IMAGEFILE) do IMAGEFILE,

    IMAGE3. PDFNAME as PDFNAME,

    DBMS_LOB. GetLength (pdflink) as PDFLINK,

    IMAGE3. MIMETYPE as MIMETYPE,

    PATMAN2. CUSTOMER_ID as CUSTOMER_ID

    of IMAGE3 IMAGE3.

    CUSTOMERDB CUSTOMERDB,

    PATMAN2 PATMAN2

    where PATMAN2. CUSTOMER_ID = CUSTOMERDB. CUSTOMER_ID

    and PATMAN2. PUBLICATION_NO = IMAGE3. PUBLICATION_NO (+)

    ------------------------------


    avman wrote:

    Interactive report based on my table structure, already established the appropriate sections in report page for make my life easy.

    Sorry, no idea what you mean by that.

    Problem when I tried to create the report of a SQL query combining three tables (Image3, CustomerDB, PATMAN2). The report now generates a page where I can not have any selection of BLOB.

    Still, it is far from clear what you mean by "that the report now generates a page where I can't have no matter what selection for BLOB".

    The textual part, appears perfectly.  I think my sql code is fine, but my generation of form Apex is faulty, but I need help to solve the problems.

    -----------------

    Here's the SQL code of the image gallery that works very well.

    ------------------

    Select "PUBLICATION_NO."

    "FILENNAME,"

    DBMS_LOB. GetLength ("IMAGEFILE") "IMAGEFILE",.

    "MIME TYPE"

    'PDFNAME '.

    DBMS_LOB. GetLength ("pdflink") "PDFLINK."

    "LASTUPDATED"

    "ID".

    of ' #OWNER # '. " IMAGE3.

    ---------------------

    And here is the one which does not show correctly the BLOB type.

    ---------------------

    Select PATMAN2.ID as ID,

    PATMAN2.PA as PA,

    PATMAN2. SUCH as TITLE,

    PATMAN2. OTHERS like the OTHERS,

    PATMAN2. TYPE as the TYPE,

    PATMAN2. PATENT_FAMILY as PATENT_FAMILY,

    CUSTOMERDB.COMPANY_ID as COMPANY_ID,

    PATMAN2. PUBLICATION_NO as PUBLICATION_NO,

    IMAGE3. FILENNAME as FILENNAME,

    DBMS_LOB. GetLength (IMAGEFILE) do IMAGEFILE,

    IMAGE3. PDFNAME as PDFNAME,

    DBMS_LOB. GetLength (pdflink) as PDFLINK,

    IMAGE3. MIMETYPE as MIMETYPE,

    PATMAN2. CUSTOMER_ID as CUSTOMER_ID

    of IMAGE3 IMAGE3.

    CUSTOMERDB CUSTOMERDB,

    PATMAN2 PATMAN2

    where PATMAN2. CUSTOMER_ID = CUSTOMERDB. CUSTOMER_ID

    and PATMAN2. PUBLICATION_NO = IMAGE3. PUBLICATION_NO (+)

    Did you specify IMAGE DOWNLOAD and BLOB format masks for the IMAGEFILE and PDFLINK columns? Select "BLOB" in the column of the number/Date Format attribute, then fill the section attributes of Blob column as requires it.

    We cannot solve what we cannot see. We do not have your tables or data so we can not replicate this for ourselves. Please reproduce the problem with an example on apex.oracle.com and developer comments login information for the workspace here.

Maybe you are looking for