Row Selector Checkbox in Report throws "wwv_flow.accept" Error when checked

Hello all,
I ran into some time consuming trouble on
a page of an assistant flow contains a report regions. Users shall select one or many rows from the report.
The checkbox was added as a linked column and formatted as "Simple Checkbox".
After submitting to the "NEXT" page an item :Px_MYEVENTS shall collect the ID column value of all selected rows.
The page process "After Submit" shows:
+:P2_Myevents := apex_util.table_to_string(apex_application.g_f01,';');+
It is expected that only selected rows appear on the item, because we need this for further activities.
On testing strange things happens:
If no selection is done, the target page appears, the item :Px_Myevents contains the values of all rows
When a selection is done, the branch error "wwv_flow.accept" appears, :Px_Myevents doesn't contain a value.
This throws even when the code is used as a DA of type PLSQL - statement or function
How do I get the expecte behaviour?
Edited by: F Lan on 27.09.2012 13:18
Apex Version is 4.1.1 on Oracle 11GR2 XE
Remember the milk ;-)
Regards

Hi,
Always state
<ul>
<li>Apex Version</li>
<li>DB Version and edition</li>
<li>Web server used.I.e. EPG, OHS, ApexListner Standalone or with J2EE container</li>
<li>When asking about forms always state tabular form if it is a tabular form</li>
<li>When asking about reports always state Classic / IR</li>
<li><b>Always post code snippets enclosed in a pair of &#123;code&#125; tags as explained in FAQ</b></li>
</ul>
The following line ought to work they way you want it to , I have used this construct without issues
:P2_Myevents := apex_util.table_to_string(apex_application.g_f01,';');
If no selection is done, the target page appears, the item :Px_Myevents contains the <b>values of all rows</b>This suggests that all checkboxes are being treated as checked.
You need to check why they are being treated as checked. Depends how they are rendered and if they are being manipulated in some way.
The other point to consider is the Processing Point. The above process must run before ApplyMRU/ApplyMRD.
You could try running the form in debug mode to see if it revealing anything in the Debug Report.
The other way is to put it up on apex.oracle.com for someone to take a closer look at it.
Cheers,

Similar Messages

  • Set check in row selector checkbox of report via javascript

    This may be a stupid question. I thought I saw the answer here before. I just can't seem to find it.
    I have an updateable report that allows users to enter data. The issue is unless they check the row selector checkbox, when they submit, the row is not processed. I want to put an onchange event on the columns to automatically check the rowselector box when something is changed on the row. Any ideas? Possibly a link to a previous post.
    Thanks
    Kevin
    Message was edited by:
    kdpar

    On the field that you update set the onchange event to call a function similar to the following: onchange=setRowSelectorState(this);
    In the HTML Header section put a function definition similar to the following:
    <script type="text/javascript">
    function setRowSelectorState(pThis){
    -- get current row number
    -- thanks Patrick Wolf (http://www.inside-oracle-apex.com/2007/01/accessing-tabular-form-cell-with.html)
    var vRow = pThis.id.substr(pThis.id.indexOf('_')+1); -- gets current row number
    -- get row selector for current row assuming its field 'f01_'
    var cbxField = html_GetElement('f01_' + vRow);
    -- add some logic if need be
    var mytest = 0;
    if (mytest == 0) {
    cbxField.checked = true;
    } else {
    cbxField.checked = false;
    </script>
    Simple example but it works. See Patrick's link above to a more detailed example.
    Brent

  • Webi report throwing 500 internal error when run

    hi all,
    when i tried to run one of my report , it is throwing 500 internal error INF;  the same does not happen with ohter reports in the same folder.
    can someone help on this. I am admin with full rights who is not able to perfom this.
    informations:
    BO XI3.1 sp3 fp 3.2 
    bo installed on one seperate server.   and hosted on websphere.. and other web deployments made on websphere again.
    rgds
    shravan

    this report is using merge cells and cross tabs which is a bug in the product till XIR3 SP3 FP3.2   so an upgrade to FP3.5 will fix this issue. again. this does not happen with all the reports.
    this is the solution given the SAP vendor.
    rgds
    Shravan

  • Show FORM without wwv_flow.accept error

    Hello,
    My problem is running when i display my page.
    Actually, i create a component Region, and i add a Display only on it(don't save). On his source we have a HTML FORM.
    My objective is to show a FORM HTML without raise exception.
    <FORM id="test">
    <INPUT TYPE="text" id="t01" size="10" onclick="javascript:function()">
    </FORM>
    They are two cases:
    1st: i put "static affectation" for "source type" of my Display Only. When i start the application, i see my form but when i try to "submit" the page i get the wwv_flow.accept error.
    2nd: in this case i put "Always Null" for "source type", i have no error when i submit but my FORM isn't displayed.
    I don't understand. If somebody can help me.
    Thanks in advance.
    LAFOND Romain

    LAFOND Romain - HTML DB pages are not intended for putting your own forms on. See Re: Reusing existing htp pages and search this forum for #FORM_OPEN# for different ideas.
    Case 2 is expected behavior: if you set an item to always null, it will be rendered as null.
    Scott

  • Htmldb/wwv_flow.accept error page not found

    opening page htmldb/wwv_flow.accept error page not found
    Application background
    there is a button for getting a file which triggers some unix script to get file from ftp server.
    it runs this pls sql package begin dbms_scheduler.run_job('PROD_GET_SL_FILES'); end;
    After it gets the file and loads them to the database using sql loader then it zipp and email the files, after this process the next thing is to display the page with the message "Success: SL Files Zipped and Emailed"
    It does every thing but to dispaly that message , then after some time i get
    page not found and the page is "htmldb/wwv_flow.accept "
    Other thing i noticed is it sends me an email with zipped files twice, the first one has attachements of the files the second one without attachement
    I run oracle apex on oracle 10.2.0.1.
    It has been working fine untill last two weeks i am getting
    opening page htmldb/wwv_flow.accept error page not found
    I tried to flush the shared_pool but no luck.
    On the logs /u01/app/oracle/HTMLDB/Apache/Apache/logs
    i see these errors
    [Mon Jul 28 16:30:10 2008] [warn] [client 12.118.0.71] mod_plsql: Long running URL [pls/htmldb/f] timed out
    [Mon Jul 28 16:35:12 2008] [warn] [client 12.118.0.71] mod_plsql: Long running URL [pls/htmldb/f] timed out
    please help....................

    I am DBA, let me tell what this application does , there is a button for getting a file which triggers some unix script to get file from ftp server.
    it runs this pls sql package begin dbms_scheduler.run_job('PROD_GET_SL_FILES'); end;
    After it gets the file and loads them to the database using sql loader then it zipp and email the files, after this process the next thing is to display the page with the message "Success: SL Files Zipped and Emailed"
    It does every thing but to dispaly that message , then after some time i get
    page not found and the page is "htmldb/wwv_flow.accept "
    Other thing i noticed is it sends me an email with zipped files twice, the first one has attachements of the files the second one without attachement.

  • Flow accept error when using ANSI join syntax

    Hi
    I had a region populated by a query joining two views (one in-line using connect by). When trying to create the region if the join was coded using ANSI syntax (INNER JOIN .... USING) I got a flow accept error when either trying to proceed using the wizard, or apply changes when editing the region.
    After changing to the old style Oracle join (using predicates), I was able to create the region and everything worked ok. I found the solution after reading this post Error 404 wwv_flow.accept was not found in which the OP says he would raise a bug. Did the bug get raised? I ask since his problem arose whilst he was selecting from a view using ANSI joins and using instead of triggers, and I was joining an in-line view to a view using ANSI joins and instead of triggers, but neither view has been changed, just the join syntax. The view defined in the database is used in other regions and works fine. This could indicate the OP's problem was fixed, but one still exists.
    Incidentally this is the only time I have used non-ANSI joins in the entire apex app - the rest work!. Unfortunately it is impossible for me to demo the app.
    Richard
    using ApEx 3.0.1.00.07 and 10g (10.2.0.1) EE on Wintel

    Tyler,
    Apologies, what I was trying to say was that I couldn't put the application on the Oracle APEX site.
    Yes, I do have a work-around, but that does not mean a bug may still exist. I count myself fortunate I saw that post and, therefore, experimented with the syntax of the join - there is no reason APEX should not accept ANSI join conditions, in fact , it does. The ANSI-joined SQL statement executed perfectly in TOAD and SQL*Plus, but I could not even save it in APEX.
    regards
    Richard

  • Unable to delete a row using checkbox on report region

    hmm..this used to work, and unfortunatly this is code unfamiliar to me. We have a report region containing a list of records. The last column is a row selector, and is a check box. Several rows may be checked and then a delete button pressed.
    we receive the following error: ORA-20001: Error in multi row delete operation: row= 394878, ORA-01403: no data found,
    multi row operation failed
    however, the key that it references 394878 is not that of the record I had checked, rather it is the first record in the report.
    so...not able to delete, and it is trying to delete the wrong record. Any ideas. thanks

    Check the table name in your MRD process and make sure it's the right one. Also ensure the "checked" value of the checkbox is correct (i.e.: is the checkbox based on the correct key column from the report?).

  • Is it possible to create a multi row selector in Regular report?

    I have to add multi row selector into my reoprt for manipulating with data?
    What is the best way to do this?
    Regards, Kostya

    Hi there,
    If anyone is still here in perticular Denes. Denes i have been using your sample application for a while now. it just helps in every problem.
    I was looking at your page 38 to update an editable report. i see that your region is of type "SQL Query". how did you include the row selector to show up ??
    row selector comes up only if the region is of type Tabular form (updataable). i cant use tabular form as my results comes from a complex query after the user provides some column values and presses search.
    In short, i am done with update to the fields but i dont know how i can perform delete as they needs to be something to select the rows to be deleted.
    Please helpp!!!

  • Two row selectors in a report??/

    Hi folks..... I need to create report using a basic query to display a list of attributes. these attributes will then be assigned by the user as having a positive or negative effect....or both. I want to do this using checkboxes in my report but i can only add 1row selectors to a report?? i want to add two and use them as sort of check boxes??? any suggestions for a work around???
    thanks....

    sorry thought about this,... and found a soloution. please ignore

  • Wwv_flow.accept error

    hello,
    i Have a problem when i am importing to my application. it gives me this error, after when i click the button import:
    404 Not found
    The requested URL /pls/xxxx/wwv_flow.accept was not found on this server.
    Any help please?
    Samm.

    I got the same error message trying to import OEHR Sample Objects.
    My Apache error log says:
    mod_plsql: /pls/apex/wwv_flow.accept HTTP-404 ORA-00942: table or view does not exist\n
    What table or view am I missing?

  • URL Region wwv_flow.accept error

    Hey,
    I am trying to create a very simple URL region on a page with nothing else on it (breadcrumbs, and tabs)
    And while the region displays fine, as soon as I try to navigate to another page in the app, I get the following error message:
    Mon, 30 Jun 2008 14:17:00 GMT
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: HL,IE,Q
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    And the url shows exactly what the error suggests, that it is stalling on wwv_flow.accept: http://...pls/apex/wwv_flow.accept
    Any help would be sincerely appreciated,
    Thanks,
    ~Chris

    Sounds like you are embedding some HTML containing form input items. If the URL region is situated between the form open/close tags in the containing Application Express page, this won't work if you use any controls on your page to submit the page.
    Scott

  • Financial Reporting Studio has overflow error when opening any report

    Hello everyone!
    I faced with problem in FR Studio. When I try open any report is appears an error "Overflow". In others machines this error is not appears.
    Version of FR Studio: 11.1.2.757
    Many thanks for your advices!

    Uninstall CRVS2010 that you currently have installed.
    To remove the assemblies from the GAC use gacutil. Google will get you a number of links on how to. Also, see the KB [1535325  - How to remove CRVS2010 Beta 2|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333335333333323335%7D.do].
    Reinstall CRVS2010 SP1 from here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
    - Ludek

  • Crystal Reports XI R2 Javascript error when viewing web report

    Post Author: msilka
    CA Forum: General
    I have an ASP web application that was working fine with XI but when I upgraded to XI R2 I received the following error when displaying a report in the report viewer.
    Line: 461
    Char: 1
    Error: Object expected
    Code: 0
    URL: my report URL
    When I debug with a javascript debugger the line in question reads as
    addOnloadFunction(reportViewerNamebobjInit);
    I need to get the reports to run without this error.
    Thank you

    The only personal folders visible from under Admin panel are for users Administrator and Guest. I've tried to query CMS tables but these store entries not in plain text so I cannot identify entries connected to personal folders. I have also tried to do this via Query Repository tool but all returned entries were ok.
    I have also noticed that when trying to load group from LDAP after it returns error "LDAP: Failed to commit objects to server : Duplicate object name in the same folder." entry for this group is created in CMS table. Also this group is then visible in admin Groups panel. No users are created with the group and when I'm trying to list users belonging to added group it returns "internal secLDAP security plug-in error" but without any other suggestion what went wrong.

  • Wwv_flow.accept, error 404 page not found

    I am trying to install the OEHR Sample Objects for the Hosted Demo environment at apex.oracle.com site so I can do the Oracle Application Express 2 Day + Tutorial. I downloaded the zip file and got the .sql file extracted ok. The import works ok for the application, but hangs when trying to load the Supporting Objects. It eventually gives me that nasty old error 404 page not found when on MS windows 2000 and IEexplorer 6 ( and a similar result in xp using IEexplorer 7).
    I cannot do much in the tutorial without the samples.
    Any ideas, anyone else gotten stuck here? Thanks

    Dimitri,
    Many thanks for the reply.
    The problem appears to be intermittent and can happen on, quite literally, any link or button. Anything which causes either a page submit or link through to another page is a likely candidate. And this isn't just whilst running the app - it's within the app design part, too. It seems to be an issue (possibly) with page delivery.
    My gut feeling is that it seems to happen more after the DB has been up for a while. However, this may just be a matter of perception as I've also had it happen within minutes of a DB restart.
    I'll have a play around with apex.oracle.com, but my suspicion is that the Oracle site works fine (this would be a far more visible error if it happened on apex.oracle.com, too).
    One thought is that it might be an EPG config issue - it'd be interesting to check the config of an Oracle-supplied Apex area, if that were possible. Another thought is that it could be the network, though (typically) everything else on the network appears to be running fine...
    Many thanks,
    David

  • Report generation toolkit VI error when running EXE

    A VI inside the Report Generation Toolkit (version 1.1.2), Excel Find Application Directory.vi, will not function correctly when running an EXE.  The "Current VI's path" block will return the path of the currently running EXE rather than the path of the Excel Find Application Directory VI.  (The same would be true for Word Find Application Directory.vi.)
    -Joel
    Solved!
    Go to Solution.

    Have you had a look at this knowledgebase article? The error is caused due to the exclusion of any dynamic VI.
    Ipshita C.
    National Instruments
    Applications Engineer

Maybe you are looking for

  • Problem: two fact tables and one conformed dimension

    Hi everyone! I need to solve this situation: I have two fact tables, let's say F1 and F2, that are both linked to D1, my conformed dimension I just need to select fields from D1 but I know that, when querying, OBIEE links it to a fact table anyway..h

  • PHP query to XML

    I would really like to use the querytoXML code for a current project. My server (co-location) has a php.ini which serves text/html and I can't change that setting. I have managed to use a .htaccess file to change the mimetype: <Files "*_xml.php"> For

  • Pro Applications Update 2008-03

    Hi Just a question it say that it's for Logic Studio users but when I go get the download it want's a Final Cut Studio serial number, I don't have Final Cut I have Logic ! how do I get the download? TTFN Subcoustic

  • Pass form value to Destination URI

    Hi , I have Form Value: (CtDetRN.PerId) Form Value: (CtDetRN.PPId) when viewed the page view source <input id="PerId" type="hidden" value="2886870" name="PerId"> <input id="PPId" type="hidden" value="2886870" name="PPId"> Now i need to pass the any o

  • Meta chain greyed out?

    Hi experts, We have a daily chain scheduled that runs by calling various local chains to run their own loads. the daily chain (main chain) is green so we are sure it is activated and scheduled to run. however, when we maintain the different local cha