How to manage the lines multiple region table OFA

Hi gurus,

I'm new to the development of new Pages of the OFA. Please help me how to manage multiple lines in the table region OAF.

My requirement I'm not able to manage multiple lines in my area of Table.

First row in my table area I am selected date_start and date_end when I select the end_date I need I need difference bet ween dates.

My problem is I am able to manage the first Table line but I am not able to manage the table still ranks when I fire that time I first get the rank only.

POS:

14/08/12 07:59:40 1

14/08/12 07:59:40 inside

14/08/12 07:59:40 date difference is 86400000

14/08/12 07:59:40 date difference is 1

14/08/12 07:59:40 date is less than 365

14/08/12 07:59:57 1

14/08/12 07:59:57 inside

14/08/12 07:59:57 date difference is 86400000

14/08/12 07:59:57 date difference is 1

14/08/12 07:59:57 date is less than 365

14/08/12 08:00:13 1

14/08/12-08:00:13 inside

14/08/12 08:00:13 date difference is 86400000

14/08/12 08:00:13 date difference is 1

14/08/12 08:00:13 date is less than 365

My custom logic:

If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
DateDiff (pageContext, webBean);
//Am = XxDutyTravelAMImpl
//(XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);
OAViewObject = oaviewobject1
(OAViewObject) am.findViewObject ("XxDutyTravelDuDetEOVO1");

System.out.println("1");
If (oaviewobject1! = null) {}
System.out.println ("Inside");
oaviewobject1. Reset(); New line added
oaviewobject1. Next(); new line added
Line OARow = (OARow) oaviewobject1.getCurrentRow ();

Date sDate = (Date) row.getAttribute ("DutdetStartDate");

Date = eDate (Date) row.getAttribute ("DutdetEndDate");
java.util.Date VChangeDateTime =
new java.util.Date (sDate.timestampValue () .getTime ());

If (sDate! = null & & eDate! = null) {}
long m1 = sDate.timestampValue () .getTime ();
long m2 = eDate.timestampValue () .getTime ();

long diff = m2 - m1;
System.out.println ("difference in date is" + diff);
int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
System.out.println ("difference in date is" + diffDays);
If {(diffDays > 365)
System.out.println ("Date is greater than 365");
} else {}
System.out.println ("Date is less than 365");
}
}
}
}

Kind regards

Srinivas

Hi Srini,

To get the event line descriptor that shot please use code below.

If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
DateDiff (pageContext, webBean);
Am = XxDutyTravelAMImpl
(XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);

String rowRef = pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
OARow line = (OARow) am.findRowByRef (rowRef);

Date sDate = (Date) row.getAttribute ("DutdetStartDate");

Date = eDate (Date) row.getAttribute ("DutdetEndDate");
java.util.Date VChangeDateTime =
new java.util.Date (sDate.timestampValue () .getTime ());

If (sDate! = null & eDate! = null) {}
long m1 = sDate.timestampValue () .getTime ();
long m2 = eDate.timestampValue () .getTime ();

long diff = m2 - m1;
System.out.println ("difference in date is" + diff);
int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
System.out.println ("difference in date is" + diffDays);
If {(diffDays > 365)
System.out.println ("Date is greater than 365");
} else {}
System.out.println ("Date is less than 365");
}
}
       
}

Thank you

Vlaminck

Tags: Oracle Applications

Similar Questions

  • How to manage the double click on af:table?

    ..... I use JDev 11 g...

    I have an af:table I want when I double click on the line in this table, I run a method in backing bean.

    (I know there's a selectionListener in the table but this for the simple click, I want a method call only if I double click on the table)

    How can I do?

    Thank you...

    Sameh Nassar

    You can use this method.

    1 register a listener client on the table:

    The doDbClick method is a javascript function:

    function doDbClick (event) {}
    source var = event.getSource ();
    AdfCustomEvent.queue (source, "doDbClick", {}, false);
    }

    2 register a listener server on the table to consume this custom event:

    The java method:

    {} public void doDbClick (event ClientEvent)
    do what you want
    }

    Colin

  • How increase automatically the rows in a table

    Dear friends,

    In apex 4.1 I don't see Adding line in the process due to which i m unable to increase the lines in a table automatically when you click on the button to add a line. Can u please help me in this regard how improve rows in apex 4.1?

    Concerning
    Kamran

    Hi Keita,

    To do this, you must create a separate process for the tabular presentation.

    Please check that you remove it

    javascript.addRow () in the box add row button and change to submit the page.

    Create a process page, select form---> Data Manipulation---> add lines of tabular presentation---> give the necessary lines as you wish (5).

    Brgds,
    Mini

    ----------------------
    Mark responds promptly

  • How to choose the line PFI to use on the port of the 5761?

    I understand that the VIDEO that I use on my DAC 5761 allows me to access 8 PFI lines.  However, when I access my 5761 devices in the project window by clicking the "+" next to the name of the module, I see that 'PFI Input' and ' output PFI.  I tried to get this to send a signal in the past, but I have been unable to determine how to select the line PFI I want to use.   How can I select the PFI line?

    Any ideas?  I was able to get the my AWG PFI (5422) for work and it is amazing.  I want to order an attenuator digital step for a ground penetration radar that I develop.

    Your time and your help is very appreciated.

    PS: I have worked with this PXI system (chassis, embedded controller, FPGA digitizer 5761 and AWG) for 1 year and I am afraid that it is time to learn this one way or another.

    Good day!

    -Daniel

    I found the solution. In addistion to the node which is visible in my previous post, there must be a node to enable PFI write with an entry of decimal number indicating the line is activated. Then, there must be a node PFI active connector, set to true. Not sure if the node of the latter is really necessary, however. Otherwise above examples should work as is.

  • I would like to know how to manage the ASN.1 encoding/decoding in LabView?

    I would like to know how to manage the ASN.1 encoding/decoding in LabView?

    Hello J,

    in the example given here , it looks like a format simple bytestream...

    You must read the byte stream, get the first and the second byte to decode the data type and length and then read & catalogued according to number of bytes. And then read 2 bytes and so on...

    Encoding will work the same but in reverse

  • How to manage the tv after hdmi to hdmi connection

    I want to connect to my computer windows 7 with tv on my Vizio tv hd tuner. I intend to use the hdmi to hdmi connections. After that I made the connection how to manage the tv without going back to the computer. My TV is in another adjacent room to my computer, sbout 20 ft away. Can I use a wireless mouse to manage the tv? The monitor and tv both appear at the same time? What are other options? Thank you for taking my question and to meet others, I put in the forum. Donnie

    I guess that the xbox 360 is a must for my setup. Thanks for your reply, Donnie

  • How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?

    Mr President.

    How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?

    Concerning

    Normally at the height of the table control you need property autoheightRows -1 and then set height in the table like this inlinestyle

    height: 300px;

  • How to get the title of a table with FDK?

    How to get the title of a table with ad FDK C++?

    I did people. I get objects table paragraph and later the textual elements for each of them.

  • How to manage the SOAP response

    Hello (beginner vCO),

    I use the SOAP Plugin and trying to figure out how to manage the here, a host of SOAP response is the log I get the SOAP response

    [12:53:43.124 2014-05-09] [I] the settings...

    [12:53:43.135 2014-05-09] [I] the available settings:

    [12:53:43.136 2014-05-09] [I] + parameter name: "GetRequestStatusResult", value: "< response >

    < item >

    < ServiceRequestID > SR138917 < / ServiceRequestID >

    OS DEPLOYMENT < ServiceRequestStatus > < / ServiceRequestStatus >

    < ServiceRequestCreated > 09/05/2014-15:20:25 < / ServiceRequestCreated >

    < ServiceRequestCompleted > < / ServiceRequestCompleted >

    MA138921 < CurrentActivity > < / CurrentActivity >

    OS DEPLOYMENT < CurrentActivityTitle > < / CurrentActivityTitle >

    < ActivityStartUTC > 09/05/2014-15:32 < / ActivityStartUTC >

    < ActivityEndUTC > < / ActivityEndUTC >

    < DurationTotalSeconds > < / DurationTotalSeconds >

    < AverageDurationSeconds > < / AverageDurationSeconds >

    < SecondsOffAverage > < / SecondsOffAverage >

    < EstimatedCompletionUTC > < / EstimatedCompletionUTC >

    < / OutputParameters >

    < warning > < / warnings >

    < exceptions > < / Exceptions >

    < / response > '

    It will be better to try and parse text or try and use another method with vCO

    If you haven't done so already, take a look at the action of com.vmware.libarary.soap.processOutParameters.  It is the action that generated the log you have placed in us.  It generates an object Properties (key, value pairs) with the value for each setting that results.

    In your case, assuming that 'outProps' is the result of the above, you can use:

    var getRequestStatusResult = outProps.get ("GetRequestStatusResult");

    And to analyze the code XML with E4X as Ilian said.

  • How to draw the line under STROKE and fill of an object in illustrator cc? Ideas: D...

    How to draw the line under STROKE and fill of an object in illustrator cc? Any ideas ...

    Aleksandar,

    If I (put) understand it, you will need to divide the object. You can:

    (1) select the object and Ctrl / Cmd + C + F, and then remove the filling of the copy and the blow of the original;

    Draw 2) and drag the new piece down between Division 1 objects) in the layers palette, or select 1 copy) and Ctrl / Cmd + C + F + X + F or similar.

  • How to manage the photos Lightroom when using 2 computers, keeping any changes made on one or the other?

    Based on http://forums.Adobe.com/thread/1308132?TSTART=0 I decided to add each question separately:

    Hello, I am very interested in buying Lightroom 5.2. I tried the RC that was missing today. Yet, I have several questions that I can't find really good conclusive answers, I'd like to get an answer before buying LR. Please do not write maybe like this or that (assumptions), because I don't want to start my entire workflow and then realize that I have to change all around, please reply, if you know for sure that something works and you are, preferably, using this method too.

    Is the big question, where I want to especially a conclusive answer:  How to manage the photos Lightroom when using 2 computers, keeping all the changes made on one of them, using the same photos for editing. I'm not going to use DNG. Details: I mainly use my old MacBook Pro, but I wish I could use my PC as it is much better (card: i5 2500K, 16 GB of RAM, SSD, USB3, nVidia GTX 560 TI etc.). I have 2 external HD that I could use, one for backup and one for the actual Photos/changes. I you will probably need to use as my internal HDs are fairly complete and I cannot be the kind of things simply delete or move to one (developer, without loss of music, programs etc.).

    On this basis, how do I save all such Photos folder (pictures and retouching and preferably presets too)?

    According to me, that it should be possible to work cross-platform without having to create a link to the files each time, or without having to keep export/import of the catalog, keeping the single catalog and the picture library on an external drive that is then switched between systems as needed.

    Obvious first requirement is an external drive that is formatted in a way (for example, FAT32) that it can be used on both platforms in read/write mode. Given that, if the catalogue AND folder parent si le catalogue ET le dossier parent images are both set to the same level in a global parent folder, then it should be possible to take advatage of ability of Lightroom to use relative paths instead of absolute paths to detect the images, no matter if the player is named (Mac) or lettering (PC). This is how "export as catalog of ' works, that is, it creates a 'package', alias a parent folder, containing the catalog and a replica of the folder hierarchy to exported along with the catalog images. Take this 'package' to another system (same OS or not) and "it works" even if the drive letter is different or the operating system is different... because the relative path of the image catalogue is always the same.

    I have not tested this cross-platform (if I have between various PC systems with letters of different readers) so for me it's still just a theory, but there may be others who have done this successfully.

  • How to change the areas of region of report in read-only mode?

    How to change the areas of region of report in read-only mode?

    SKUD.

    Add fuction javascript after the page header (or section of function and Javascript variables)

    function disableItems(pRegionStaticId,pDisableFlag) {
      $('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
        if( $(this).attr('name').match(/f[0-9][0-9]/) ){
          return $(this);
        }
      }).attr('disabled',pDisableFlag);
    }
    

    pRegionStaticId is static Id + the region

    Note that this code specifically disables only the berries of request. Disabled items are not available after the submission (and are therefore different from readonly). But any javascript page can change disabled or readonly points (client side), so you need to check on the side server to validate the data.

    You can disable items to help

    disableItems ("MY_REGION_ID", true);

    and allow them, by passing false

    disableItems ("MY_REGION_ID", false);

  • How to use the Type of Oracle Table values in the Select statement.

    Hello

    I get the initial set of values in the Table of Type Records of the Oracle and want to use the list of values in the Select statement.

    For example, try something like the following:

    TYPE t_record () IS RENDERING
    ID TABLEA.ID%type,
    NO TABLEA.NO%type

    );
    v_record t_record;
    T_table TYPE IS the v_record TABLE % TYPE;
    v_table t_table;

    -Code to fill the values of v_table here.

    SELECT ID, NO, COLLECT in BULK IN < some other table variabes here > FROM TABLEA
    WHERE ID IN (i) v_table USER.USER;

    I want to know how to use the Type of Oracle Table values in the Select statement.

    Something like this:

    create or replace type t_record as  object (
    id number,
    no number
    )
    /
    
    CREATE or replace type t_table AS TABLE OF t_record;
    /
    
    set serveroutput on
    declare
    
      v_table t_table := t_table();
      v_t1 t_table := t_table();
    
    begin
    
      v_table.extend(1);
      v_table(1).ID := 1;
      v_table(1).No := 10;
    
      v_table.extend(1);
      v_table(2).ID := 2;
      v_table(2).ID := 20;
    
      SELEC t_record (ID,NO) BULK COLLECT INTO v_t1
      from TableA
      FROM TABLEA
      WHERE ID IN (select t.ID from table(v_Table) t);
    
      for i in 1..v_t1.count loop
        dbms_output.put_line(v_t1(i).ID);
        dbms_output.put_line(v_t1(i).No);
      end loop;
    end;
    /
    

    No test!

    P;

    Published by: bluefrog on March 5, 2010 17:08

  • How to manage the pause embedded inside the CSV column line

    Hello

    I'm under pressure to make it work. I've already put this question on the forum of the APEX, but on reflection, I think that it relates more to PL/SQL rather than APEX APEX 4.1 having already utility to manage the Upload of CSV.
    If you already read in the forum of the APEX, please ignore.
    I'm sorry for that. Thanks for reading.

    I need to develop an application that allows the user to upload a CSV file to a table of interface.
    The APEX version on my workplace is 4.0.2.
    I used the code of
    http://dbswh.webhop.NET/HTMLDB/f?p=blog:read:0:article:11000346061523
    It all works fine until recently I find
    If a column in a CSV file cotain a break line (or line spacing) for example (the tester copy and paste this text which has a line break on a column in a spreadsheet)

    It is the first sentence.
    It is the second sentence.

    It will break the 'it's the second sentence In a new column.

    The contents of the CSV read next to Notepad as below
    Date of assessment, Date, assessment provider, name of the assessor, Court, first name, middle name, last name, PRN person record, NHI number, assisted defendant Y/N number, is dependent on O/N, Notes, primary of ethnicity, "the ethnic origin other, please specify", gender, currently in treatment O/N, another Substance, Substance of concern 5 specified
    22/09/2012, Co name of the provider, Warren Edgley, Wellington, sale, 2545554, dgsdf,, 'is the first sentence.
    It's the second sentence. ', Japanese, woman, b.

    This is the CSV UTIL code, please help me how can I replace the line break to a space so that the download process is correct.
      CREATE OR REPLACE PACKAGE BODY "CSV_UTIL" 
    AS
         --strip the beginning and the end quotes, then replace double quotation with single 
       FUNCTION de_quote (p_str IN VARCHAR2, p_enc_by IN VARCHAR2)
          RETURN VARCHAR2
       IS
       v_str VARCHAR2(32767) := p_str;
       BEGIN
          IF (p_enc_by IS NULL)
          THEN
             RETURN p_str;
          ELSE
            
            IF SUBSTR(p_str,-1) = p_enc_by THEN
               v_str := SUBSTR(p_str,1,LENGTH(p_str)-1);
            END IF;
            IF SUBSTR(p_str,1,1) = p_enc_by THEN
               v_str := SUBSTR(v_str,2);
            END IF;  
            RETURN REPLACE (v_str,
                             p_enc_by || p_enc_by,
                             p_enc_by
                            );
          END IF;
       END de_quote;
    
       PROCEDURE parse (p_str IN VARCHAR2, p_enc_by IN VARCHAR2, p_sep IN VARCHAR2)
       IS
          l_n          NUMBER   DEFAULT 1;
          l_in_quote   BOOLEAN  DEFAULT FALSE;
          l_ch         NCHAR (1);
          l_len        NUMBER   DEFAULT NVL (LENGTH (p_str), 0);
       BEGIN
          IF (l_len = 0)
          THEN
             RETURN;
          END IF;
    
          g_words := g_empty;
          g_words (1) := NULL;
    
          FOR i IN 1 .. l_len
          LOOP
             l_ch := SUBSTR (p_str, i, 1);
    
             IF (l_ch = p_enc_by)
             THEN
                l_in_quote := NOT l_in_quote;
             END IF;
    
             IF (l_ch = p_sep AND NOT l_in_quote)
             THEN
                l_n := l_n + 1;
                g_words (l_n) := NULL;
             ELSE
                g_words (l_n) := g_words (l_n) || l_ch;
             END IF;
          END LOOP;
    
          g_words (l_n) := de_quote (g_words (l_n), CHR(10));
          g_words (l_n) := de_quote (g_words (l_n), CHR(13));
          FOR i IN 1 .. l_n
          LOOP
             g_words (i) := de_quote (g_words (i), p_enc_by);
          END LOOP;
       END parse;
    
    /*
    
    Author: Oleg Lihvoinen
    Company: DbSWH
    
    Changes:
    10.02.2011, There was a miscalculation of the file line last position in case it is the end of file
    
    */
    
    
       PROCEDURE upload (p_file_name VARCHAR2, p_collection_name VARCHAR2, p_enc_by IN VARCHAR2, p_sep_by IN VARCHAR2, p_rows NUMBER)
       IS
          v_blob_data    BLOB;
          v_clob_data    CLOB;
          v_clob_len     NUMBER;
          v_position     NUMBER;
          v_char         NCHAR (1);
          c_chunk_len    NUMBER           := 1;
          v_line         VARCHAR2 (32767) := NULL;
          v_data_array   vcarray;
          v_rows         NUMBER           := 0;
          n_seq          NUMBER           := 1;
          dest_offset    NUMBER           := 1;
          src_offset     NUMBER           := 1;
          amount         INTEGER          := DBMS_LOB.lobmaxsize;
          blob_csid      NUMBER           := DBMS_LOB.default_csid;
          lang_ctx       INTEGER          := DBMS_LOB.default_lang_ctx;
          warning        INTEGER;
          l_sep          VARCHAR2(100)    := CASE WHEN p_sep_by = '\t' THEN chr(9) ELSE p_sep_by END;
       BEGIN
          htmldb_collection.create_or_truncate_collection
                                          (p_collection_name      => p_collection_name);
    
          -- Read blob from wwv_flow_files
          SELECT blob_content
            INTO v_blob_data
            FROM wwv_flow_files
           WHERE NAME = p_file_name;
    
          v_position := 1;
          DBMS_LOB.createtemporary (lob_loc      => v_clob_data,
                                    CACHE        => TRUE,
                                    dur          => DBMS_LOB.SESSION
                                   );
          DBMS_LOB.converttoclob (v_clob_data,
                                  v_blob_data,
                                  amount,
                                  dest_offset,
                                  src_offset,
                                  blob_csid,
                                  lang_ctx,
                                  warning
                                 );
          v_clob_len := DBMS_LOB.getlength (v_clob_data);
          IF v_clob_len = 0 THEN
             RETURN;
          END IF;
          
          WHILE (v_position <= v_clob_len + 1)
          LOOP
             v_char := DBMS_LOB.SUBSTR (v_clob_data, c_chunk_len, v_position);
             v_line := v_line || v_char;
             v_position := v_position + c_chunk_len;
    
             -- When the whole line is retrieved and not end of file or end of file
             IF v_char = CHR (10) AND v_position < v_clob_len OR v_position = v_clob_len + 1
             THEN
               
                parse (p_str => v_line, p_enc_by => p_enc_by, p_sep => l_sep);
                v_data_array := g_words;
                FOR i IN 1..g_words.count LOOP
                
                   IF i <= 50 THEN
                   
                      v_data_array(i) := g_words(i);
                   ELSE
                      exit;
                   END IF;
                
                END LOOP;
                
                FOR i IN g_words.count + 1..50 LOOP
                   
                   v_data_array(i) := null;
    
                END LOOP;            
                v_rows := v_rows + 1;
                -- exit if uploaded specified number of rows
                IF p_rows IS NOT NULL AND v_rows > p_rows THEN
                   EXIT;
                END IF;
                -- Store data to collection
                n_seq :=
                   htmldb_collection.add_member
                                         (p_collection_name      => p_collection_name,
                                          p_c001                 => v_data_array
                                                                               (1),
                                          p_c002                 => v_data_array
                                                                               (2),
                                          p_c003                 => v_data_array
                                                                               (3),
                                          p_c004                 => v_data_array
                                                                               (4),
                                          p_c005                 => v_data_array
                                                                               (5),
                                          p_c006                 => v_data_array
                                                                               (6),
                                          p_c007                 => v_data_array
                                                                               (7),
                                          p_c008                 => v_data_array
                                                                               (8),
                                          p_c009                 => v_data_array
                                                                               (9),
                                          p_c010                 => v_data_array
                                                                               (10),
                                          p_c011                 => v_data_array
                                                                               (11),
                                          p_c012                 => v_data_array
                                                                               (12),
                                          p_c013                 => v_data_array
                                                                               (13),
                                          p_c014                 => v_data_array
                                                                               (14),
                                          p_c015                 => v_data_array
                                                                               (15),
                                          p_c016                 => v_data_array
                                                                               (16),
                                          p_c017                 => v_data_array
                                                                               (17),
                                          p_c018                 => v_data_array
                                                                               (18),
                                          p_c019                 => v_data_array
                                                                               (19),
                                          p_c020                 => v_data_array
                                                                               (20),
                                          p_c021                 => v_data_array
                                                                               (21),
                                          p_c022                 => v_data_array
                                                                               (22),
                                          p_c023                 => v_data_array
                                                                               (23),
                                          p_c024                 => v_data_array
                                                                               (24),
                                          p_c025                 => v_data_array
                                                                               (25),
                                          p_c026                 => v_data_array
                                                                               (26),
                                          p_c027                 => v_data_array
                                                                               (27),
                                          p_c028                 => v_data_array
                                                                               (28),
                                          p_c029                 => v_data_array
                                                                               (29),
                                          p_c030                 => v_data_array
                                                                               (30),
                                          p_c031                 => v_data_array
                                                                               (31),
                                          p_c032                 => v_data_array
                                                                               (32),
                                          p_c033                 => v_data_array
                                                                               (33),
                                          p_c034                 => v_data_array
                                                                               (34),
                                          p_c035                 => v_data_array
                                                                               (35),
                                          p_c036                 => v_data_array
                                                                               (36),
                                          p_c037                 => v_data_array
                                                                               (37),
                                          p_c038                 => v_data_array
                                                                               (38),
                                          p_c039                 => v_data_array
                                                                               (39),
                                          p_c040                 => v_data_array
                                                                               (40),
                                          p_c041                 => v_data_array
                                                                               (41),
                                          p_c042                 => v_data_array
                                                                               (42),
                                          p_c043                 => v_data_array
                                                                               (43),
                                          p_c044                 => v_data_array
                                                                               (44),
                                          p_c045                 => v_data_array
                                                                               (45),
                                          p_c046                 => v_data_array
                                                                               (46),
                                          p_c047                 => v_data_array
                                                                               (47),
                                          p_c048                 => v_data_array
                                                                               (48),
                                          p_c049                 => v_data_array
                                                                               (49),
                                          p_c050                 => v_data_array
                                                                               (50)                                                                           
                                         );
             
                -- Clear the line
                v_line := NULL;
             END IF;
          END LOOP;
       END;
    END;
    In my applications, I save these lines in a table rather than a collection of APEX because the number of columns can contain greater than 50.
    I want to know how can replace these newline within a column to a space.
    If anyone has any ideas, please let me know.

    Thank you very much in advance.
    Ann
  • How to manage the default checkbox (line selector)?

    Hello

    I have a form where there is a default checkbox and I created a button named CANCELLED to cancel the special line, every time the user wants to cancel a particular line, it checks the check box so that, in the back-end, we took a cancel_flag of the column where it is appropriate to update this column 'Y' for the line selected by the end user.

    How can manage us this scenerio for the above context? Please any help will be greatly appreciated.

    TIA,
    By,.
    Murielle.

    Hello

    Create after submit conditional process your button

    BEGIN
    FOR i in 1..APEX_APPLICATION.G_F01.COUNT LOOP
    UPDATE your_table
    SET cancel_flag = 'Y'
    WHERE your_chk_column = APEX_APPLICATION.G_F01(i);
    END LOOP;
    COMMIT;
    END;
    

    Change 'your_table' and 'your_chk_column' according to your table
    BR, Jari

Maybe you are looking for

  • USB not recognized on Windows 7

    HelloI have a problem. I instaled Windows 7 USB and mouse does not (USB not recognized-pop up on my desk).PLS, can you help me to solve this problem?

  • Is there a solution to use a pen on the white Yoga 3 14?

    It is therefore the laptop I bought about 5 months ago. http://shop.Lenovo.com/ch/de/laptops/LENOVO/Yoga/Yoga-3-14/#tab-technische_daten Just two months after they released the technology anypen I don't really get and stopped selling my laptop (as yo

  • NOR-DAQmX hardware synchronization for module 2 OR-9223.

    Dear all I use NEITHER cDAQ 9184-2 NOR-9223(1M) analog acquisition module 6 input channels of the sensors of acoustic emission (frequency of 20 to 400) with external signal conditioning. Please please let me know how to synchronize using NOR-DAQmX? N

  • Unlock FX-6120

    Is it possible to unlock a processor AMD FX-6120? Gunner

  • I can't hear anything when im watching TV Online, how to repair? __

    When I turned on my computer today I went online Watch vh! the computer made some noises, but I can't hear the TV show I just installed internet explorer 8 and now I do not. the speakers work fine but something happen help