Classic report - Condition evaluated for every row

APEX 4.2.2
I am seeing something strange in a classic report region. A report started to fail at run-time with a strange error about bad syntax. When I run the page in debug mode, I see the following
print column headings
rows loop: 30 row(s)
...Execute Statement: begin wwv_flow.g_boolean := '' is not null;
end;
......Result = false
...Execute Statement: begin wwv_flow.g_boolean := '' is not null;
end;
......Result = false
...Execute Statement: begin wwv_flow.g_boolean := 'string with a embedded ' single quote' is not null;
end;
......Result = true
Looks like the APEX engine is evaluating a boolean expression after rendering and each and every row in the report. And for some strange reason, it is using a piece of data from my query's resultset and failing because of the bad syntax introduced due to the single-quote in the string.
I have never seen this before. Any idea what is going on?
Thanks

Howdy Paul, sorry should have provided all the details. No, this is a standard generic column template. Ah, you are right, drat I should have looked closer. The template has use a condition to show either a highlighted row or normal one. Sorry for the false alarm, I can take it from here. Enjoy your flight :-)

Similar Messages

  • How create  dynamic URL for every row  shown in the report?

    Hi,
    Iam new to this Application. I created one interactive report to find the number of bugs logged for every product and its sub component for past one year. The report will look like below structure in the application.
    Product Subcomponent Total
    P1 S1 10
    P2 S2 4
    P2 S21 15
    Now i want to pick the value of Prouct and sub component for every row dynamiaclly and want to generate the URL with the conditions and make it as hyperlink for the Total Column.
    Iam able to make hyperlink for the Total column using the edit options for the total attribute, but it is opening the same page for all the rows in the total column. I want to generate dynamic URL by picking the value prodcut and sub componenet dynamically from the report for every row and want to make it as hayperlink for every row individually.
    Please tell me how to do this?
    Please revert back if you are not clear. Appericiate for your quick help.

    Hello <unknown user>,
    So you already set the Column Link attributes for your Total column. Should all links go to the same page, but with different parameters (ProductID, SubcompID)? Or to another page? And how can you determine that page?
    Assuming you'll go to a sort of detail page or form:
    Target = [Page in this app]
    Page = <your target page no>
    Item1 = <ProductID field in target page>
    Value = #PRODUCTID#
    Item2 = <SubcompID field in target page>
    Value = #SUNCOMPID#
    (you can use the ' flashlight' for getting the correct values)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Excel o/p in Reports 9i-additional report header for every row

    Dear All,
    Is there any way to generate an Excel file output from OracleReports9i.Actually I have tried the simple report.
    I am able to create a delimited output.But the prob is it contains an additional report header for every row of the report and this is very strange.Its coming like that
    Empno     Ename     Job     7566     JONES      MANAGER
    Empno     Ename     Job     7902     FORD      ANALYST
    I need the Xls o/p like that
    Empno     Ename          Job
    7566     JONES      MANAGER
    7902     FORD      ANALYST
    8877 JAMES SALES
    my Environment oracle9i developersuite /forms9i/reports9i
    I have given     DESFORMAT = DELIMITED
              MODE      = CHARACTER
    I am able to generate the reports in html/HTMLCSSIE/HTMLCSS/PDF/RTF
    Only delimited is giving problem
    What should i do to resolve this issue. Please help me it is very very urgent for me.
    Thanks in advance
    Pavendhan.N

    I had the same problem and this is what I did, works great. You have the total control.
    function BeforeReport return boolean is
    fp text_io.file_type;
    begin
    -- creating a file name
    :CP_filename := 'C:\Gap'||to_char(sysdate,'MMDDYYHHMISS')||'.csv';
    -- Opening the file in write mode
    fp := text_io.fopen(:CP_filename,'w');
    -- writing the column headings into the file
    text_io.put_line(fp,'"Platform","Sys#","GapType",');
    text_io.fclose(fp);
    return (TRUE);
    end;
    and then where ever it is suitable, depending on the requirement, write into file by opening it in the append mode.
    function R_G_systemplatformFormatTrigge return boolean is
    fp text_io.file_type;
    begin
    --     srw.message(99,:dname);
    fp := text_io.fopen(:CP_filename,'a');
    text_io.put(fp,'"' || :systemplatform || '",');
    text_io.put(fp,'"' || to_char(:sysno) || '",');
    text_io.put_line(fp,'"' || :CF_gaptype || '",');
    text_io.fclose(fp);
    return (TRUE);
    end;
    This works great. Hope this helps.

  • Update Button for every Row of Report

    hello,
    is it possible to get an update button for every row of a report?
    After clicking this button, only this row of the report should be updated.
    thanks in advance
    dave

    Create a hidden item on your page. Call it somehow - P1_KEY. Create other hidden fields
    for the rest of the columns you want to update. Create a link per report line. This link will be
    inserting the primary key of your record into P1_KEY and the other values you want to
    update in the other hidden fields. It will branch to the same page and contain a request - i.e. UPDATE_ROW. Then
    you create a process - On Load Before Header - which will
    take the value from your item P1_KEY and update the record
    in the database by setting the the column values to the
    values in your hidden fields. This process will fire upon
    request you specified. However, this way you will not be
    able to update your text areas, since you will not be able
    to transfer this over a link. Also you need to be carefull
    about special characters.
    Maybe there is a better proposal than this.
    Denes Kubicek

  • How to calculate sum of the fields that will be reflected for every row entry??

    Probably, the title might not give you the correct view on the question that I want to ask but, I can describe my question. Well, I have an
    Excel sheet for attendance where in I have different columns
    for 3 subjects (subject1, subject2, subject3) and a
    total column. I also have another column named as Student ID.
    I would like to write a formula for the total column where, when I enter the number of classes attended in every subject column for each student present in every row, then the total column is reflected with the sum of no.of classes attended in every subject
    for each student automatically.
    How can I achieve this? I am looking forward for any help. I am a beginner.
    Ex: Excel sheet
    Student ID | Subject1 | Subject2 | Subject3 | Total
    1               
    |     2        
    |       3      
    |       4       |   
    9
    2                |     3        
    |       5      
    |      2       
    |   1
    The total column should be reflected with the sum of values under subject1, subject2, subject3 fields automatically for every row. How to do it?
    Thank you,
    Kaushik.

    In the first empty cell of the row of Student 1, enter a formula like
    =SUM(B2:D2)
    where column B is headed Subject 1 and column D is headed Subject 3, then copy down to match your student list.
    Then below the last row of column B, enter the formula
    =SUM(B2:BXXX)
    where 2 is the row of Student 1, and XXX is the row number of the row above the formula, then copy across to match.

  • Radio button for every row in a table

    Can anyone tell me how to get abutton for every row of a table.This button is used for selecting taht particular row.
    Thanks in advance

    Create a table region in Jdev. Then right click on it New--> Choose Single Selection.
    Thanks
    --Anil                                                                                                                                                                                                               

  • Ref Cursor: trip to DB for every row?

    If I return a ref cursor from a stored procedure to my java program, when I select the rows from the result set, does it go back to the db for every row, or are all result set rows downloaded at once when the result set is opened? Thanks.

    Neither. :)
    This likely works the same way as when you open a normal cursor: depending on the prefetch value (or -in JDBC 2.0/SQLJ parlance- the fetch limit) you'll fetch up to so many rows at a time. If you do not say anything, an Oracle JDBC (or SQLJ) driver will fetch up to ten rows at a time, though you can adjust that setting to your liking.

  • Can we have button for every row in report

    I am fetching a data from table. i need an update button corresponding to every row of the report. This is a requirement. Right now i have only one button corresponding to the report.
    Thanks
    Abhi

    Hello Abhi,
    Could you accomplish what you need by using a Column Link on the column instead of a button?
    If not, here is a link where Denes uses a button in every row,
    http://htmldb.oracle.com/pls/otn/f?p=31517:54:3198969584076356::NO
    -Chris

  • How to rearrange key figures for every row in a report

    Hi gurus,
    I need help in rearranging the key figures values( product sales for A, B, and C ) in the columns for each sales division row D1,D2,D3 displaying keyfigures in the order of descending sales volume for each division. The order of key figures has to change for each row.
    Is it possible through some user exits? Your help is appreciated.
    Thanks

    Hi,
    I am extremely sorry for my earlier post. I am not too sure about that. I heard that we can do RRI on Infoobject.
    Please look for other experts inputs. I apologise for that.
    Regards,
    Suman

  • Results not updating for every row in BIpublisher

    Hi all I have a Bi publisher report that is updating the results for the first row and in the second row to update the results it is picking the values from the first column itself and using the same values for all the other rows.
    Here is my report format
    Month saves Total, for 30,60,90,120
    Jan
    feb
    Mar
    Total are the enrolls by each month and days shows after 30,60,90,120 how many are still active. Following eg should give an idea of exactly whats happening
    Eg:
    Total 30days 60days 90days 120days 150days 180days 210days
    ------------------------------------------------------------------------------------------------------------------------------------------------------------ Jan saves 330 287 274 270 263 262 259 257
    Feb saves 298 255 242 238 231 230 227 225
    Mar saves 291 248 235 231 224 223 220 218
    So what is happening is lets say for example there are a total of 330 enrolls in january and after 30days 287 are still active and after 60days 274 are still active after 90 270...... etc
    Am getting the January active values correctly.
    BUt going forward when I see the values for february The total enrolls for february is 298 and after 30 days which are active is not giving me the correct.
    It is substracting the same amount as jan. looking at the numbers it is substracting
    -43, -13,-4,-7,-1,-3,-2 for Jan which are the cancels after the consecutive days
    It is substracting the same amount for feb also but my actual cancels for feb are different it should be 45,12,8,9,2,2,
    It is doing the same for all the months.
    There should be a change in the code. Following is the XSL code am using in
    <?xdoxslt:set_variable($_XDOCTX, 'v_SavesCanceled', SAVES_CANCELED_COUNT)?>
    <?xdoxslt:set_variable($_XDOCTX, 'v_RtSaves', xdoxslt:get_variable($_XDOCTX, 'v_RtSaves') - xdoxslt:get_variable($_XDOCTX, 'v_SavesCanceled'))?>
    <?xdoxslt:get_variable($_XDOCTX, 'v_RtSaves')?>
    Actually the cancels should be updated for each row but its picking the same cancels for every month.
    Hope it is clear let me know if you need any further info
    Any help is appreciated.
    Thanks

    Thank you very much for your help. The rtf file sent worked and updating results as required.Thank you
    Thanks

  • Classic Report with a two-line row, the second one as a drop down?

    Hi,
    Using APEX 4.0 is it possible to make a classic report layout that has row items sorted in 2 rows? The first row for each SQL record set row looks like the classic report 'normal' row, while the second one contains just one single column value. This second row is supposed to be hidden and should be displayable by clicking a small '+' sign at the beginning of the row.
    I remember having seen this done, but I simply seem not to be able to formulate my query correctly to let Google display me the expected result. Although I am not sure if was APEX+jQuery or ExtJs. I hope though it is not ExtJS, since I do not plan to use that one.
    Thank you in advance.
    Tamas

    Is this for Verizon landline internet? If so, you should ask your question in the Verizon Residential forums. http://forums.verizon.com

  • Classic Report limit the number of rows displayed

    Hi All,
    In my application I have a classic Report which show the data of a simple query. For lay-out reasons I want to limit the number of display to 5 instead of the default 15. I've looked in several forums and they told me that I have to set the number of rows in the report attributes.
    But it did not what I want. I'm Using APEX 4.1.0 on a Oracle 11G database
    My question is: How can I limit the maximum number of rows in a classic SQL Report.

    Hamertje16 wrote:
    In my application I have a classic Report which show the data of a simple query. For lay-out reasons I want to limit the number of display to 5 instead of the default 15. I've looked in several forums and they told me that I have to set the number of rows in the report attributes.And did you do so?
    But it did not what I want. I'm Using APEX 4.1.0 on a Oracle 11G databaseHow did it not do what you want? Displayed an error? Displayed no rows? Displayed 15 rows? Displayed some other number of rows? We can only help if we fully understand the nature of the problem.
    My question is: How can I limit the maximum number of rows in a classic SQL Report.To display 5 rows per page set the report's Number of Rows attribute to *5*.
    However, pagination settings get cached for the duration of the session. For this change to be instantly visible, either log out, restart the brower, and log in again, or manually re-request the page from the browser address bar, adding 'RP' in the ClearCache position in the URL.

  • Insert icon for every row inside the shuttle component

    Hi,
    I have a requirement where the shuttle component should have an icon side by the text and which also should be able to replace with the different icon based on some conditions
    For example
    The left side the shuttle component consists of list services. When the user moves some of the services to the right, in the right shuttle the 'X' icon should be displayed for each of the selected services.
    When some action is performed these 'X' should be replaced with 'Yes' icon.
    Thanks,
    Manidhar

    It works for me.
    SQL> create table Table_A(a1 number, a2 varchar(10), a3 varchar(10));
    Table created.
    SQL> create table Table_B(b1 number, b2 varchar(10), b3 varchar(10));
    Table created.
    SQL> create table Table_C(c1 number, c2 varchar(10), c3 varchar(10));
    Table created.
    SQL> insert into Table_C
      2  select level, level + 1, level + 2
      3  from dual connect by level <= 3;
    3 rows created.
    SQL> create or replace trigger table_a_tr
      2  after insert or update or delete on table_a
      3  for each row
      4  declare
      5  begin
      6  insert into table_b(b1,b2,b3)
      7  (select c1, c2, c3
      8  from table_c);
      9  end table_a_tr;
    10  /
    Trigger created.
    SQL>
    SQL> insert into table_a values (9, 'x', 'x');
    1 row created.
    SQL> select * from table_b;
            B1 B2         B3
             1 2          3
             2 3          4
             3 4          5Can you show exactly what you are doing in the same way?

  • Report in Excel for large rows - issue

    Developer suite 9iAS with Oracle 9.2.0.4 ,Linux
    While generating in the excel format if the no of records exceeds more than 600 then the report server is not working.
    In Excel format the alignment is not equivalent to HTML or PDF format
    HTML format is primarily for view in the screen, If the user takes printout then it is not having the proper page break as it can not be controlled through programme.
    Record grouping is not possible in excel format.
    Have anybody solved these issues? Please suggest

    hello,
    9.0.4 does not have an excel output format. which output format (HTML, HTMLCSS, DELIMITED, DELIMITEDDATA, ...) are you using to produced the output for excel.
    when you say printout ... what output format does your app send to reports ? what do you mean by "no proper page breaks|" ?
    thanks,
    ph.

  • Incorrect condition evaluation for content-based routing (Receiver determ.)

    Hi experts,
    We have a SAP XI scenario (using web services), where we use external
    definition (an imported WSDL document) of messages, which contain
    elements with a default namespace. We have a problem during the
    receiver and interface determination, where we use conditions.
    When we use an element with a default namespace, it doesn't work (the receiver is not found), e.g. <UserRequest xmlns=http://portal.skoda-auto.com/Namespaces/PortalB2B...
    When we add some prefix to the namespace e.g. ns0, it starts working
    OK. Problem is, that sender application (web service client) send us
    message without a prefix.
    What we can do on the side XI? Can you suggest some solution for this problem?
    Do you know if SAP XI has some limitation using default namespaces?
    In our test system we use SOAP sender adapter and in productive we use external SOAP adapter.
    We use SAP XI3.0 (SP19)
    Thanks for your help!
    Regards
    Petr

    It is OK now. We have already solved the problem. We had to correct a
    wsdl and add to it <b>elementFormDefault="qualified"</b> ,
    <schema targetNamespace="http://portal.skoda-
    auto.com/Namespaces/PortalB2B" xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:ns0="http://portal.skoda-auto.com/Namespaces/PortalB2B"
    elementFormDefault="qualified" >
    The receiver determination started to work correctly. (Our partner apologise for this mistaken wsdl).

Maybe you are looking for

  • Locked out of my phone please help!

    I changed my passcode today on my lockscreen but I forgot it. Now my phone is disabled and it says to connect to itunes. Well I logged into my itunes account but it still isnt connected. Can someone please help me unlock my phone or atleast sync it t

  • I recently bought the adobe photoshop cs4 classroom in a book. I found that book very interesting be

    cause learned a lot of things. That particular book along with the CD gives you the proper practice step by step. Unfortunatelly I already went through that book twice and I would like to know of a similar book that comes with a  CD and you get step

  • How can I rotate an image in iAd by clicking on a button?

    I wan't to create a iBooks Author Widget with an image (asset, protractor) that will rotate when I click a button (object). The rotation angle must be adjustable by a TextField. Please help me with this, my JavaScripts skills let me a bit down on thi

  • Mail messed up since 5.0.1 update

    My mail is messed up since the iOS 5.0.1 update. In All Inboxes, it Checks for Mail endlessly and there are numerous 'No Sender, No Subject' emails with dates of 12/31/69 that I cannot delete. Any suggestions?

  • 3G stops booting after a few seconds

    My wife's 3G (3.1.3) crashed last night. I shut it down but I have not been able to get it to boot. The apple logo appears and then the screen goes black after a few seconds. It does this if I start it with the power button or if I start it by holdin