Repeat the data in a table on each page

Hello

I develop a PDF report that is in the following format

Book category code
Col1 Col2 COL3 COL4 Col5
<? for-each: G-1? > <? BookCategoryCode? >
<? for-each: G_2? > <? Col1Data? ><? Col2Data? ><? Col3Data? ><? Col4Data? ><? Col5Data? > <? end foreach? >
<? end foreach? >

I want to achieve this

(1) repeat the header on every page (the blue lines) is not a problem.

(2) category code book on each page on the top of repeat only once. Col1 to 5 are BookCategoryCode children elements. Can't do it in RTF model.

(3) whenever the BookCategoryCode changes, the page should break. Partially achieved. Although it sounds simple enough, it allows formatting go haywire.

PS: The implementation of repeat groups is just indicative to give an idea of the Group and is not actually implemented this way

Thanks in advance

SID

Too bad. I have it. It turns out that the creation of a new model did the trick. Quite in the same way that I used in the previous model in the new. Did not in the past but that has happened in the new.

Tags: Business Intelligence

Similar Questions

  • Windows Media Player 11 Date added function - please stop repeating the date for EACH file.

    I have been using Media Player 9, decided to upgrade to Windows Media Player 11, and the only thing I can not stand on Player 11 is how it sorts Date added media files.  In Player 9 when I chose the column Date added, the program would list all the files on a given under a SINGLE date.  With Windows Media Player 11 it lists EACH file with a date so that instead of see Tuesday, December 14, 2010 once and then listing all of the files under it, I see Tuesday, December 14, 2010 about twenty times.  I download podcasts once a week and dump it on my phone, but it's a worry now.  Is it possible to stop Windows Media Player 11 to repeat the date again and again and force him to the date that the list only once?  Think back to Player 9.  Alex

    Hi Alex103,

    It's design in Windows media player 11 and it is also included in Windows Media player 12.

    However, you can uncheck this option, follow the steps below:

    a. open windows Media player

    b. right-click on one of the sorted column

    c. click Choose column

    d. uncheck data added

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Delete the data in partitioned tables

    Hello

    Oracle 11.2.0.3.0 version, running on Linux Enterprise.

    I need to remove all the data from two tables (several 100 million lines each) that are partitioned.

    (1) table 1 is a partition table have varied to a DATE column

    (2) Table2 is a partition of reference table; partitioning is referenced on a relationship of foreign key to Table1 (column: key Table1.Primary)

    As I have no need for data, but want to keep the structure of the table, I would ideally like to delete partitions at the same time that the deletion of the data, so that the 2 tables partitioned and empty.

    Additionally, Table1 has some partitioned index I would be rebuilt as an index unpartitioned (given that Table1 will be empty).

    I thought I would start by removing all partitions of Table1 (via "ALTER TABLE DROP PARTITION nom_partition Table1"), but when the script came to the last partition, I got this error message:

    ORA-14083: cannot delete the only one partition of a partitioned table

    ORA-06512: at "SYS." DROP_PARTITIONS', line 46

    If someone could advise as to the best approach to what I want to achieve with regard to the two tables? Two tables down and recreate them then without partitions would be the easiest way?

    Thanks in advance for any guidance.

    If someone could advise as to the best approach to what I want to achieve with regard to the two tables? Two tables down and recreate them then without partitions would be the easiest way?

    Yes - delete the tables and re-create them.

    As says the exception that you cannot delete the last partition. A table is partitioned either or it is not.

    There was no interest at all to use DBMS_REDEFINITION to redefine tables because you do not want the data anyway.

  • concatenate the data in 2 tables in a third table as well as in CONCATENATE strings

    Hello. as the title says, I wish to only concatenate the data in 2 tables in a similar third table that concatenate strings don't. All tables should be 1 d. For example, suppose that there is 1 table with the following: 1. 2; 3; 4 and table 2 with:; b; c; d. I would like a table 3 either 1 a, 2 b, 3 c, 4 d. Now this could be done easily with above mentioned concatenate strings, then table construction. but table 1 and 2 have something like 150 items. Rather painful. Any ideas?

    Hold arrays of two strings in a loop for example, concatentate the strings inside the loop and run the result réécrirait array3.

    Autoindexing manages table manipulations.

    MIke...

  • Select the data in a table and update in another table

    Dear experts,

    create the table TB_ENCRYPT

    (

    Identification number,

    Varchar2 (200) KEY

    );

    INSERT INTO TB_ENCRYPT VALUES(1,'HJUVHDUIFBSDGVU');

    SELECT * FROM TB_ENCRYPT;

    1 HJUVHDUIFBSDGVU

    create TABLE users)

    username, NUMBER of

    password VARCHAR2 (200)

    );

    Insert users

    values (1, 123 # "")

    Insert users

    values (2, 456 #')

    Select * from users;

    1 123 #.

    # 2 456

    I want to select the data KEY for table TB_ENCRYPT column and update in the column of tables for the respective key user password

    TB_ENCRYPT table contains only a single key value. Comparing this key, I want to update the old value of the key to the new value.

    For encryption and decryption I followed the java class method.no is worried about that.

    create or replace

    PACKAGE PCK_ENC AUTHID CURRENT_USER AS

    FUNCTION DECRYPT (VARCHAR arg0, arg1 VARCHAR) AS VARCHAR BACK LANGUAGE JAVA NAME 'Encrclass.decrypt (java.lang.String, java.lang.String) return java.lang.String ';

    FUNCTION ENCRYPT (VARCHAR arg0, arg1 VARCHAR) AS VARCHAR BACK LANGUAGE JAVA NAME 'Encrclass.encrypt (java.lang.String, java.lang.String) return java.lang.String ';

    END;

    SELECT PCK_ENC. ENCRYPT('1234','HJUVHDUIFBSDGVU') FROM DUAL;

    HERE,

    1234 - is the password of the users table column data

    HJUVHDUIFBSDGVU - represents the key of table TB_ENCRYPT column data.

    Comparing this key, I want to update the old value of the key to the new value.

    I tried with this method

    declare

    cursor c1 is

    Select the key

    of TB_ENCRYPT

    where id = 1

    update the id;

    Start

    for c1_rec looping c1

    update users

    password is PCK_ENC. Encrypt (Password, Key)

    the location being c1;

    commit;

    end loop;

    end;

    /

    Help, please

    You can use the MERGE statement.

    merge into users
    using tb_encrypt
       on (id = userid)
      when matched then
          update set password = PCK_ENC.ENCRYPT(password,key);
    

    And why you encrypt your password. This isn't a good idea. Just password hash.

  • Size of the data in a table and the size of the table

    I am trying to determine the size of the data in a table and also the overall table size. I use the following query:

    SELECT BOTTOM (a.owner) as owner,
    LOWER (a.table_name) AS table_name,
    a.tablespace_name,
    a.Num_Rows,
    ROUND ((a.blocks * 8 / 1024)) AS size_mb,
    a.Blocks,
    a.Blocks * 8 Blocks_Kilo_Byte.
    a.PCT_FREE,
    a.compression,
    a.Logging,
    b.bytes / 1024 / 1024
    From all_tables a, dba_segments b
    WHERE the a.owner AS SUPERIOR ("USER_TEST")
    AND a.table_name = "X_TEST_TABLE."
    AND b.segment_name = a.table_name
    AND b.owner = a.owner
    ORDER BY 1, 2;

    Is this the right way to go about finding the size of the data in a table? If this isn't the case, please give your suggestions.

    BTW, this in a 10g version.

    You probably want to use the DBMS_SPACE package. In particular, the procedures SPACE_USAGE and UNUSED_SPACE to get an accurate account of the use of space in a table. Your application may give you a relatively accurate estimate if the optimizer on your table's statistics are reasonably accurate estimates. But there is no guarantee that the optimizer statistics are accurate.

    If you want just an approximate answer and you're comfortable that your statistics are accurate, this query may be close enough. If you want a specific response, however, use the DBMS_SPACE package.

    Justin

  • Kindly help me with the request to find the data in two tables

    Hello Guru

    Kindly help me to recover the data from two tables-

    BASEBALL
    LEGAL_ENT_ID (PK)
    GAME_ID (FK)
    LEGAL_ENT_NM
    INACTIVE_DT
    DATE OF INS_TS
    INS_LOGIN
    DATE OF UPD_TS
    UPD_LOGIN


    FOOTBALL
    GAME_ID (PK)
    BRKR_NM,
    BRKR_ISR_ID
    BROKER_SYMBOL
    INACTIVE_DT
    BRKR_SWIFT_FLG
    BRKR_INTERNAL_FLG
    BRKR_CATEGORY
    UPD_TS
    MINORITY_FLG
    BROKER_TYP
    STATUS
    INS_TS
    INS_LOGIN
    UPD_LOGIN
    APP_USER
    ACTIVE_FLG

    and if I want fecth data from these two tables according to the following condition then it is fine with the suite of applications.

    1 select distinct values only table of BASEBALL by using the following query.

    SELECT DISTINCT B.GAME_ID as 'CLEARING GAME ID', B.BRKR_NM "NAME of THE GAME of COMPENSATION" OF BASEBALL A, FOOTBALL B WHERE A.BROKER_RELATION_CD IN ('FUTBRKR1', 'FUTBRKR2') AND A.GAME_ID = B.GAME_ID

    2 Select all the table BRKR_NM OF FOOTBALL as well by using the query - next

    SELECT GAME_ID "RUNNING GAME ID", 'NAME OF THE GAME OF EXECUTION' BRKR_NM SOCCER

    Now, my query is that--

    I want a query that gives me a combination of above mentioned queries... and if I tried to use Union or Union All, then she is not giving me the result as expected.

    I like the result to look like who has a few conditions such as -
    1 - the records in the table Football are high vs Baseball table because there is no condition to filter the records of the Football.
    2 - football is a superset of records and Baseball is a subset.
    3 - COMPENSATION NOM_JEU and RUNNING NOM_JEU may return the same values as well.

    I want the result to be in the following form-

    EXECUTION ID GAME | NAME OF THE GAME TO RUN. COMPENSATION ID GAME | DELETE THE NAME OF THE GAME.
    2123 test1 2345 test5
    2456 test10 2456 test10


    Thanks in advance. Kindly help me.

    Published by: user555994 on January 4, 2011 23:48

    In the output you want.
    All the values of baseball;
    Values of football that are matched;
    But on what condition you want to match?

  • Inventory of the data of all Tables in a database

    Hello
    We do the analysis of the existing data base (Oracle 10 g) and I want to prepare an inventory of the data of all tables in a database that is

    1. total number of records in a table
    2. total number of records that have null values in a column
    3. total number of standalone tables IE have no connection with other tables
    etc...

    Please let me know if there are tools or query that can do these tasks.

    Thank you and best regards,
    Lokesh
    select owner "Owner",
    table_name "Table_Name",
    column_name "Column_Name",
    initcap(data_type) ||
    decode(data_type,
    'CHAR', '('|| char_length ||')',
    'VARCHAR', '('|| char_length ||')',
    'VARCHAR2', '('|| char_length ||')',
    'NCHAR', '('|| char_length ||')',
    'NVARCHAR', '('|| char_length ||')',
    'NVARCHAR2', '('|| char_length ||')',
    'NUMBER', '('||
    nvl(data_precision,data_length)||
    decode(data_scale,null,null,
    ','||data_scale)||')',
    null) "Type",
    nullable "Nullable",
    decode(to_char(num_distinct),
    0,'No',
    'YES') "Have Data",
    owner sdev_link_owner,
    table_name sdev_link_name,
    'TABLE' sdev_link_type
    from sys.dba_tab_columns
    where (:OWNER is null or instr(owner,upper(:OWNER)) > 0)
    and (:TABLE_NAME is null or
    instr(upper(table_name),upper(:TABLE_NAME)) > 0)
    and (:COLUMN_NAME is null or
    instr(upper(column_name),upper(:COLUMN_NAME)) > 0)
    and substr(table_name,1,4) != 'BIN$'
    and substr(table_name,1,3) != 'DR$'
    order by owner, table_name, column_id
    

    I added a new column with an alias "get data". This new column will display "NO" is the entire column is zero and 'YES' if there is even a value not null in the column. But caution is that statistics table must be updated to get the correct results.

    Thus, it may be useful to gather current statistics before executing the query.

    Exec dbms_stats.gather_schema_stats or even dbms_stats.gather_database_stats.

  • "shuffle" the data in a table...

    Hello world...

    Pleade help me solve this problem.

    Is it possible to combine the data in a table?
    Let say if i have a table with following data..
    
    PERSON_ID    PERSON_LAST_NAME        PERSON_FIRST_NAME        DOB
    
       1             Test1                   Test1              01/01/1970
       2             Test2                   Test2              01/01/1971
       3             Test3                   Test3              01/01/1972
       4             Test4                   Test4              01/01/1973
       5             Test5                   Test5              01/01/1974
    
    I am trying to shuffle the above data so that no person will have their
    "real last,first and dob match".
    
    I need the output like this or in any combinations so that no one can
    identify a person actual "last name,first name and dob"
    
    
    PERSON_ID    PERSON_LAST_NAME        PERSON_FIRST_NAME        DOB
    
       1             Test1                   Test2              01/01/1974
       2             Test2                   Test4              01/01/1975
       3             Test3                   Test5              01/01/1971
       4             Test4                   Test3              01/01/1972
       5             Test5                   Test1              01/01/1973
    
    please help me to solve this issue. Thanks in advance

    Hello

    You can do something like this:

    WITH     got_nums     AS
    (
         SELECT     person_id
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS person_id_num
         ,     person_last_name
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS person_last_name_num
         ,     person_first_name
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS person_first_name_num
         ,     dob
         ,     ROW_NUMBER () OVER (ORDER BY dbms_random.value)          AS dob_num
         FROM     table_x
    --     WHERE     ...     -- Any filtering goes here
    )
    SELECT     id.person_id
    ,     ln.person_last_name
    ,     fn.person_first_name
    ,     db.dob
    FROM     got_nums     id
    JOIN     got_nums     ln     ON id.person_id_num     = ln.person_last_name_num
    JOIN     got_nums     fn     ON id.person_id_num     = fn.person_first_name_num
    JOIN     got_nums     db     ON id.person_id_num     = db.dob_num
    ;
    

    This does not guarantee that no column of the same original line will be on the same line of output. I don't think that you really want it.

  • Save the data in another table

    Hello, I would like someone to help me with a problem I have in my program.
    What makes the program is, for each iteration, take the data in 'table iter' and recorded in "table of output." But in the second iteration instead of storing the results of the first iteration offer me '1' in the first five lines.

    How can I solve this problem?

    Thank you, Jaime

    Hi pescajaime,

    Please make the change mentioned in the attachments.

    Thank you and best regards,

    srikrishnaNF

  • BI Publisher - how to display the number of lines displayed at the bottom of the table on each page

    Hello

    We are the conversion reports Actuate BEEP and not able to understand how to view "Accum.Total = < n >" at the bottom of each page. In the attached report to operate it, "Accum.Total = < n >" must be displayed at the bottom of each page where < n > is the number of lines displayed on the current page and previous page.

    For example, if there are 10 rows in the result set, if the 1st page displays 4 rows, 2nd page displays 3 rows and 3rd page is 3 lines and then Accum.Total = 4 on page 1, Accum.Total = 7 on page 2 and Accum.Total = 10 on page 3.

    Note that we use the property table "allow the lines to break Pages = False" as we do not want a specific line can be split across pages.

    I enclose a sample of report actuate, rtf, BEEP and XML report for testing file.

    Approach used so far-

    1 > I tried to put the counter in the footer, but it seems that only the fields that come directly from the IC can be used on the header/footer. No matter what form text field or variables defined in the report.

    2 > I used approach given in the link below. Using this approach, I am able to view a coded value hard at the bottom of every page (just below the table) but his does not work for the variable (in my case the counter c1).

    https://blogs.oracle.com/xmlpublisher/entry/continued

    3 > on Google, I found a few articles on the page break conditionally as display only certain numbers on a page or the page by section break but in our case, its dynamics and its number of lines to display on a page is driven by data, so I could not think of a certain condition to use in "Condition." ": If" for use as a page break.

    Thank you

    Richa

    Watch see the-Report

    http://docs.Oracle.com/CD/E28280_01/bi.1111/e22254/create_rtf_tmpl.htm#do_bf_cf

    Download the https://blogs.oracle.com/xmlpublisher/entry/continued sample

    Add

    <>

    name = "contd_footer".

    format = "99G999G999" / >

    After the field "Footer."

    If need to use a footer to display the meter then and sous-modèle with code above and call it in footer

  • How to find the date of a table Max

    Hello world

    I have two tables in the database. I want to find the maximum routine for a case_id of the lock_date date between jan 20 to January 29, 2012.

    But I don't get real output (output routine_date should be 'January 28, 2012' but I m getting "January 31, 2012" ")

    Can someone help me where I made the mistake


    Master
    case_id lock_date
    101 23 January 2012
    101 January 24, 2012
    102 27 January 2012
    102 January 29, 2012
    101 30 January 2012
    101 January 29, 2012

    Routine (for current work)
    case_id routine_date
    101 23 January 2012
    103 28 January 2012
    102 21 January 2012
    102 January 29, 2012
    101 21 January 2012
    101 28 January 2012
    101 31 January 2012


    Select m.case_id, r.routine_date from master m, systematic r,
    (case_id, max (routine_date) of the systematic group by selecting case_id) rr

    where m.case_id = r.case_id
    and m.case_id = rr.case_id
    and r.routine_date = rr.routine_date

    Hello

    Here are average dradles:

    WITH     universe  AS
    (
         SELECT    m.case_id
         ,        r.routine_date
         ,       MAX (r.routine_date)     OVER (PARTITION BY  m.case_id)
                         AS max_routine_date
         FROM       master       m
         ,        routine       r
         WHERE        m.case_id       = r.case_id
         AND       m.lock_date       >= TO_DATE ('20-Jan-2012', 'DD-Mon-YYYY')
         AND       m.lock_date       <  TO_DATE ('30-Jan-2012', 'DD-Mon-YYYY')
    )
    SELECT       case_id
    ,       routine_date
    FROM       universe
    WHERE       routine_date     = max_routine_date
    ;
    

    You only want to view rowss whose routine_date is the maximum date in a subset. First get this subset
    If the universe of data that you are interested in is just the period from January 20 to January 29, then you can start by getting all the data in this range. This is what the above subquery universe.
    Now, you want to see only the rows where routine_date is the max_routine_date within this universe, for each case_id. You can use the analytic MAX function to find out what this max_routine_date.
    Published by: Frank Kulash, March 2, 2013 11:59

  • Is mapping dimension AWM - possible to load the data in two tables of entry?

    Hi all

    I have two tables ProductFamily (parent level) and products (child level).

    I want to load a dimension of those tables where the parent-child relationships are maintained (I use AWM).

    I created a map with these two entry tables, but the loaded data has no relationship.
    So, how do I do that? Is it possible to load dimensions where different levels get data from multiple tables?
    Is any type of Carpenter available in AWM?

    Thank you

    ------------------------

    A few Notes:

    -I don't want to use OWB here that my data are clean
    -In AWM, when I loaded the data in a single view that contains two tables of input data, it worked fine. But it's my worst case option.

    You must use Dimension option in snowflake in the mapping screen of size for the Product Dimension (as opposed to the default style mapping - star schema dimension).

    This will modify map entries to include a separate parent for each level of hierarchy level / that is to say, for each level of hierarchy / (unless a higher level of the hierarchy), you must specify the parent level key in addition to the key current level, code/name/description/other attributes etc.

    You can make the mapping or... use the icons at the top of the map screen.
    mode drag/drop by dragging the relational column on dimension - level/hierarchy/attribute model
    -or-
    the table expression mapping mode that gives the same effect... by dragging a column on an attribute defined in the .

    . the format of .

    HTH
    Shankar

    Note1: Complete the mapping of a sudden... B & w switching mapping modes cause the mappings to reset.
    NOTE2: assumes that your data are correct foreign key table parent level: ProductFamily exists in the child level table: products.

  • FFT of the data in a table

    I would like to perform an FFT on a digital signal periodic sampling.  For the moment, my signal is stored as an array of 16-bit integers (0-65534) item 8192.

    I tried to connect this table directly at the entrance of the fft.vi X, but the data that comes out of the FFT {X} seem little logic (table length 8192 with spikes, the beginning and the end of it).

    Any advice would be much appreciated.

    Okay, that's better

    The reason why you don't see the desired result of FFT is easy:

    (a) you have a shift of 8000 to your signal. He is peaking at 0.

    (b) your signal includes approximately 2.6 times. Given that the FFT concatenates virtually your signal from - inf to + inf in the time domain, your signal a 'jump' inside that create spikes in your field of frequency 'somewhere '. To prevent this, you can either use windowing or cut the signal of your time domain to contain a whole number of periods (which would then along 6400 samples).

    hope this helps,

    Norbert

  • How to get the default path of the data of a table space file

    I used below the sql statement to create a table space:

    CREATE A TABLESPACE DATAFILE AAA BBB SIZE 10 M AUTOEXTEND OFF...

    Notice, I do not give a full path instead of a file name, and then ask questions relevant to tables

    get the full path of the data file, assume that it's path below:

    d:\oracle\...\BBB

    So I don't think that there is a default path that oracle can use it to create the data file. My question

    is how to get this default path before creating a table space.

    Thank you very much.

    Hello

    I did similar simulations for you, then it could be seen easily:

    SQL > Show parameter db_create_file_dest

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_create_file_dest chain

    SQL > SELECT NAME, VALUE OF V$ PARAMETER

    2 where lower (name) = "db_create_file_dest;

    NAME

    --------------------------------------------------------------------------------

    VALUE

    --------------------------------------------------------------------------------

    db_create_file_dest

    It has the value NULL. Then where my datafile is going?

    SQL > create tablespace TEST datafile 'test01.dbf' size 10 M;

    Created tablespace.

    SQL > select file_name

    2 of dba_data_files

    3 where nom_tablespace = 'TEST ';

    FILE_NAME

    --------------------------------------------------------------------------------

    /U01/app/Oracle/product/12.1.0/Db_1/DBS/Test01.dbf

    When you check the alert logs, it will not show you the location of the data file. It will tell you what exactly you ran.

    ..

    ..

    Completed: drop tablespace test whose content and data files

    create tablespace datafile 'test01.dbf' size 10 M TEST

    Completed: create tablespace TEST datafile 'test01.dbf' size 10 M

    ..

    ..

    You can not SQL user * more? Well, I would say that, when you run the CREATE TABLESPACE command, is where you run the command:

    SQL > select file_name

    2 of dba_data_files

    3 where nom_tablespace = 'TEST ';

    FILE_NAME

    --------------------------------------------------------------------------------

    /U01/app/Oracle/product/12.1.0/Db_1/DBS/Test01.dbf


    So, you should get the location of your data file. Alternatively, you can run the query in the parameter $ v so that you know your default data file location.

    I hope this helps.

    Thank you.

    Kind regards

    Gaetan

Maybe you are looking for

  • Re: 1670 - back to 98SE - Satellite Internet connection issues

    I used W2K on my 1670 for quite awhile, but it was slowish, so I decided to put in the recovery disks and return 98SE. As the laptop is quite old and has no ethernet as the material, I also installed a PC Ethernet Card Bus line and this has been prop

  • Toshiba Remote app on iPhone - a few thing that bothers me

    Hello world I just tested the Toshiba Remote app for iPhone (to control my TV Toshiba (40TL938F) 40TL938.There are a few thing that bothers me, and I'd be happy to help toshiba improve this application.Do you know who is responsible for the app? A fe

  • Skype is not automatically connect

    I ticked the box requesting Skye to connect automatically when I log on my computer, but he refuses to do. I need to click on the Skye to connect that even if it is slow then actually works. Can it be easily corrected?

  • Difference between Macbook Pro MD101ZP/A and MD101LL/A

    Hi everyone, I'm planning to buy a Macbook Pro of the retina no, but I can't find the difference between the two model.hope someone from the community have an answer. Thank you

  • What is eval code mean?

    Hi there... I just came back to the world of AS400, I'm really lost in the coding :-(    I saw eval of coding RPG... I wonder what that means?  FieldA to FieldB average MOVEMENT is?              EVAL FieldB FieldB I tried to move QDATE in my field ch