IR: Display a single row of data on several state lines.

In an interactive report, it is possible to display data from a database on two or more lines line displayed on a page?

Lieutenant Commander wrote:
In an interactive report, it is possible to display data from a database on two or more lines line displayed on a page?

Yes. Create the necessary structure by using the properties of the detail view .

Users can switch between views by using the view controls. You can view the report for default detail via a dynamic Action: + {: identifier of the thread = 2187972} +.

Tags: Database

Similar Questions

  • Single - row subquery returns more than one line.

    Hi Experts

    I am faced with error

    ORA-01427: single - row subquery returns more than one line.

    MyQuery is:

    select
       TO_CHAR(T.MR_REG_DATE,'DD')                     "DATE"
       ,CASE  
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) between 0 and 1 THEN ' 01'||'  - ('||'0 - 1 Month)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||'  - ('||'2 - 12 Months)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||'  - ('||'1 - 5 Years)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||'  - ('||'5 - 10 Years)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) > 120 then ' 05'||'  - ('||'> 10 Years)'
        END age
      ,count(T.Mr_Code) No_of_Patient
      ,(  SELECT count(x.mr_code) mr_code
             FROM HMIS_MRINFO X
             where X.mr_reg_date between &FRM_DATE AND &TO_DATE
               and X.mr_code NOT in (select Y.mr_code from hmis_pat_add_dis_detail Y
                                      WHERE Y.mr_reg_date between &FRM_DATE AND &TO_DATE
                                    )
            GROUP BY CASE  
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) between 0 and 1 THEN ' 01'||'  - ('||'0 - 1 Month)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||'  - ('||'2 - 12 Months)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||'  - ('||'1 - 5 Years)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||'  - ('||'5 - 10 Years)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) > 120 then ' 05'||'  - ('||'> 10 Years)'
                      END 
      ) Missing_MR
    from hmis_mrinfo T,hmis_pat_add_dis_detail M
    where T.mr_code = M.mr_code(+)
      and T.mr_reg_date between &FRM_DATE AND &TO_DATE
      &AGE_GRP
    GROUP BY T.MR_REG_DATE
             ,CASE  
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) between 0 and 1 THEN ' 01'||'  - ('||'0 - 1 Month)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||'  - ('||'2 - 12 Months)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||'  - ('||'1 - 5 Years)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||'  - ('||'5 - 10 Years)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) > 120 then ' 05'||'  - ('||'> 10 Years)'
              END 
    ORDER BY T.MR_REG_DATE;
    

    Please give some advice / solution.

    I think this might do it for you

    Select

    TO_CHAR (T.MR_REG_DATE, 'DD') "DATE."

    CASE

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) between 0 and 1 THEN ' 01' |'.  - ('||' 0-1 month)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02' |'.  - ('||' 2-12 months)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03' |'.  - ('||' 1-5 years)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04' |'.  - ('||' 5-10 years)'

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) > 120 then ' 05' |'.  ' - ('| ' > 10 years).

    Age of the END

    count (T.Mr_Code) No_of_Patient

    , count (case when t.mr_code NOT in (select Y.mr_code from hmis_pat_add_dis_detail Y))

    WHERE Y.mr_reg_date between & FRM_DATE AND & TO_DATE)

    then t.mr_code

    (end) Missing_MR

    of hmis_mrinfo T, hmis_pat_add_dis_detail M

    where T.mr_code = M.mr_code (+)

    and between T.mr_reg_date & FRM_DATE AND & TO_DATE

    & AGE_GRP

    T.MR_REG_DATE GROUP

    CASE

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) between 0 and 1 THEN ' 01' |'.  - ('||' 0-1 month)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02' |'.  - ('||' 2-12 months)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03' |'.  - ('||' 1-5 years)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04' |'.  - ('||' 5-10 years)'

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) > 120 then ' 05' |'.  ' - ('| ' > 10 years).

    END

    ORDER BY T.MR_REG_DATE;

  • How to transmit DATA between several state machines.

    Hi I'm doing a project that needs to acquire data from a simulated data file and display it on a graphical interface. Two of them are manufactured in a state machine. I wonder if it is a good way of communication of data between two state machines? It would be very appreciated if you can provide a few examples. Thank you very much.

    OK, there are plenty of ways to communicate, but who are these state machines in the same project? Same VI? All LabVIEW?

    I like functional global variables due to the functionality that can be included in the. If they are used wrongly, as most of the things with the coding, you will create the races and break your code.

    Work of local variable, but I try to clear them tsar when possible. If they are used wrongly, as most of the things with the coding, you will create the races and break your code.

    Queues are pretty popular to connect, but try to stay with fixed size data, if you think that the limits of memory could be a problem.

    If you speak through the eyes of network to published static Variables (do not use these unless you have a stable network) network, TCP/IP, UDP, or Web Services flow (you need experience in this field. It is not just together.

    LabVIEW is a good way to program, but this kind of key options.

  • Modify a calendar to display on single items by date

    Hello

    I have a small calendar in monthly view that I use to display dates in a table (this is a journal application). I display an image the area of the calendar day if there is data, but the image is displayed for the number of events happening that day. So if there are 4 events calendar January 13 then I get 4 images in the same day box.

    How can I configure it so that it shows only 1 image regardless of the number of events on the Agenda? And no images at all if there is no event for this day there?

    I use Apex 4.0.2.00.06 on 11G hosted by a 3rd party.

    Thank you
    Andrew

    Hi André,.

    The number of images depends on the number of records found for this date. Therefore, you must reduce to a single record per day. Assuming that you don't need to use the links to the individual records, you could do something like:

    SELECT DISTINCT
    HIREDATE,
    TO_CHAR(HIREDATE,'DD/MM/YYYY') LABEL
    FROM EMP
    

    Which must be created as a SQL calendar instead of a simple calendar to allow you to specify the SELECT statement full of yourself.

    Replace the TAG line with everything you want - you can create the tag IMG here, if necessary.

    Andy

  • AF board display a single line

    I use jdev 11.1.1.5

    I dropped a table af... I want on UI for it to display a single row (a first)... I don't want that it displays all the lines

    What property should change... I remember in 11.1.1.3 there was a building known as lines, but do we have nothing in 11.1.1.5

    Or add the VO even for the modules of applications data model using a different name, click on the edit button on the top of the face of data model and change the knot tuning to return a single line for the VO. Then you have a VO which returns all the lines you use for the tables and which returns a single row.

    Timo

  • Creation of new rows of data in FDM

    Is it possible to use scripts or logical process to create new lines of data in MDF? For example, I have a single row of data containing a customs account sales intercompany, PIC, etc. I want this to come in the system of notification of GAAP in CANADA, but I need to create a second line that changes the account becomes the PEAK (none) and becomes the 4 Custom to one outside our main hierarchy.

    I know it can be done in the consolidation of HFM, but want to discover and FDM solution if possible. Any tips? I have accounts single source key off of. Thank you!

    Yes, this is one of the main reasons logical groups exist in FDM. The guide of the administrator for more information.

  • Display the name of the tag as the column name and the value in the tag as a row of data from the input string.

    Hi Forum members,

    I am looking for a query display the name of the tag as the column name and the value in the tag as a row of data.

    I have to print the values within the tag to a file by choosing the value of the flags. the sequence of the tags will vary each time, as the tag name will change dynamically.

    So here is the example of input data and the expected output. The string in the text column must be separated as the column names and values.

    Input data
    Select 1 as seqno,' < > 0210A 50 4f < / 4f > < 5f20 > TEST CARD 16 < / 5f20 > < 5f2a > < / 5f2a > < 82 > 1 c 00 < / 82 > ' double text


    Output:

    Seqno 4f 5f20 5f2a 82
    0210A 50 16 1 00 TEST CARD 1

    Please help me by providing your entries on this.

    We use the version of Oracle 11.2.

    Note: This is not the XML string

    Thank you

    Shree

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    )

    Select d.seqno, x.*

    d the data,

    XMLTable ('/ root')

    by the way xmltransform (xmltype ('': replace (replace (text,'<><>'),)))

    XmlType (q'~http://www.w3.org/1999/XSL/Transform "version ="1.0"> ")

                                                     

                                                       

                                                         

                                                       

                                                     

                                                     

                                                       

                                                         

                                                       

                                                     

    ~'

    )

    )

    path of columns '4f' varchar2 (10) "tag4f."

    path of "5f20' varchar2 (30)"tag5f20. "

    path of '5f2a' varchar2 (10) "tag5f2a."

    path of varchar2 (10) "82" "tag82.

    ) x


    SEQNO 4f 5f20 5f2a 82
    1 0210A 50 16 TEST CARD - 1 00
    2 0210A 50 16 TEST CARD - 1 00
    3 0210A 50 16 TEST CARD - 1 00
    4 0210A 50 16 TEST CARD - 1 00

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    ),

    Chopper (seqno, Key, value, String) as

    (select seqno,

    regexp_substr (text,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (Text,'>(.*?))

    regexp_substr (text,'<.+?>. *? ) (.*) $', 1, 1, null, 1). » <>'

    from the data

    Union of all the

    Select seqno,

    regexp_substr (String,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (String,'>(.*?))

    regexp_substr (String,'<.+?>. *? ) (.*) $', 1, 1, null, 1)

    Chopper

    where regexp_substr (string,'<(.*?)>', 1, 1, null, 1) is not null

    )

    Select '4f', seqno, '5f2a', '82', '5f20.

    of (seqno, lower (key) select key, value)

    Chopper

    )

    Pivot (max (value) for key in ('4f' as '4f', '5f20' as '5f20', '5f2a' as '5f2a', "82" as "82"))

    Concerning

    Etbin

  • Display an empty table row of data when the data is not present

    Hello

    Can u please tell me How to display a row of data empty table when the data is not present?

    in my case the column header appears as the code below.

    <? If: SD_Type_Data_ID3 = 'KH '? > <? If: SD_SpecialHandlingCode_SPHD_ID17 = 'H '? > <? for each: Supplemental_Data_S17? > <? end if? >

    can u pls help me.

    Thanks and greetings

    Sylvie Kumar

    You can insert a fictitious line. Have an if condition in it, to show only when condition does not satisfy.

  • Is it possible to display a single element on a treemap?

    Hello world

    I have a small question... (I use jdeveloper 12.1.2.0.0 and the database to oracle - HR)

    I have a treemap showing salary by departments, like this:

    -Administration, €50000

    -€40000

    -etc.

    When I select one or more departments, the treemap is updated to display only the selected departments but whenever I select one, it gives me: "no data displayed".

    I can't show a treemap with just a single value on it? It must have at least 2 elements?

    If I can do it, how can I to do?

    Thank you all and my best regards,

    Frederico.

    Hi Frederico,

    I can't see what you want to achieve. I don't think that this element has been designed for 1 element that has no children. I think the only way to display a single element adds a new level to the treeMap when you create (in this case, employees). Otherwise the treeMap would become redundant and without showing significant since information there is no data to compare and map.

    Concerning

  • Aggregate XML columns in a single row in Oracle

    Hello

    I have a table named TMTABLE HT and it followed columns:

    ID, NAME, TEXT
    1 orders XML1
    2 orders XML2
    3 orders for XML3

    where XML1, XML2 and XML3 follow:

    XML1:

    <? XML version = "1.0" encoding = "utf-8"? >
    The <>rowsets
    rowset <>
    < row >
    < Uom IN. = "" > < DB > 4500005146
    < Uom of line = "" > 10 < / Line >
    < / row >
    < / lines >
    < / sets of lines >

    XML2:

    <? XML version = "1.0" encoding = "utf-8"? >
    The <>rowsets
    rowset <>
    < row >
    < Uom IN. = "" > < DB > 4500005147
    < Uom of line = "" > 10 < / Line >
    < / row >
    < / lines >
    < / sets of lines >

    XML3:

    <? XML version = "1.0" encoding = "utf-8"? >
    The <>rowsets
    rowset <>
    < row >
    < Uom IN. = "" > < DB > 4500005148
    < Uom of line = "" > 10 < / Line >
    < / row >
    < / lines >
    < / sets of lines >

    Now, I want to query Oracle get this XML1, XML2 and XML3 in a single row, in the following format:

    <? XML version = "1.0" encoding = "utf-8"? >
    rowset <>
    < row >
    < Uom IN. = "" > < DB > 4500005146
    < Uom of line = "" > 10 < / Line >
    < / row >
    < row >
    < Uom IN. = "" > < DB > 4500005147
    < Uom of line = "" > 10 < / Line >
    < / row >
    < row >
    < Uom IN. = "" > < DB > 4500005148
    < Uom of line = "" > 10 < / Line >
    < / row >
    < / lines >

    I tried various queries, but not able to do this. Can someone help me please how to do in this regard?

    Hello

    Assuming that TEXT column of XMLType data type:

    SQL> select xmlelement("Rowset",
      2           xmlagg(x.column_value)
      3         ) as result
      4  from tmtable t
      5     , xmltable('/Rowsets/Rowset/Row' passing t.text) x
      6  ;
    
    RESULT
    --------------------------------------------------------------------------------
    
      4500005146
      10
    
    
      4500005147
      10
    
    
      4500005148
      10
    
    
     
    
  • How to display a single record.

    Hi gurus,

    Here my requirement is that I have 2 pages.
    first page seen numero_projet lov, create and tableRN.

    Once u Select the projectnumber and click on the button create, it of go to the second page, enter data and click on the submit button it'll insert in the database table and go to the pottion page and display the data in tableRN u what ever insert data (that part is over).

    but the problem is, in tableRN shows all the records (as posted earlier recordings)
    My requirement is to display only one record (click the button submit registration only).

    Please help me
    its very urgent.

    Thank you
    Sandrine.

    Published by: its urgent on January 3, 2012 22:52

    Monique,

    you want to display the inserted row...

    Kind regards
    GYAN
    www.gyanoracleapps.blogspot.com
    www.querenttech.com

  • Why RoboHelp does not display the contents of the data required of <>.chm when combined as aid in my application?

    Beautiful Hello all,
    Met someone said below show-stopper. Another GREAT MOMENT help required, will help me in a big way.
    Using Adobe RoboHelp, Version 10 and IE version 10.
    I n my local machine:
    1.) I finished my Design editor courtesy of technical writing
    2) generating chm file: display -> pods -> Single Source Layouts -> right click on Microsoft HTML Help -> Tagged defined as primary layout
    3) primary production layout: file -> create -> layout main page (Microsoft HTML Help)...
    4) look at a main Layout: file -> display -> main layout
    Everything works ODDLY far with the desired output (like Hide, back, refresh, home, Print, Options, content, Index, search, glossary and data content)

    Show stop, in my application server:

    5.), I copy the robohelp project any folder my local machine to my path of the application server

    6 .) My Application was developed in ASP .NET, Version 4.0.

    Linkhelp 7) has been created in this application in which here <>.chm file name has been linked in the code to read of the project RoboHelp Server folder------! SSL! ------ Microsoft_HTML_Help\

    8.), I connect to my application says-> click on the help page--> displays the required structure / keys as hide, back, refresh, home, Print, Options, content, Index, search, glossary

    (a.) by clicking on on the books or the topics listed under Cmaterial : you are prompted to with error message warning called " Navigation to the webpage was canceled. "What you can try: Retype the address "

    * This is a huge SHOW-STOPPER. I spent many hours on this subject, but unable to deciper with a solution at all) *

    (Note: am able to open and read the contents of the data required by clicking on the books or the topics listed under Cmaterials project RoboHelp Server folder------!) SSL! (- Microsoft_HTML_Help\ <>.chm)

    Why is the required data from the <>.chm content not displayed RoboHelp when combined as a help in my application?

    Cheese - Vipin ndoye

    If you looked at the error message and searched the forum, you will find the answer, since it is a problem that began in 2005. You must run no CHM files from a server and can not without editing the registry of users. See the next page.

    http://www.Grainge.org/pages/authoring/chm_mspatch/896358.htm

    Throughout your questions were based on webhelp, why all of a sudden we're going CHMS.

    See previews on my site for the correct form of aid to be used in different scenarios.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • 10g TRANSPOSE a single ROW/columns in ROWS/columns

    Hello
    I have a query that returns a single row with 4 columns

    I need output in a single line by column

    Here is a table of test;
    CREATE TABLE TEST
    (
    SEQ VARCHAR2(10),
    FT DATE,
    CD DATE,
    DELTA NUMBER(10)
    );
    INSERT INTO TEST (SEQ, FT, CD, DELTA) VALUES ('1111',SYSDATE-1,SYSDATE,1);
    
    SET NUM 999;
    
    SELECT SEQ, FT, CD, DELTA FROM TEST;
    
    DROP TABLE TEST;
    the output current is;
    SEQ        FT                        CD                        DELTA                  
    ---------- ------------------------- ------------------------- ---------------------- 
    1111       09-AUG-10                 10-AUG-10                 1                      
    and want;
    SEQ       1111
    FT        09-AUG-10
    CD        10-AUG-10
    DELTA     1
    SQL> ed
    Wrote file afiedt.buf
    
      1   select regexp_substr(str,'[^,]+',1,level)
      2   from
      3   (
      4   SELECT SEQ||','|| FT||','||CD||','||DELTA  str FROM TEST25
      5   )
      6*  connect by level <= length(str) - length(replace(str,','))+1
    SQL> /
    
    REGEXP_SUBSTR(STR,'[^,]+',1,LEVEL)
    -----------------------------------------------------------------------
    1111
    09-AUG-10
    10-AUG-10
    1
    
  • How can I display the time of the data stored in a file using labview?

    How can I display the time of the data stored in a file using labview?

    Hi Matt,

    I think that we will need a little more information as to how you capture the data, what data you capture, etc.

    If you capture a waveform, is to extract the time data waveform which includes the t0 and dt values, so you can understand the time stamp of a specific data point as in the image below.

  • The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    Can someone bring me (Labview is new to me) in the right direction?

    John

    See attached the amendment. I made a change to my suggestions and possess the top-level VI for the null refnum. See if it makes sense.

Maybe you are looking for