Help with an Export on a classic report 4.2.5.00.08

Version: 4.2.5.00.08

Hello

I have a classic report using Break formatting (on the first column). When the report is exported, for example, if there are 3 lines that are in this group only the first cell is filled and the other 2 are NULL.

Like this:

rpt.jpg

Users than the State of export, like this:

rpt2.jpg

One way to do that was to create a second report without breaking formatting set and fix the terms at a time so that when the "Download" link has been activated the second report, the report without breaking format, would go and download.

My problem is that I forgot how to set the conditions for that to happen.

Can someone help me to implement?

OR

Now is a way to get the formatting AND data in all cells?

Can what information I provide?

Thank you

Joe

Joe R wrote:

I have change the post when you have you answer. A question arose, the download can cause all the filled cells AND formatting break?

Lol you would perform the calculations super aggregate in the report of export SQL using GROUPING SETS or CUMULATIVE instead of APEX report put break in shape.

Tags: Database

Similar Questions

  • Help with selection lists in the classic report

    Hello

    I work with APEX 4.1. Oracle 11.

    I have a simple and classic report with 4 columns (username, role, reading, updating). The columns of the reading and the update are select list with values of 'Yes', 'no '.

    Report looks like this:

    User role name read the update
    JSmith Admin Yes Yes
    LJones Dev yes no


    My requirement is that when the user selects Yes the update select list, the value of the associated column in the reading should change Yes as well for this particular user name. Change must occur after Yes is selected in the list select update.

    Im not very strong with javascript, but for testing purposes I applied: onchange = "alert ('hi'); "in the update column. When I make a change to the update select list, the alert returns to its position.

    Can anyone suggest how I can implement the change to the value of associated reading of Yes if the selected update value is Yes, for this particular line.

    Thank you
    Laura

    Here is an example of work for you, copy and change the javascript that you need.

    To find names of columns to the select list of apex > address view the source of your page report and use them accordingly in the JS

    http://Apex.Oracle.com/pls/Apex/f?p=46417:11

    Test/test connection

    function test(pThis) {
     //get the curren row index on change
     var currIndex = $('select[name="'+pThis.name+'"]').index($x(pThis.id));
     // check current items value (return value of lov)
     if (pThis.value=='Yes') {
      // if true change the value of column f01 at same row index
      $('select[name="f01"]')[currIndex].value = 'Yes';
     }
     else {
       //do something else
      }
    }
    
    //In the element attributes of update column add
    onchange="javascript:test(this);"
    
  • Someone help with the export of a book cover of three pages on a single page for CreateSpace?

    Hello

    Can someone help me to export a book cover of three pages in PDF single page InDesign? It has exported to PDF in three separate pages, probably because I created my document in the form of three pages originally .indd. I tried to load the PDF for CreateSpace but he rejects it as he wants as a page.

    I really hope this is easily fixed as I can't bear the thought of go everywhere.

    I would be very grateful for a quick answer because I'm going on vacation in 48 hours...

    Thank you

    Sean

    PS - Thanks to Peter Spier for answering a previous question a few weeks; For some reason, I couldn't answer (say thank you). 'No available actions' was the message, or something in that sense.

    Is it set up as a page three in the ID? If so, check the double option during export.

  • Need help with an Export-CSV and ForEach loop

    Hi guys, I'm total NOOB in CLI so please forgive the stupid question.

    I need your expert advice for the very large environment and will award points.

    I have a working script that alerts to our logout ESXi hosts, maintenance and NotResponidng mode

    His job well, but need to send a mail to all three of our VCenters

    Current script only works for a VC at a time. How do I ForEach and always the hose of the same body CSV and HTML

    It would be nice to have an HTML and CSV output that looks like this (assuming that there are currently disconnected etc.)

    I have a set of credentials, that work on all 3 of my VC

    VC1

    Host1 disconnected

    Host2 NotResponding

    VC2

    Host3 disconnected

    Host4 NotResponding

    VC3

    No disconnected/maintemance/notresponding hosts for VC3

    Here is my current code, etc. of the hidden passwords >

    # Clear old sessions
    Disconnect VIServer VC01-confirm: $false

    # VC01 VC check for disconnection and Maintenance mode and does not
    SE connect-VIServer-Server VC01 - FakeUSer username-password FakePassword

    $Report = get-VMhost-State disconnected, maintenance, NotResponding | SELECT name, connectionstate

    # scan info to be html and give him a date stamp

    $ReportHtml = $report | ConvertTo-Html | Out-string

    # Write CSV file and give it a character of data

    $filePath = "C:\PS\Output".
    $filename = "VC01disconnectedHosts".
    $CurrentDate = get-Date
    $CurrentDate = $CurrentDate.ToString ('MM-dd-yyyy_hh-mm-ss')

    $Report | Export-Csv "C:\PS\Output\VC_$Currentdate.csv".

    # Send the info by Mail

    Send-MailMessage-to [email protected] - subject VMwareMorningcheckVC01$ CurrentDate '
    SmtpServer - mail.sanlam.co.za - from [email protected] '
    -BodyAsHtml-body $reportHtml - accessories 'C:\PS\Output\VC_$CurrentDate.csv '.

    Thank you in advance for help.

    You could use a ForEach loop through all vCenters and combine the results in a $1 report.

    Something like that

    $vCenters = "VC01","VC02","VC03"
    
    # Clear old sessionsDisconnect-VIServer $vCenters -Confirm:$false
    
    $report = @()# Check VC VC01 for Disconnects and Maintenance mode and Not Respondingforeach($vc in $vCenters){  Connect-VIServer -Server $vc -User FakeUSer -Password FakePassword
    
      $Report += (Get-VMhost -State Disconnected,Maintenance,NotResponding | Select @{N="VC";E={$vc}},name ,connectionstate)  Disconnect-VIServer $vc -Confirm:$false}
    
    # parse info to be html ,and give it date stamp
    
    $ReportHtml = ($report | ConvertTo-Html | out-String)
    
    # Write out CSV file and give it a Data Stamp
    
    $CurrentDate = Get-Date -Format 'MM-dd-yyyy_hh-mm-ss'$filename = "C:\PS\Output\DisconnectedHosts-$($CurrentDate).csv"
    
    $Report | Export-Csv -Path $filename -NoTypeInformation -UseCulture
    
    # Send info with Mail
    
    Send-MailMessage -To [email protected] -Subject VMwareMorningcheck$CurrentDate `-SmtpServer mail.sanlam.co.za -From [email protected] `-BodyAsHtml -Body $reportHtml -Attachments "C:\PS\Output\DisconnectedHosts-$($CurrentDate).csv"
    

    I added the property vCenter for each line in the report

  • Need help with windows media player and classic

    I've looked everywhere and done much research on google but can't find how to set audio options off the screen. Yes I went through all the options and seems like hit all the keys, all keys more cntrl ect. and still nothing.

    This displays above all my avi files
    audio track
    description of entry:
    description of the output
    number of channels:
    current input rate:

    I don't know how to turn this off and his classic player on too, but not on any other players, but I like my windows the best.

    Here is a screenshot
    http://I25.Tinypic.com/mv1dzs.jpg

    Brian0icu812,

    You don't know if you still experience the issue, but the issue is actually the audio decoder of fddshow he creates ' we screen display. When the video plays just right click on the blue icon of "Financing for development" in the taskbar, then click on "OSD" assuming that there is a check mark beside (which does not exist in your case).

    -hinkey

  • Column classic report - export - not visable (APEX 4.1)

    I have a problem with export to excel classic report file.

    I can't do a single column to export, only that one does not work, all the other columns in the report are exported.

    In the column definition value include in exports is set to Yes.

    SQL query is defined as pl/slq body return the sql query.

    It's report

    http://www.deviantpics.com/images/2013/08/14/report.jpg

    It comes to excell

    http://www.deviantpics.com/images/2013/08/14/Excel.jpg

    No, there is no condition on the column, I have reproduced report on the same page with the same set upward and it works on this report.

    I was not able to understand why it does not work on trees report so I recreated all the columns in this report and now it works.

    In addition, there is problem when I get to this site, I can not export the values. I see values in the report, but when I export them in they are not excel file.

    I solved that with refresing region and submit all items that I use in this query, then all values are excellent file.

  • can a column of 'link' (classic) report trigger a dynamic action?

    In order to avoid a complete package and following flicker,

    can the link associated with a column of the classic report

    somehow trigger a dynamic action?

    Something along the lines of

    1. run few PL/SQL (some parameter passing along)
    2. refresh a page region to reflect the changes brought about by the (1)

    In practice, I have a page that emerges already, master/detail

    with the need to manage another set of detail records.

    I can collect a bunch of fields that are not related to the db.

    and generate an insert + update via a button 'Add '.

    Then the report containing the details is updated

    provide visual feedback that a new record has been added

    Indeed, with a column 'delete '. The integrated link is

    currently a javascript that saves the underlying m and

    Removes the secondary details, but it involves a shipment

    and refresh the entire page. It can be avoided?

    (running apex 4.2.1)

    You can use the onchage event to create your dynamic action. Make sure that there is a hidden page element (value not protected). From your link to classic report column, set the value of the page element hidden by using the JavaScript API $s () that will trigger the dynamic action of the onchange event.

    javascript:$s('P1_HIDDEN_PKEY_ID',#ROW_PKEY#);
    

    Thank you!

    JMcG

  • First group title below displays under the column headers using the model 23 classic report with the help of repeat titles on break

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.


    When I look at firebug code I saw that all the tables but the first, the break line is included in the last line of the previous table, so I can see how it did not work for the holidays since.

    I have tow questions.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Example of a question can be seen at apex.oracle.com at home

    Thank you

    Brad

    Roadling wrote:

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    The Standard report template definition in issue 23 contains thead and tbody elements:

    Before the column header

    
    

    Column title template

    #COLUMN_HEADER#
    

    After the title column

    
    
    

    After the lines

    
    
    
    
    
    
    #PAGINATION#
    
    
    
    

    This is intentional, the best practice for marking up HTML tables. What is not expected is the problem that arises when this model is used with the break of repeat titles on break formatting option. The repeated headings result table consisting of soup of tags containing several poorly constructed tbody and thead, which is not valid elements.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Create a copy of the report model Standard in Standard (break formatting) for use with reports of the break, remove the thead and tbody definitions of template tags and the breakdown of the reports to use the new model of change. (Or, if you use mainly break reports using the Standard template, keep the tags in the copy and remove them from the original in order to minimize the number of reports, you need to change.)

    Personally, I would create a report model of line custom to break complex reports in order to be able to have complete control over the structure and presentation.

  • Classic report: download to CSV download numbers with signs

    I have a page with a number of reports about this - and so I have to use the classic report. Each report has an option "download to Excel". And, because the report is a financial report, users want the positive numbers to display normal and the < negative > numbers appear with the signs of <>. This is possible using the standard format: 999G999G999G999G990D00PR

    But when they export the report to excel, export of the positive, but negative numbers numbers are empty (they do not appear in the export at all).

    It works if I use an interactive report, but, as mentioned above, I have multiple reports on the same page and I can't use the interactive report option.

    I reproduced the problem on apex.oracle.com
    WORKSPACE: TEST_CLASSIC_REPORT
    ID: TEST_USER
    Password: blanket1

    Is this a bug with APEX? Is there a work around I can use? I tried to do twice the column different formatting, but it didn't work right.

    Thank you

    -seattle

    With the help of APEX 4.1.0.00.32
    Oracle 11g

    Reproduce the problem using APEX 4.2

    SleepDeprivedInSeattle wrote:
    I have a page with a number of reports about this - and so I have to use the classic report. Each report has an option "download to Excel". And, because the report is a financial report, users want the positive numbers to display normal and numbers of with the <> signs. This is possible using the standard format: 999G999G999G999G990D00PR

    But when they export the report to excel, export of the positive, but negative numbers numbers are empty (they do not appear in the export at all).

    It works if I use an interactive report, but, as mentioned above, I have multiple reports on the same page and I can't use the interactive report option.

    I reproduced the problem on apex.oracle.com
    WORKSPACE: TEST_CLASSIC_REPORT
    ID: TEST_USER
    Password: blanket1

    Is this a bug with APEX?

    Could be. Something similar has been reported before: + {message identifier: = 4395427} +.

    Is there a work around I can use? I tried to do twice the column different formatting, but it didn't work right.

    Two versions of the column displayed under condition should function.

    Add a copy of the columns required for the query:

    select
        test_table_id
      , test_table_desc
      , test_table_amount
      , test_table_amount test_table_amount_csv
    from
        test_table
    

    999G999G999G999G990D00PR, the value of the format mask for the column normal and who leave for the CSV column empty (or use a format that does not include the specification of the PR ).

    Note that the link export URL uses a REQUEST value APEX starting with "FLOW_EXCEL_OUTPUT" to determine that the export of the report has been requested:

    http://apex.oracle.com/pls/apex/f?p=66643:1:12896346742738:FLOW_EXCEL_OUTPUT_R10086972522979338823_en
    

    This value of APPLICATION can be used in a PL/SQL expression in State of the control column which column is included. The condition for the normal column displayed on the screen is:

    coalesce(:request, 'X') not like 'FLOW_EXCEL_OUTPUT%'
    

    and the CSV column included in the export file:

    :request like 'FLOW_EXCEL_OUTPUT%'
    
  • The encapsulation of text in a classic report, bleeding in the next row with the report header template fixed.

    Hi all

    APEX 4.2.5

    XE 11.2

    Report Header fixed

    (25 and 26 theme)

    I have a classic report, and I use the fixed header template.

    If I set the width of a column unless the width of the text in the column, then the data encapsulates as it should, but instead to increase the height of the cell in the row to greet him, he bleeds into the rank and writes on the following lines.

    If I change the report to the standard model, it wraps correctly and increases the size of the cell to accommodate the text.  Not sure if it is a bug, or Im definition something wrong.

    If anyone can help to give advice on how to solve this Id be grateful.

    Ive set the maximum width of the CSS report report. and set the width of the column in the column report.

    I have reproduced it on APEX...

    workspace: VRS

    user: test/test

    Application: 291

    Page: 1

    Thank you very much

    Richard

    Richard Legge wrote:

    Hi all

    APEX 4.2.5

    XE 11.2

    Report Header fixed

    (25 and 26 theme)

    I have a classic report, and I use the fixed header template.

    If I set the width of a column unless the width of the text in the column, then the data encapsulates as it should, but instead to increase the height of the cell in the row to greet him, he bleeds into the rank and writes on the following lines.

    If I change the report to the standard model, it wraps correctly and increases the size of the cell to accommodate the text.  Not sure if it is a bug, or Im definition something wrong.

    This is because of rules CSS theme on cells and rows in the report fixed header table:

    {table.uReportFixedHeaders > tbody > tr}

    display: block;

    height: 28px;

    }

    {table.uReportFixedHeaders > tbody > tr > td}

    padding: 4px 8px;

    border-top: 1px solid #DDD;

    border-bottom: none;

    line-height: 20px;

    }

    I wouldn't really classify it as a bug, more as a hypothesis that the model would be used with data that will not be returned on multiple lines in a cell.

    It is easily fixed by substituting equal to line of table and the row height of the cells in the Inline CSS page, as indicated at page 586:

    {table.uReportFixedHeaders > tbody > tr}

    height: auto! important;

    }

    {table.uReportFixedHeaders > tbody > tr > td}

    line-height: inherit! important;

    }

  • Classic report SQL with BLOB column not refreshing with jQuery Trigger Apexrefresh call

    Hello

    Really hoping that someone can help me, but for some reason that I try to report updated in dynamic Action to help:

    jQuery('#my-report').trigger('apexrefresh');

    on a simple SQL query report classic. I have used this many times on other parts of the report but the only difference with the report region where it is not refreshing, is that the table contains a BLOB column as it is essentially a report of downloaded files that users have made to the page by using the file browse.

    Would really appreciate help with that basically, I don't want to perform a full page refresh, because it currently operates.

    It has to do with the fact that this report is the question about a BLOB column, which is a link to the uploaded file?

    Thank you.

    Tony.

    Hello

    Check this area of report model have id.
    You should have id = "" #REGION_STATIC_ID # "in the model of the region"

    Make sure you have correctly write the id of the report in JavaScript. JavaScript is case-sensitive

    Kind regards
    Jari

  • Very slow Macbook Pro (2012), please help with report EtreCheck

    Hi all

    My Macbook runs very slowly, I tried a number of things suggested online but none worked. I recently went to a repair shop and they suggested it could be to do with the dataflex (not sure if this was exactly, but I remember it sounding similar.) They described as a hard drive to another internal component connection, sorry for the inaccuracy.) I have me am replaced, but this did not help either.

    I downloaded the software EtreCheck and I was wondering if someone could help me to make light of the report on possible solutions? I have the feeling that it could be the hard drive needs to be replaced, but have no evidence of that. Verification has been run for the problem of "Beachballing" and got the sub report, please let me know if more info would be helpful. I hope it's telling in a way!

    Thank you for the pointers.

    EtreCheck version: 2.7.8 (238)

    Report generated 2016-01-26 22:56:56

    Download EtreCheck from http://etrecheck.com

    Duration 10:23

    Performance: Poor

    Click the [Support] links to help with non-Apple products.

    Click [details] for more information on this line.

    Problem: Beachballing

    Hardware Information:

    MacBook Pro (13-inch, mid-2012)

    [Data sheet] - [User Guide] - [Warranty & Service]

    MacBook Pro - model: MacBookPro9, 2

    1 2.5 GHz Intel Core i5 CPU: 2 strands

    4 GB of RAM expandable - [Instructions]

    BANK 0/DIMM0

    OK 2 GB DDR3 1600 MHz

    BANK 1/DIMM0

    OK 2 GB DDR3 1600 MHz

    Bluetooth: Good - transfer/Airdrop2 taken in charge

    Wireless: en1: 802.11 a/b/g/n

    Battery: Health = Normal - Cycle count = 420 - SN = 9G22603YVD3MB

    Video information:

    Graphics Intel HD 4000

    Color LCD 1280 x 800

    Software:

    OS X Mavericks 10.9.5 (13F34) - since startup time: less than an hour

    Disc information:

    Disk0 APPLE drive HARD TOSHIBA MK5065GSXF: (500,11 GB) (rotation)

    EFI (disk0s1) : 210 MB

    Macintosh HD (disk0s2) /: 499,25 go-go (248,48 free)

    HD (disk0s3) [recovery] recovery: 650 MB

    OPTIARC DVD RW AD - 5970H)

    USB information:

    Apple Inc. FaceTime HD camera (built-in)

    Apple Inc. Apple keyboard / Trackpad

    Computer, Inc. Apple IR receiver.

    Apple Inc. BRCM20702 hub.

    Apple Inc. Bluetooth USB host controller.

    Lightning information:

    Apple Inc. Thunderbolt_bus.

    Guardian:

    Mac App Store and identified developers

    Launch system officers:

    [failure] com.apple.maspushagent.plist [details]

    Launch system demons:

    com.Apple.Security.syspolicy.plist [failure]

    Launch officers:

    [loading] com.google.keystone.agent.plist [Support]

    [loading] com.oracle.java.Java - Updater.plist [Support]

    Launch demons:

    [loading] com.adobe.fpsaud.plist [Support]

    [loading] com.google.keystone.daemon.plist [Support]

    [loading] com.oracle.java.Helper - Tool.plist [Support]

    Items in user login:

    iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

    Other applications:

    [ongoing] com.etresoft.EtreCheck.85920

    Plug-ins Internet:

    FlashPlayer - 10.6: Version: 19.0.0.226 - SDK 10.6 [Support]

    QuickTime Plugin: Version: 7.7.3

    Flash Player: Version: 19.0.0.226 - SDK 10.6 obsolete! Update

    Default browser: Version: 537 - SDK 10.9

    o1dbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Support]

    googletalkbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Support]

    JavaAppletPlugin: Version: 25 check the version of Java 8 update

    3rd party preference panes:

    Flash Player [Support]

    Java [Support]

    TeXDistPrefPane [Support]

    Time Machine:

    Time Machine not configured!

    Top of page process CPU:

    6% update_dyld_shared_cache

    4% WindowServer

    3% kernel_task

    mdworker (3) 2%

    1% launchd (4)

    Top of page process of memory:

    508 MB com.apple.WebKit.WebContent (4)

    502 MB kernel_task

    Safari of 283 MB

    Finder 197 MB

    152 MB softwareupdated

    Virtual memory information:

    988 MB of free RAM

    3.03 GB used RAM (750 MB cache)

    Used Swap 0 B

    Diagnostic information:

    26 January 2016, 21:59:30 self-test - spent

    Hello mrdivorce,

    It looks like of course as evidence of a hard drive failing for me. Hard drives 2.5 "in the MacBook Pro tend to fail after 2-3 years. Judging by the date on your MacBook, I think that your time is up. Maybe try to find a different repair store. Looking for Service Center authorized Apple (https://locate.apple.com/).

    I suggest upgrading to an SSD and increasing your RAM too. Then you have the hardware to run the last OS X 10.11.

  • Need help with my Mail window. I can't export my message to the PST format. I keep getting the message error "an error occurred during initialization of MAPI".

    Hello

    Need help with my Mail window. I can't export my message to the PST format. I keep getting the message error "an error occurred during initialization of MAPI". Y at - it solution or another method?

    Hi ErikLee,

    Do you have MS Outlook installed on your computer?

    Windows mail import and export opportunities are limited to an Outlook .pst file or an Exchange Server mailbox. They are available only if MS Outlook is installed.
    If MS Outlook is not installed and you start an import or export action, the necessary support files are not present for Windows mail complete the operation. Then I suggest you to install Outlook temporarily and see if the problem is resolved.

    Follow the instructions below and check if the problem is resolved.

    1. reboot your computer, and then start Windows Mail.
    2. on the Tools menu, click Options.
    3. in the connection tab, click on edit to open the Internet Properties dialog box.
    4. in the tab programs, click on an application other than Windows mail e-mail in the e-mail list. Click on apply and then click OK.
    5. click OK again to close the Options dialog box.
    6. exit Windows mail and restart Windows mail.

    If this does not work, I suggest you upgrade to Windows Live Mail to import or export messages that may help you resolve the issue.

    To download Windows Live Mail, visit the following Microsoft Web site:
    http://get.live.com/wlmail/overview

    For more information about Windows Live Mail, see the Microsoft Web site at the following address:
    http://windowshelp.Microsoft.com/Windows/en-us/help/4b30d3d6-abe2-46d1-a5fd-4a1ba786a1381033.mspx

    Check whether the problem is resolved.

    Please post back and let us know if it helped to solve your problem.

    Kind regards
    KarthiK TP

  • Need help with setting up in checkbox in interactive reports

    I need help with setting up in checkbox in interactive reports, I use this statement a query

    SELECT apex_item.checkbox

    (

    1, ROLEID,

    'onchange = "spCheckChange (this);". ',

    : F_ROLEID_LIST,.

    ':'

    ), del.

    ROLEID, ROLEDESCRIPTION

    OF EBA_ROLES

    When I run it I get the following

    < input type = "checkbox" name = "f01" value = "1" onchange = "spCheckChange (this); ' / > instead of the checkbox

    Do I need to configure anything else

    Aditya Gupta wrote:

    I need help with setting up in checkbox in interactive reports, I use this statement a query

    SELECT apex_item.checkbox

    (

    1, ROLEID,

    'onchange = "spCheckChange (this);". ',

    : F_ROLEID_LIST,.

    ':'

    ), del.

    ROLEID, ROLEDESCRIPTION

    OF EBA_ROLES

    When I run it I get the following

    instead of the checkbox

    Do I need to configure anything else

    This is one of the most frequently asked questions in this forum. Set the column attribute the text to display as Standard report column and not display text (special escape characters).


    Always include the information referred to in these guidelines when you ask a question and if you use APEX 5.0, State, if you develop using the pages or the view of the component designer.

  • Classic report with column LOV

    I have simple classic report (Apex 4.2.4) with two columns. One is to main table and shows the ID; another column is LOV that contains detail table names, which must FK main table.

    Table structure:

    master_table (id NUMBER);

    detail_table (detail_name VARCHAR2 (50), master_id NUMBER);

    Source report looks like:

    Select

    ID,

    lov_column null

    of master_table;

    lov_column is defined as a query in function LOV and query looks like:

    Select detail_name from detail_table

    where master_id = #ID #.

    But the application does not recognize the values #ID #? Can I use it without the WHERE statement, but in this case in LOV, I got all the records, and that I want in a folder have values only for this ID.

    What can I do?

    Thanks in advance.

    Kiran I thank you for your care, I finally found the solution.

    Apex.Oracle.com cloud works with Apex5, it is not possible to obtain a classical column LOV relation, but it is possible to do this by using APEX_ITEM. SELECT_LIST_FROM_QUERY. And so I did in my application.

    in the statement I wrote:

    Select

    Mt.ID,

    apex_item.select_list_from_query (1, null, "select dt.detail_code d, dt.detail_code r detail_table dt where dt.master_id = ' |") Mt.ID) retail

    of master_table TM;

    And it works!

Maybe you are looking for