Show Value Page item

I'm using the following code for my news ticker. I want to display the value of page item :P18_TEKST. But the page shows the text :P18_TEKST. How do i get the value of the page item in my ticker. See the code below
It's about the row: var marqueecontent='<nobr><font face="Arial"><b>:P18_TEKST<b/></font></nobr>'
<script language="JavaScript1.2">
//Specify the marquee's width (in pixels)
var marqueewidth="350px"
//Specify the marquee's height
var marqueeheight="20px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=2
//configure background color:
var marqueebgcolor="#ededd6"
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1
//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
//var marqueecontent='<nobr><font face="Arial"><b>This is where my text goes.<b/></font></nobr>'
var marqueecontent='<nobr><font face="Arial"><b>:P18_TEKST<b/></font></nobr>'
marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, ns_marquee
function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
lefttime=setInterval("scrollmarquee()",20)
window.onload=populate
function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
else
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
document.write('</td></table>')
</script>Edited by: user565199 on 14-mei-2010 3:06
Edited by: user565199 on 14-mei-2010 3:09

Hi
Try changing this...
var marqueecontent='<nobr><font face="Arial"><b>:P18_TEKST<b/></font></nobr>'To this...
var marqueecontent='<nobr><font face="Arial"><b>' + document.getElementById('P18_TEKST').value + '<b/></font></nobr>'(not tested but you get the idea.)
Cheers
Ben

Similar Messages

  • Javascript help - Hide/Show a page item

    Environment:
    APEX 3.1.00.09 running on AIX 5.3
    Sample application on apex.oracle.com:
    Workspace: GALWAY
    UserID: gwicke
    Password: gwicke
    To see where my issues are:
    1- Start on page 3
    2- In the Agency drop down select 'J & B Marketing'
    3- In the Contract drop down select the only contract that appears
    4- Click on 'Edit Existing Contract'
    5- Note the page item 'LY Closings' has the value 261
    6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
    7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
    8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
    9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
    I need to do a couple of things with a potentially hidden page item:
    1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
    2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
    I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
    Issues:
    1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
    2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
    Any help is greatly appreciated.
    -gary (a.k.a. Javascript newbie)

    Hi,
    Only your messages use the session state. The code would use the entered value, but you would need to change:
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
    Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
    What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
    var xx = document.getElementsByTagName("LABEL");
    var zz;
    var label;
    for (zz = 0; zz < xx.length; zz++)
    if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
      label = xx[zz];
    xx[zz].style.display = 'none';
    {code}
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Page Items displayed in Oracle AS Portal

    I am building a page in the Oracle Application Server Portal
    that has three regions. Each region contains a Discoverer Worksheet. The layout
    is such that the upper region has a worksheet graph (a) spanning 100% of the
    region. Beneath this region are two regions containing one worksheet table in each
    region. The worksheets have a master (b)/detail (c) relationship. The "master" (b)
    worksheet is the table for the graph (a) in the upper region. It is the same
    Discoverer worksheet being displayed as a graph in one region (a) and as a
    table (b) in another region.
    The issue that I have encountered lies in the Page Items
    being part of the title of the regions. For the tables, the Page Item and values
    appear just below the title of the worksheet. This is not the case for the
    graph. The page items do not appear by default. To get the Page Items to appear
    as part of the graph, I used the &PageItems option in Discover Plus for the
    worksheet, but this causes the values to be repeated for the regions containing
    tables (b) and (c).
    Is there any way to turn off the Page Item as being part of
    the titles in the regions containing tables? Or any way to get all three
    regions to show the Page Items without them being repeated in the regions
    containing tables?
    Edited by: user10753869 on Dec 31, 2008 7:50 AM

    Any ideas on this? I have tried the custom template and changed the border="1", but that does not look very good. I want it to look more like excel, where there are titles (column headings) and within each column, each cell has a border completely around it with page items in them. Is this possible?
    Thanks!
    Jeff

  • How to retrieve a page item value in another page?

    Hi,
    how to retrieve a page item value in another page?
    say P55_COURSES_TO_EVALUATE is my page item name and it is a select list.Based on the value selected,in the next page i shd show details related to the selected value and for this i need P55_COURSES_TO_EVALUATE value in the next page.How Do I get it?When I try to retrieve the values it simply returns nothing.
    Any pointers would be really helpful.
    Thanks in advance.

    Hi,
    Could you please tell how you try use it ?
    If you set value to item P55_COURSES_TO_EVALUATE and submit page, value is saved to session state.
    Then you can use that item in any page like
    :P55_COURSES_TO_EVALUATEYou can not access page value in javascript/jQuery from other pages like
    $v('P55_COURSES_TO_EVALUATE')
    document.getElementbyID('P55_COURSES_TO_EVALUATE')
    $(#P55_COURSES_TO_EVALUATE)Because item is not in other pages. In javascript from other pages you can use
    var a = '&P55_COURSES_TO_EVALUATE.';Regards,
    Jari

  • Default Value for Page Items

    Hi,
    I use page items quite heavily in my workbooks to allow the user to filter the recordsets as they require.
    Some of these page items are based on dates - i.e. Extract Date (my underlying tables are updated on a daily basis, so the Extract Date soon contains several values).
    Is there any way I can set the Page Item to show the latest (MAX) Extract Date when the work book is opened?
    Many thanks
    Mark

    Hi all
    Also, when alternate sorts are in use these will generally trigger Discoverer to add the NOREWRITE hint to the SQL, which can cause horribly slow performance.
    I used to use alternate sorts a lot but these days I use them very sparingly. When I want a list of values to come up in a certain order I now use a custom folder and add the ORDER BY in there. This allows the list to come up right when my users are picking and stops the NOREWRITE hint, but it also removes the alternate sorting from the display.
    There are other causes for the inclusion of NOREWRITE hint but this is the main one.
    Best wishes
    Michael

  • Download as in IR Search Bar resets Page Item values?

    Hello,
    i have in an IR a separate region that has Page Items. When i set to these Page Items values and press Go then their values are submitted and used in IR's query. The fetch is correctly being done. Then when i use Download As IR Search Bar, their values are being resetted to that when NULL and query is executed again and fetching wrong results in Excel csv file. Is this the normal behaviour of the Download As option in Search Bar? How can i avoid this resetting ?
    To be more exact the resetting is being done just after pressing the Excel Icon in Download As in Search bar.
    TIA
    Edited by: Dionyssis on 22 Οκτ 2009 6:38 πμ

    Finally i managed to find what caused the problem: i had a process in Before Header that was called from a user button in this area. This process cleared all value of fields and actually doing reset. I have failed to set it conditional upon Reset Request. After doing that it looks like it keeps the result set even in Download as. But i have noticed the following behaviour and i have made a case in apex.oracle.com for examination:
    http://apex.oracle.com/pls/otn/f?p=20695:1
    user/psw: demo/demo
    When you log in do these things:
    0. Open Basic Search Show/Hide Region
    1. Clear Date From and Date To field and tab out (JS scripts put default values)
    2. Click in Search Bar and select Filter
    3. Use as field : User Name, operator: LIKE and value: ADMIN
    4. Press Apply.
    5. It says No data found!
    6. Press Go
    7. It fetches correctly one row!
    Why Apply does not work ? Shouldn't execute the query ?

  • Problem with dynamic change a page item value

    Hi,
    I'm trying to dynamically calculated the value of an item based on a simple formula that involves the multiplication of two elements from the same page.
    To do this, create dynamic action as follows:
    Event: Change
    Selection Type: Item(s)
    Item(s): P19_DURATION
    Action: Set value
    Fire on page load: TRUE
    Set Type: SQL Statement
    SQL Statement: SELECT :P19_DURATION * :P19_RATE FROM DUAL
    Page items to submit: P19_DURATION
    Selection Type: Item(s)
    Item(s): P19_AMOUNT
    When altering the P19_DURATION get no change in P19_AMOUNT
    Since my knowledge of javascript is almost zero, I'm trying to do this with pl / sql or sql. Try the dynamic action with a function or a PL / SQL statement and nothing works.
    Have to use javascript for this?
    Searching the forum I think it's something simple, but I did not find an example similar to what I need.
    Regards

    Event: Change
    Selection Type: Item(s)
    Item(s): P19_DURATION
    Action: Set value
    Fire on page load: TRUE
    Set Type: javascript
    javascript Code:
    amount = $v('P19_DURATION') *  $v('P19_RATE');
    $s('P19_AMOUNT',amount);

  • IR Report based off of page item value

    Hey all,
    I want to create an IRR region and have the report update based off of a a page item.
    The page item will be a drop down of the tables I want to show, so something like:
    Select * from '||v('P1_TABLES')
    This will work with the normal report but not with the IRR. Is the syntax incorrect?
    Help is appreciated!
    Edited by: Ben C on Feb 23, 2012 6:42 AM

    Zooid,
    but always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always always
    use bind variables !!!!
    Regards,
    Richard
    blog: http://blog.warp11.nl
    twitter: @rhjmartens
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How to send values from a "Report Column" instead of a "Page Item" ?

    Hi there,
    Here's my case: Two pages A and B.
    Page A is used to view each employee from a selected department.
    Page B is used to created/modify employees.
    I have a create button on page A which redirect to page B.
    By default, page B is blank (as of course we have to fill the blanks to create a new employee).
    However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
    ---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
    ---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.
    I'm a bit lost cause I don't know how to transfer/send this value to the second page.
    Do you have any clue ?
    Thanks again for your time !
    BR
    Ulrich

    Ulrich,
    Maybe I have misunderstood your requirements, from those I assumed that Page 4 was already being populated with a Department ID. So my plan was to look-up the Manager ID via the known Department ID
    Here's my case: Two pages A and B.Page A is used to view each employee from a selected department.
    Page B is used to created/modify employees.
    I have a create button on page A which redirect to page B.
    By default, page B is blank (as of course we have to fill the blanks to create a new employee).
    However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
    ---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
    ---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.>
    Have you verified that you have the :P4_DEPARTMENT_ID in session?
    Does your SQL run in SQL Commands when provided a Department ID?
    Have you tried altering when the Computation fires? I recommended to start with After Regions, try some other firing points.
    Jeff

  • Crystal Reports For Eclipse - Multi-values not showing on page..

    Tried two different ways to set params, but to no avail.  Values seems to be set, but only one value appears on the report.The value is updated, so not an old value or anything.
    Also if I look at the values I can see the values are set!  The Field is set to multi=true and the height is big enough to display lots of date grow=true.
    <%@page import="com.businessobjects.samples.JRCHelperSample" %>
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer" %>
    <%@page import="com.crystaldecisions.reports.sdk.ReportClientDocument" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.Fields" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.ParameterField" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.Values" %>
    <%@page import="com.crystaldecisions.reports.sdk.*" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Report1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // ****** BEGIN LOGON DATASOURCE SNIPPET **************** 
                        //     Database username and password
                        String connectString = "jdbc:oracle:thin:@localhost:1521:XE";
                        String driverName = "oracle.jdbc.OracleDriver";
                        String JNDIName = "";
                        String userName = "darren";
                        String password = "darren";
                        // logon to database
                        //JRCHelperSample.logonDataSource(clientDoc, userName, password);
                        // Switch all tables on the main report and sub reports
                        JRCHelperSample.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
                   // ****** END LOGON DATASOURCE SNIPPET ****************           
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                        // Create the CrystalReportViewer object
                        CrystalReportViewer viewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        viewer.setReportSource(reportSource);
                        // set viewer attributes
                        viewer.setOwnPage(true);
                        viewer.setOwnForm(true);
                        // MyParameter
                        String paramName = "MyParameter";
                        String theValue1 = "Hello";
                        String theValue2 = " World!";
    // Method 2
                        //We will be using the ParameterFieldController quite a bit through-out the rest of this function.
                        ParameterFieldController paramFieldController = clientDoc.getDataDefController().getParameterFieldController();
                        // MULTI-VALUE DISCRETE PARAMETERS.
                        Object[] multiVals = {theValue1, theValue2};
                        // sReportName - the report that contains the specified parameter field.
                        // sFieldName - the parameter field name.
                        // newValue - the collection of values to be stored in the parameter field.
                        paramFieldController.setCurrentValues("", paramName, multiVals);
    // Method 1
                        Values values = new Values();
                        values.add(theValue1);
                        values.add(theValue2);
                        ParameterField paramField = new ParameterField();
                        paramField.setName(paramName);
                        paramField.setAllowMultiValue(true);
                        paramField.setAllowCustomCurrentValues(true);
                        paramField.setCurrentValues(values);
                        Fields parameterFields = new Fields();
                        parameterFields.add(paramField);
                        viewer.setParameterFields(parameterFields);
                        viewer.setEnableParameterPrompt(true);
    // Show parameter values to console          
                        Fields fields = viewer.getParameterFields();
                           for (int i = 0; i < fields.size(); i++) {
                           ParameterField pf = (ParameterField)fields.get(i);
                           Values v = pf.getCurrentValues();
                           if (v.isEmpty()) {
                                System.out.println(pf.getName());
                           } else {
                                System.out.println("v.size(): " + v.size());
                                for (int j = 0; j < v.size(); j++) {
                                     ParameterFieldDiscreteValue pfdv = (ParameterFieldDiscreteValue)v.get(j);
                                    System.out.println(pf.getName() + " - " + pfdv.getValue());     
                        // Apply the viewer preference attributes
                        viewer.refresh();
                        // Process the report
                        viewer.processHttpRequest(request, response, application, null);
    Thanks in advance!

    This is not a support site but a community forum. For direct help purchase a case on line

  • How to show value of COUNT_QUERY in a text Item?

    please tell me how to show value of COUNT_QUERY in a text Item?

    If you look a bit further down the thread Rosario posted, you might find the method DanielLiang posted to be easier to implement for you.
    you can use calculation:
    example :
    Database Data Block: block1 ( Query All Records : Yes )
    not Database Data Block : block2 (Single Record : Yes)
    block2 has a text item (number) ,it calculation property :
    calculation mode : summary
    summary function : count
    summarized block : block1
    summarized item : item1(block1's item)

  • How do you populate a page item in apex with a value read from excel

    Dear All
    I am working on application where I am uploading a csv file in oracle apex. I then need to access a value in Cell B2 of the csv file and populate a page item called
    :P2100_AUTHORISATION_ID with this value. Many of the examples I have found upload the data using v_data-array into a table but I don't need to do that I just need to get the value from the csv file and then display additional information about the file allowing the user to either or continue or cancel the request to upload. I am running into a small problem that I can't explain and wondered if anyone had any ideas.
    Here is the code I am using to try and populate and item called :P2100_AUTHORISATION_ID but when I poulate the item the value is always 0. But if I replace the line :P2100_AUTHORISATION_ID:= v_data_array(2) with a raise_application_error(-20001,v_data_array(2)); The correct value is displayed in the eror. Any Help would be appreciate and I apologise in advance if this akes no sense at all:-)
    declare
    --variables needed to read excel data from flow files
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len number := 1;
    v_line VARCHAR2 (32767) := NULL;
    v_data_array wwv_flow_global.vc_arr2;
    v_rows number;
    v_sr_no number := 1;
    begin
    --------------------------------------get file info from www_flow_files
    select blob_content into v_blob_data from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    --Read and convert binary to char
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(p_bl_wd_data_entry.hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities </span>
    v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data </span>
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    --get filename from wwv_flow_files
    select filename into :P2100_FILE_NAME from wwv_flow_files where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    :P2100_AUTHORISATION_ID:= v_data_array(2);
    -- Clear out
    -- v_line := NULL;
    --v_sr_no := v_sr_no + 1;
    END IF;
    END LOOP;
    end;
    Best Regards
    Lynn

    Hi Joel
    Continuing on from my last question, there was something else I want to ask if you dont mind.
    Now that I have the v_data_array(2) value in a page item I would like to use as an input value to a procedure to return some information I need displayed on the page. To do this I need to convert it to a number but when I try to so this I get the following error
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    When I use the wwv_flow.debug that you told me about it is outputting a value '4851 ' so it look like there may be some sort of asii character causing a problem. I have tried using trim(v_data_array(2)) and ascii(v_data_array(2)) but nothing seems to work.
    Would you know how to convert a v_data_array value to a number? At the moment I am attemting to do it withiin the same code I attached in my earlier post but I have replaced the assignment of :P2100_AUTHORISATION_ID with the code below where P_BL_WD_DATA_ENTRY.getauthid is the procedure returning the values I need.
    :P2100_AUTHORISATION_ID:= P_BL_WD_DATA_ENTRY.getauthid(to_number(v_data_array(2)));
    Thanks
    Lynn

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold:
    1. I'm looking to see if anyone else has experienced this type of issue before.
    2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
    Synopsis
    I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
    By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
    Environment
    * This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
    * I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
    Logs
    * No application errors during this timeframe.
    * Nothing of significance in the database alerts log (just thread notes and log sequences).
    * Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
    Thanks for your attention,
    Jason
    Edited by: Jason G on Jul 24, 2009 12:43 PM

    Well, thanks for reading the post anyway.
    While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
    I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
    So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
    Good luck,
    Jason

  • Copy value from report to page item

    Hi all,
    Does anyone knows how to copy an item value from a report to a page item, each time the report runs??
    thanks

    Hi,
    Take a look at this thread. column link - call java script & assign current report column value to item
    Regards,

  • Report: passing values to item page

    on Apex 3.2
    Hi,
    I need help.
    Does anyone knows a way to pass values from a report to a page item?
    This is what i want: when i run a report i want to fill a page item with the value from an item report.
    Thanks,

    Hi Austin,
    Thank you for your reply.
    I've writen a query that gives me the accounting movements.
    In this query the user can pass the rownum because there are about 1million records in the partitioned table.
    But the diference between credit and debit must considered all the movements that are not closed.
    I'm using analitics functions to do that, so for each line the value is already calculated.
    With one report region: If i group and break the report it takes about 13 seconds to display the information.
    If two report regions: One for the movements other for the "Debit: Credit: and Total:". It takes about 6 seconds to display the info.
    Its more fast, but i have to run the query twice. The idea is to run only once.
    The values that i want to pass from report to page items, Debit: Credit: and Total:.
    Is there a way?
    Thanks,

Maybe you are looking for

  • Call cut off after 1 minute

    Hi, I have Cisco AS5350 IOS version 12.2(13)T. This gw is doing origination. My termination gw is Vocaltec and Cisco AS5300. When my customer call to my terminating gw, they can hear the opposite party but after 1 min, the call cut off by itself. I h

  • File Sharing with MacPro, G3 B/W and Powerbook G4

    I am attempting to network 3 computers. I am using wired router. I have all IP addresses set. Here is the problem. If I want to connect as registered user, I have to use a password. I know my password, but it is being rejected. I reset the password u

  • XML dataset doesn't change in detail area

    Thanks in advance for any help you might be able to lend... My accordion layout has five panels all of which are using different XML datasets. I have been wracking my brain to figure out how to have multiple master data regions filter into one detail

  • HT6030 how can i send word/pdf/ppt/excel sheets as attachments to my emails via gmail using ipad

    i have been trying to save word pdf excel and ppts on my ipad and also send these files as attachements using gmail App but I am unable. please advise.

  • Can't connect to personal domain since iLife upgrade

    I would REALLy appreciate any direction here I have a site - www.askkaty2write.com - which I give clients to see my writing samples. I upgraded it iLife09 yesterday and now cannot connect to my personal domain. I get the "Looking for something on Mob