APEX_COLLECTION for IR report with dynamic column no longer works in APEX5.0, do you have a solution?

Hi guys,.

As a basis for the application of the requirement of the company, I used the post of Vincent Deelen here:

http://vincentdeelen.blogspot.ro/2014/02/interactive-report-based-on-dynamic-SQL.html

However, since our upgrade to APEX 5.0, I get the following error:

ORA-01445: cannot select ROWID, or sample, join without table views preserved key

I can see in the debug statement that the query that fails is the following:

SELECT apxws_row_pk,

"C001."

"C002."

"C003."

"C004."

"C005."

"C006."

"C007."

"C008."

"C009."

"C010."

"C011."

"C012."

"C013."

"C014."

"C015."

"C017."

"C018."

"C019."

"C021."

"C022."

"C023."

"C024"

"C030."

"C031."

"C032."

"C041."

"C042."

"C043."

"C044."

"C045."

"C046."

Count (*) (AS apxws_row_cnt)

Of

(SELECT *)

Of

(SELECT b.ROWID apxws_row_pk,

b.*

Of

(SELECT *)

Of

(SELECT * FROM APEX_collections WHERE collection_name = "IR_COLLECTION_877")

)

) b

+ 0

+ 0

WHERE rownum < = to_number(:APXWS_MAX_ROW_CNT)

ORDER BY apxws_row_pk

From my understanding, the ROWID is a new implementation for APEX 5.0, this post has not been monitoring since may:

Re: Error ORA-01445 tabular form on a Collection in APEX 5

Can this be repaired? Does anyone have a solution?

Marc Sewtz-Oracle, I'm sorry for the intrusion, but I saw your last answer in this particular post above, and maybe you have some news!

Thank you

Digital

Hi all

I did the simplest thing! Reproduce the solution:

-L'IR

-Elements of Page 50

-Conditions placed on all 50 columns

Basically, I re-did everything and it works great!

It's amazing how such a simple solution does work sometimes!

Thank you

Digital

Tags: Database

Similar Questions

  • a problem with the application to stop working. Windows will notify you if a solution is available

    spooler stopped working

    The print spooler crashing is almost ALWAYS due to corrupted printer drivers.  Unplug the printer from the computer, uninstall the drivers.  Reset.  Download printer drivers updated to the website of the manufacturer of the printer.  Install the and do NOT reconnect the printer to the computer until the software tells you to do.

  • ORA-01481 when we click on the report with link column.

    Request Express 3.1.0.00.32

    I have a sql on a form page report with a column that clickable allowing the end user to quickly change the values.
    I seem to have is because there is a mask of format on the column ($1234,56) I get the error
    ORA-01481: invalid number format model
    Unable to fetch row.
    Googling the error came up with "check your manual.

    Under format of date column / number, I'm using the following:
    FML999G999G999G999G990D00
    The column in the database is number (15.2)

    The only value I'm passing is the pk_id which is present in the case of the URL:
    http://...f?p=293:2:3616213833707847::NO::P2_PK_BUDGET_ID:1
    Anyone had this problem and if so found a work around?
    Thank you.

    Leland,

    The error was caused by apply you the mask of YYYY format a number field. I changed a switch of dates for a list of selection and gave you an LOV query that would give you the current year, the last 3 years and the next two years. You can adjust that, according to the needs. I also put the definition LOV to accept other values incase you had a value in the db that was not in the LOV I've defined.

  • Hi I was told to come to the support with the error number 16... for some reason, my first pro no longer works and I'm still paying for I have but I had to reinstall, which I don't know how to do if

    Hi, I got to come to the support with the error number 16. for some reason, my first pro no longer works and I'm still paying for I have but I had to reinstall, which I don't know how to do if

    Hi Omid,

    Please see the below help document to fix the error 16:

    Configuration error 16. CC, CS

    If the problem persists, please contact support:

    Contact the customer service

    Kind regards

    Sheena

  • right to sentences overturned left from left to right in pdf to excel export... you have a solution for this problem?

    I found a problem when converted from pdf to excel in Arabic or Hebrew, it gives me the right sentences overturned left from left to right...

    you have a solution for this problem?

    Known problem (I submitted the bug a few years report - also applies to export to Word, PowerPoint, etc.) for that (unfortunately) there is not yet a date, release or resolution plan.

    -Dov

  • Whan I have install 4.0 version after some use of my stop scroll on mouse stop working. only with firefox... I'm trying to reboot but it's the same... only whan I restart its starts working. pls if you have some solutions answer me tnx.

    Whan I install firefox 4 release my problems start with stop scroll on mouse. It just stoped working after a while. In other programs, it works fine. I try to restart firefox, but nothing happened. Solutions that help restart the computer.

    So if you have a solution please help.

    TNX

    Hakalo, here is another suggestion, and it's what I have on my computer. First of all, I went to the download page of Firefox and downloaded Firefox version 3.6.17 on my desk. Then I went into Control Panel (cp) (start, Control Panel, add remove programs) and deleted firefox to my computer [uter. I have then closed cp and went on the desktop and installed 3.6.17 immediately all the problems of ff, I had, went.

    In fact when you download a program my computer put on the desktop because it's where I want it to be, your situation might be different. You can check this in tools, options, general.l;

    Guilbert

  • Hello, I bought Creative Suite Master in October 2014 and my computer was stolen from my car to that effect the license associated with this machine, therefore, is more accessible to me. You have a function to disable this computer with my purchase if I c

    Hello, I bought Creative Suite Master in October 2014 and my computer was stolen from my car to that effect the license associated with this machine, therefore, is more accessible to me. You have a function to disable this computer with my purchase, so I can reinstall it on my newly purchased machine?

    Contact adobe during the time pst support by clicking here and, when available, click on "still need help", https://helpx.adobe.com/contact.html , and request activation reset account.

  • After the cc update all dynamic tools no longer work. How can I solve that?

    After the cc update all dynamic tools no longer work. How can I solve that?

    What system?

    What Dynamics tools exactly?

    What exctly you do step by step?

  • I buy Adobe Acrobat XI pro and when I install in french and I'm trying to enter my serial number I got an error saying that your serial key is for English do you have a solution?

    I buy Adobe Acrobat XI pro and when I install in french and I'm trying to enter my serial number I got an error saying that your serial key is for English do you have a solution?

    Hi Steve,.

    Try to download Acrobat referring to the following link.

    https://helpx.Adobe.com/Acrobat/KB/Acrobat-downloads.html

    Concerning

    Sukrit diallo

  • APEX 5 - bad position for standard report view break column

    Hello

    in the standard report, if I put in the set break-shaped section, the first column as a column break and style of "repetition position break."

    the first position 'closed' break is inserted after the headers, the following text is in the right place

    https://Apex.Oracle.com/pls/Apex/f?p=47732:3

    user: test

    PWD: test

    concerning

    JM

    jmniard wrote:

    in the standard report, if I put in the set break-shaped section, the first column as a column break and style of "repetition position break."

    the first position 'closed' break is inserted after the headers, the following text is in the right place

    It is a bug. For an explanation and workaround, see Re: first group header below displays under the column headers using the model 23 classic report with the help of repeat titles on break

  • refresh the report with dynamic action title

    Hi all

    I have a report that is updated with dynamic action. When the update is done, first the value of two hidden variables are defined (P2_ID and P2_NAME) and are subject (using a dynamic action type "pl/sql", with the code "null"; and items to submit page: P2_ID, P2_NAME).

    In the report query, I use: P2_ID in the where clause. Everything works like a charm! The only thing that doen't work, is the title of the region: which is defined as "properties of & P2_NAME.", but the title is not updated when the report is refreshed.

    Is there a solution for this? I hope I am clear enough.

    See Re: dynamic action - update

    If you are right; the native just Refresh action updates the content of the report, it does not perform & POINT. substitutions throughout the region.

    What you could do is use a RANGE named as the title as

    &P2_NAME.
    

    and add a REAL action to your dynamic Action to set the title using Javascript to run code

    $s('my_title',$v('P2_NAME'));
    

    I hope this helps.

  • Interactive report with Null columns

    I have a user who wants to export an interactive report, and there need to some columns will appear on export so that he can fill the data later (there is an intermediate step, while we work on getting all the data they need in the database). I created the report query, and there are a handful of columns null or empty (to keep the correct order for export). When I try to add this query to the APEX, in an interactive report, I get an "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.

    Googling autour shows me that this happens because of the columns the same name, and the solution is to provide aliases for all columns. My report has alias on all columns, but I can't yet create an interactive report. I tried to change the columns null of empty strings, as well as encompassing the alias in double - quotes, but nothing works. However, I can use my original query to create a standard report, but due to export, this is not ideal.

    I was able to create the interactive report with a null and then edited the source column of the report to add to the others. This had to be done one at a time, given that you are trying to add several null columns at the same time gives the same error even once. Unfortunately, when I try and you run the page, I get a ' ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined "error.

    My original query:
    select customer.customer_name as customer,
           project.name as project_name,        
           trunc(project.estimated_end_dt) as due_date, 
           project_status.project_status_desc as status, 
           null as revenue, 
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss, 
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost, 
           null as projected_gain_loss, 
           null as roi       
        from project, 
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name, 
             project.estimated_end_dt;             
    Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,

    The problem is probably that you have two columns aliased as 'projected_cost' (columns 7 and 11).

    Hope this helps,
    John

    If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

  • A Collection of sorting with dynamic columns using a custom multi-column comparison function

    I need help and ideas on how to sort a ListCollectionView.  My problem is complicated by requirements - 3

    1. the values of column contain HTML tags which must be removed before the custom to strip HTML (use of compareFunction) sort

    2. the columns are dynamic, so dataField names are not known at compile time (need a unique compareFunction for all columns)

    3. the data is used in an AdvancedDataGrid, so multicolumn sorting is necessary

    I understood how to resolve any 2 of the 3 conditions.  However, I have difficulty taking care of all the 3 requirements.

    Any help or ideas would be greatly appreciated.  Thank you.

    Here's my analogy simplified your script.

    I have a set of fields that I get from a place:

    Var columnFields:Array = ["firstName", "lastName"];

    And I want to generate columns for these fields:

    Var columns: Array = [];

    For (var int index = 0; index< columnfields.length;="">

    {

    the col: AdvancedDataGridColumn var = new

    AdvancedDataGridColumn (columnFields [index]));

    and assign a custom comparison function that uses that

    columnField

    col.sortCompareFunction =?

    Columns.push (col);

    }

    ADG. Columns = column;

    I mean subclassing AdvancedDataGridColumn

    SerializableAttribute public class MyAdvancedDataGridColumn extends DataGridColumn

    {

    public void MyAdvancedDataGridColumn(dataField:String)

    {

    sortCompareFunction = mySortCompareFunction;

    }

    public void mySortCompareFunction (obj1:Object, obj2:Object,

    fields: Array = null)

    {

    in this function, you can use 'obj1 [dataField]'

    access the field for this column

    If (obj1 [dataField]<>

    Returns - 1;

    ...

    }

    }

    Then your just loop will look like this:

    Var columns: Array = [];

    For (var int index = 0; index< columnfields.length;="">

    {

    the col: AdvancedDataGridColumn var = new

    MyAdvancedDataGridColumn (columnFields [index]));

    Columns.push (col);

    }

    ADG. Columns = column;

  • Last updated for IOS 9.2, iCould Backup no longer works. Help, please!

    Recently updated for IOS 9.2, now my iCould plu backup works. Help, please! I desperately need free up space on my phone.  I click 'NTI Backup Now' and after 10 minutes of inactivity, I get a message enter my login iCould on my phone, (is the correct/PW username I use every time), but the following message appears: "verification failure: there was a connection to the Apple ID server error.

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

    If these steps do not work, contact Apple and ask for help.

    https://www.Apple.com/support/iPhone/contact/

    Trying to backup using iTunes, take a look at this Apple Support article:

    https://support.Apple.com/en-us/HT203977

  • I started online with a group of cat called instant coffee... you have anything linking who?

    \]I first started with an instant coffee called chat room. can you help me with this?

    Hello

    MSN and Windows Live was once home to chat services but no more.  Skype community may be what you're looking for.

    http://community.Skype.com/T5/your-community/CT-p/community

    There is an app of tank room for those who have

    Windows 10
    Windows 8.1
    Windows 8
    Windows Phone 10

    Windows Phone 8.1

    Chat for free with or without registration in our chat rooms free, available on all tabs and desktop computers. Video chat is available through your browser if you have flash installed. Join chat groups or chat one on one with your friends.

    https://www.Microsoft.com/en-us/store/apps/chat-rooms/9nblggh16mj5#app-details

Maybe you are looking for

  • Re: Track pad does not

    This seems to be a common problem.I tried FN F9 - doesn't do a thing.Downloaded and reinstalled the driver.Touchpad is listed in devices and status, Manager is that it works correctly. USB mouse works fine. A reflection more?See you soonMich PS: comp

  • HP envy 700-410: made this motherboard support SLI?

    Memphis-B motherboard. Does anyone know if she has SLI support? Aka, being able to run 2 video cards at the same time down the line

  • No available on sbRIO serial COM port

    Dear all, I use the "Visa set up Serial Port.vi" palette "Instrument I / O-> series" in my application, to access the com port series on my sbRio-9636. When you run the application the error out of the "Visa set up Serial Port.vi" indicates the code

  • Error loading c:\program files\arcadeweb\arcadeweb32.dll at startup

    Original title: error loading c:\program files\arcadeweb\arcadeweb32.dll I get the error message (error loading c:\program files\arcadeweb\arcadeweb32.dll) I click ok and it goes away, but returns the next time I bring my computer.  Place UN til yest

  • E-mail on the Windows live team

    I get emails from the Windows Live team Dear e-mail client We have detected a slight error in your account during the regular maintenance I gos to give a 'quick link' to confirm the connection information. (login.live.com) Its in my mail that is junk