Dynamic generation of query - ' sign

Hello

I'm trying to build a dynamic query to obtain the product report and the employee who assigned. I write code below:

CREATE OR place the SALE_EmpORT PROCEDURE

IS

T_Products. ARRAY TYPE IS VARCHAR2 (100);

v_ProductList t_Products: = t_Products();

T_Emps. ARRAY TYPE IS VARCHAR2 (100);

v_EmpIDs t_Emps: = t_Emps();

LONG V_SQL;

-VARCHAR2 (9000);

BEGIN

SELECT DISTINCT product BULK COLLECT INTO v_ProductList

OF Emp_Products;

SELECT DISTINCT Emp_Id BULK COLLECT INTO v_EmpIDs

OF Emp_Products;

I'm IN 1.v_ProductList.COUNT LOOP

IF i = 1 THEN

V_SQL: = 'SELECT'. v_ProductList (i) | «, » ;

ON THE OTHER

V_SQL: = V_SQL | 'UNION SELECT' | v_ProductList (i) | «, » ;

END IF;

FOR j IN 1.v_EmpIDs.COUNT LOOP

IF j < v_EmpIDs.COUNT THEN

V_SQL: = V_SQL | "DECODE (product, ' | v_ProductList (i) |', DECODE (Emp_Id, ' | v_EmpIDs (j) |)) ((', NULL), NULL) AS ' | v_EmpIDs (j) | «, » ;

ELSIF j = v_EmpIDs.COUNT THEN

V_SQL: = V_SQL | "DECODE (product, ' | v_ProductList (i) |', DECODE (Emp_Id, ' | v_EmpIDs (j) |)) ((', NULL), NULL) AS ' | v_EmpIDs (j);

END IF;

END LOOP;

V_SQL: = V_SQL | ' FROM Emp_Products';

END LOOP;

INSERT INTO T_LOG_SQLTEXT VALUES (V_SQL);

COMMIT;

END SALE_EmpORT;

/

In this code, I am unable to handle situation if product contains a single quote, for example

DOWN

CHILD HEALTH

THE WOMEN'S HEALTH

How to handle this situation in order to run this dynamic query.

Kind regards

Karki

You need to replace a single quote with two single quotes:

CREATE OR REPLACE PROCEDURE Sale_Report

IS

TYPE T_Products IS TABLE OF VARCHAR2 (100);

V_Productlist T_Products: = T_Products ();

TYPE T_Emps IS TABLE OF VARCHAR2 (100);

V_Empids T_Emps: = T_Emps ();

V_Sql CLOB;

FUNCTION Qte_Product (NUMBER Ix)

RETURN VARCHAR2

IS

BEGIN

RETURN to REPLACE (V_Productlist (Ix), "',"');

END;

BEGIN

SELECT DISTINCT products

BULK COLLECT INTO V_Productlist

OF Emp_Products;

SELECT DISTINCT Emp_Id

BULK COLLECT INTO V_Empids

OF Emp_Products;

FOR I IN 1... V_Productlist.count

LOOP

IF I = 1

THEN

V_Sql: = 'SELECT ' | Qte_Product (I) | ', ';

ON THE OTHER

V_Sql: = V_Sql | 'UNION SELECT | Qte_Product (I) | ', ';

END IF;

FOR J FROM 1... V_Empids.count

LOOP

IF J<>

THEN

V_Sql: = V_Sql

|| «DECODE (product, ' |)» Qte_Product (I)

|| ', DECODE (Emp_Id, ' |) V_Empids (J)

|| (Target, NULL), NULL) AS ' | V_Empids (J)

|| ',';

ELSIF J = V_Empids.COUNT

THEN

V_Sql: = V_Sql

|| «DECODE (product, ' |)» Qte_Product (I)

|| ', DECODE (Emp_Id, ' |) V_Empids (J)

|| (Target, NULL), NULL) AS ' | V_Empids (J);

END IF;

END LOOP;

V_Sql: = V_Sql | "OF Emp_Products."

END LOOP;

INSERT INTO T_Log_Sqltext

VALUES (V_Sql);

COMMIT;

END Sale_Report;

/

Tags: Database

Similar Questions

  • procedure that will dynamically build the query data and table Medallion

    Hi people,

    I write a procedure that dynamically build the query data and insert in the table "dq_summary".
    enforcement procedure with success and data not inserted into the table 'dq_summary '.

    I have thin problem in code attached below
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOR rep IN cur_di_attr
          LOOP
            dbms_output.put_line ('d: ');   
            
            BEGIN
              EXECUTE IMMEDIATE 'SELECT table_name FROM ' || sum_tab || ' WHERE id = ' || rep.attribute_id INTO rep_tab;
              dbms_output.put_line ('rep_tab: '||rep_tab);
              run_query := run_query || ' ' || rep_tab || ' WHERE ' || nvl(wh_cond, '1 = 1');
              EXECUTE IMMEDIATE run_query INTO end_rslt;
            
              EXECUTE IMMEDIATE 'UPDATE dq_summary SET ' || prop || '_' || p_code || ' = ' || end_rslt || ' WHERE attribute_id = ' || rep.attribute_id;
              dbms_output.put_line ('e: ');      
              dbms_output.put_line ('rep_tab: '||rep_tab);
              dbms_output.put_line ('end_rslt: '||end_rslt);
              dbms_output.put_line ('f: '); 
            EXCEPTION
              WHEN no_data_found THEN
                rep_tab := '';
                sum_tab := '';
            END;  
          
          END LOOP;    
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    but in the procedure below must be run several times
    create or replace
    PROCEDURE DQ_REPORT_PROC
    AS
      prop                              di_proposition.pro_name%type;
      col_var                           VARCHAR2(100);
      p_code                            dq_parameter.para_code%type;
      sum_tab                           di_proposition.summary_table%type;
      run_query                         dq_parameter.run_query%type;
      wh_cond                           dq_parameter.where_cond%type;
      end_rslt                          VARCHAR2(20);
      rep_tab                           VARCHAR2(50);
      v_error_msg                       VARCHAR2(200);   
      v_error_code                      VARCHAR2(200);  
      v_object_name                     VARCHAR2(50)                          DEFAULT 'DQ_REPORT_PROC';
      v_iss_no                          VARCHAR2(20)                          DEFAULT NULL;
      CURSOR cur_di_prop IS 
        SELECT upper(replace(replace(pro_name, ' '),'-')) pro_name
          FROM di_proposition;
      
      CURSOR cur_di_para IS
        SELECT upper(para_code) para_code, run_query, where_cond
          FROM dq_parameter;
      
      CURSOR cur_di_attr IS 
        SELECT attribute_id
          FROM dq_summary;
    BEGIN
      
      DELETE FROM dq_summary;
    
      INSERT INTO dq_summary (attribute_id, entity_name, attribute_name, data_champ) 
        SELECT a.attribute_id, b.entity_name, a.attribute_name, a.data_champ
          FROM di_attribute_master a, di_entity_master b
         WHERE a.entity_id = b.entity_id;
    
      FOR c_prop IN cur_di_prop
      LOOP
        prop := c_prop.pro_name;
        
        BEGIN
          SELECT distinct SUBSTR(column_name, 1, INSTR(column_name, '_')-1), summary_table
            INTO col_var, sum_tab
            FROM user_tab_cols a, di_proposition b
           WHERE a.table_name = 'DQ_SUMMARY'
             AND upper(replace(replace(b.pro_name, ' '),'-')) = prop
             AND SUBSTR(a.column_name, 1, INSTR(a.column_name, '_')-1) = upper(replace(replace(b.pro_name, ' '),'-'))
             AND upper(b.status) = 'Y';
             
             dbms_output.put_line ('col_var: '||col_var);
             dbms_output.put_line ('sum_tab: '||sum_tab);
             
        EXCEPTION
          WHEN no_data_found THEN
            col_var := '';
            sum_tab := '';
        END;
    
        dbms_output.put_line ('a: ');
    
        FOR para IN cur_di_para
        LOOP
         dbms_output.put_line ('b: ');
          p_code := para.para_code;
          run_query := para.run_query;
          wh_cond := para.where_cond;
          dbms_output.put_line ('c: ');
          FOR rep IN cur_di_attr
          LOOP
            dbms_output.put_line ('d: ');   
            
            BEGIN
              EXECUTE IMMEDIATE 'SELECT table_name FROM ' || sum_tab || ' WHERE id = ' || rep.attribute_id INTO rep_tab;
              dbms_output.put_line ('rep_tab: '||rep_tab);
              run_query := run_query || ' ' || rep_tab || ' WHERE ' || nvl(wh_cond, '1 = 1');
              EXECUTE IMMEDIATE run_query INTO end_rslt;
            
              EXECUTE IMMEDIATE 'UPDATE dq_summary SET ' || prop || '_' || p_code || ' = ' || end_rslt || ' WHERE attribute_id = ' || rep.attribute_id;
              dbms_output.put_line ('e: ');      
              dbms_output.put_line ('rep_tab: '||rep_tab);
              dbms_output.put_line ('end_rslt: '||end_rslt);
              dbms_output.put_line ('f: '); 
            EXCEPTION
              WHEN no_data_found THEN
                rep_tab := '';
                sum_tab := '';
            END;  
          
          END LOOP;    
        END LOOP;
      END LOOP; 
      COMMIT;   
    EXCEPTION
          WHEN OTHERS THEN
             v_error_msg   := SQLERRM;
             v_error_code  := SQLCODE;  
             TRACKER_LOG_EXECEPTION(v_iss_no, v_object_name, CURRENT_TIMESTAMP, v_error_msg, v_error_code);
          COMMIT;        
      
    END DQ_REPORT_PROC;
    Published by: BluShadow on February 7, 2012 12:04
    addition of {noformat}
    {noformat} tags.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    903830 wrote:

    I write a procedure that dynamically build the query data and insert in the table "dq_summary".
    enforcement procedure with success and data not inserted into the table 'dq_summary '.

    I'm sorry. But there is no kind of say that way. The code is undesirable. The approach is wrong. This will not happen. This will cause the fragmentation of memory in the shared Pool. This will lead to another session being impossible to analyze the sliders because of the fragmented memory.

    Not only that. The underlying data model is questionable.

    All this seems a candidate perfect as an example of how NOT to design and code and use Oracle.

  • Dynamic PL SQL query

    Hello

    I want to run and store the results of a dynamic sql query in a strored procedure.

    I get the following variables of the user running: v_column_names, v_table_name, v_col, v_value

    The query will be like:

    v_query: = 'SELECT'. v_column_names | ' A ' | v_table_name | ' WHERE ' | v_col |' = ' | v_value;

    for example v_column_names: = 'ACCOUNT_NUM, SYSTEM_ID, ENTITY_ID ';

    v_table_name: = 'ACCOUNT '.

    v_col: = 'COUNTRY_CODE ';

    v_value: = "USA";

    Here is what I tried

    DECLARE

    v_column_names VARCHAR (200): = 'ENTITY_ID, SYSTEM_ID, ACCOUNT_NUM;

    v_table_name VARCHAR (200): = 'ACCOUNT '.

    v_col VARCHAR (200): = 'COUNTRY_CODE ';

    v_value VARCHAR (200): = "'USA"';

    TYPE column_record () IS RENDERING

    VARCHAR2 (200) C1: = null;

    C2 VARCHAR2 (200): = null;

    C3 VARCHAR2 (200): = null

    );

    TYPE st_table IS TABLE OF column_record INDEX DIRECTORY.

    pk_table st_table;

    NUMBER of v1: = 1;

    BEGIN

    v_select: = 'SELECT'. v_column_names | ' A ' | v_table_name | ' WHERE ' | v_col |' = ' | v_value;

    EXECUTE IMMEDIATE v_select COLLECT LOOSE pk_table.

    I'm IN 1.pk_table.count LOOP

    DBMS_OUTPUT. Put_line (pk_table (v1). (C1);

    DBMS_OUTPUT. Put_line (pk_table (v1). (C2);

    DBMS_OUTPUT. Put_line (pk_table (v1). (C3);

    v1: = v1 + 1;

    END LOOP;

    END;

    The number of column names in v_column_names is dynamic, so I need a way to store the results and then manipulate them.

    I look forward to your reply.

    EDIT: The real question:

    1. in the settings I have pass the table name and the value of the primary key of the row I want to delete.

    2. He then checks if this line is referenced anywhere, removes the reference, and then deletes the current line. This can go, until all the rows that are referenced are removed.

    The above code, I have provided a small part of the largest of stored procedure.

    Thank you all, I found the tips very helpful. I found a solution to my problem:

    Oracle - how to build queries DELETE in PL/SQL, based on the tables of the FK relations? -Stack overflow

    It generates all removal requests to remove a specific line.  Not what I wanted, but this does not solve my problem.

    The reason why is that I discovered that we do not use the ON DELETE CASCADE that we don't remove a record accidentally, I know we have an option to restore, but it is just in case something goes wrong.

  • ORA-19279: dynamic type mismatch query: wait for the singleton sequence

    Hello
    I have my xml stored in the table "xml_table".
    The content of the XML is:

    < COMPANY NAME = 'ABC' >
    Paris < DEPARTMENT_NAME > < / DEPARTMENT_NAME >
    < ADDRESS > Nevers Street < / ADDRESS >
    London < DEPARTMENT_NAME > < / DEPARTMENT_NAME >
    Northampton square < ADDRESS > < / ADDRESS >
    < / COMPANY >

    I would like to query the XML to get the result like this:

    COMPANY_NAME | DEPARTMENT_NAME | ADDRESS

    ABC | Paris | Street of nevers
    ABC | London | Northampton square

    However when I run the query:

    SELECT t.company_name, t.address, t.department_name
    Xml_table p,
    XMLTable ('/ COMPANY' ADOPTION p.OBJECT_VALUE)
    COLUMNS company_name PATH "@NAME."
    address PATH of VARCHAR2 (100) "/ COMPANY/ADDRESS.
    department_name PATH VARCHAR2 (100) "/ COMPANY/DEPARTMENT_NAME ') t

    I get the error message:
    ORA-19279: XPTY0004 - dynamic XQuery type mismatch: expected - singleton sequence got several sequence element

    What can be wrong with the query? Should Howe be modified to achieve the desired result?

    Thanks for the help

    Groxy

    Hello

    What can be wrong with the query?

    The XPath expression that you use to map DEPARTMENT_NAME and columns ADDRESS corresponds to a sequence of elements, not a single value.
    For example, "/ COMPANY/ADDRESS" means:

    Rue de nevers
    Northampton Square

    In fact, your XML structure is not very suitable for a relational presentation.
    IMO, it would be easier to deal with this form:

    
      
        Paris
        
    Rue de nevers
    London
    Northampton Square

    Like this, you can easily break SERVICE items in separate lines with a simple XPath.

    That being said, perhaps that you have no choice, so here's a query do you want:

    SELECT t.company_name, t.address, t.department_name
    FROM xml_table p,
         XMLTable(
          'for $i in /COMPANY/DEPARTMENT_NAME
           return 
           {
            $i/../@NAME,
            $i,
            $i/following-sibling::ADDRESS[1]
           }
           '
          PASSING p.OBJECT_VALUE
          COLUMNS company_name    VARCHAR2(30)  PATH '@NAME',
                  address         VARCHAR2(100) PATH 'ADDRESS',
                  department_name VARCHAR2(100) PATH 'DEPARTMENT_NAME'
         ) t
    ;
    

    Each 'virtual' line is built in the XQuery by searching for each DEPARTMENT_NAME and its first element following ADDRESS.

  • How to add a dynamic condition to query *.

    Hi all

    Could you please help me logic

    I need only query

    There are tables emp, dept

    SELECT E.ENAME, D.DNAME
    FROM EMP E, DEPT. D
    WHERE d.DEPTNO = e.DEPTNO (+)
    AND (DYNAMIC CONDITION)

    LOGIC OF THE DYNAMIC CONDITION IS

    IF D.DEPTNO IS E.DEPTNO THEN [E.JOB "PASSWORD"] - SEATS SHOULD BE ADDED TO THE PLACE (DYNAMIC CONDITION)
    IF D.DEPTNO IS NOT THERE IN E.DEPTNO THEN [D.LOC = "LONDON"] - SEATS SHOULD BE ADDED TO THE PLACE (DYNAMIC CONDITION)

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

    I tried below


    Select e emp, dept e.ENAME, e.SAL, d.dname d
    CASES where WHEN e.deptno = d.deptno then e.job = "MANAGER".
    else D.loc = "LONDON".
    END

    But its giving error...

    Please give a solution

    Thanks in advance
    KC
    SELECT E.ENAME,D.DNAME, d.loc, e.job, e.deptno
    FROM EMP E, DEPT D
    WHERE d.DEPTNO = e.DEPTNO(+)
    and (
           (e.deptno is null and d.loc='LONDON')
             or
           (e.deptno is not null and e.job='MANAGER')
         );  
    

    (But it's not dynamic sql!)

  • dynamic generation of tabs or accordion

    I need to display information as follows:
    Dept has
    Group 1
    Position 1-1
    Position 1-22
    Group 2
    Position 2-1
    B Dept
    Group 1
    etc.
    Currently do using < cfoutput query = "myQuery" group = "Dept" > and so on to create div tags that I then show and hide with DHTML/Javascript
    The number of departments change as do groups and positions, so the divs must be generated dynamically based on a query.
    Can be done the same thing in Flex 2 with accordians or tabs?
    Last question is my webhost does not have Data Services installed so I wiould have pr - compile SWF files. If this were doable in Flex 2 SWF of pre-compled would always implement the dynamic creation of the tabs/accordians?

    Hello

    Tab controls and the accordion can have their navigation dynamically modified. Both use the children containers (for example a cloth) - when you first receive your data from departments, the removeAllChildren() method clears the existing tabs/accordion tabs, then you need to create and addChildren() to rebuild the interface.

    See you soon,.

    Simon.

  • How do I dynamically change the query VO

    Hello

    IAM trying to change the VO query dynamically. My forced, it is that I have 6 columns in a page header 3 columns (single default) for objective sort and another 3 columns (the default one) for querying data.

    Al, are in a single view so I created a VO.

    Sort of research
    AN A
    B B
    C C

    When I give all sort values and hit the query of VO submit button should change dynamically.
    I searched old post in this regard.

    My query is something like that

    SELECT * from cust_table where a = NVL (: 1, a)
    UNION
    SELECT * from cust_table where a <>NVL (: 1, a)
    order by one

    IAM not trying the Sub part dynamicaly in my AM method
    vo.setWherecaluse ("where a = NVL (: 1, a)")
    UNION
    SELECT * from cust_table where a <>NVL (: 1, a)
    order by one ").
    and trying to pass parameters to the query. But it does not work. In error "variable binding is not found.

    The one you suggest how to solve the problem.


    Thank you
    Mahesh

    Mahesh

    Please let me know the logic behind the union of the same query with it. What is the problem you are having with
    vo.setWhereClause

    Thank you
    AJ

  • niHSDIO dynamic generation and Acquisition using LV configure Trigger VI

    Hello!

    My experience is limited within the environment of digital programming; Nevertheless, I have worked on this problem for a few days and would appreciate some comments if possible.

    I am trying simply to generate and acquire a duty cycle of 50% of 8 MHz TTL pulse train on a PIN DIO of the PCI-6541 and acquire back from the signal on another axis of DIO. I have a connector corresponding to the embedded 6541 VHDCI connector which of course the generation and acquisition DIO welded pins to provide a loopback effect.

    In short, I use the niHSDIO configure Trigger VI (instance--> start Trig: SW), niHSDIO send software Edge Trigger VI and write Named Waveform VI (instance--> data: 1 D U32) in the generation section. For the section of the acquisition, in short, I use the VI of waveform Fetch niHSDIO (instance--> single record: WDT).

    I see results in the waveform acquired showing the generated and acquired digital TTL pulse on the respective DIO pins train, but I can't seem to get my 8 MHz frequency requirement. In addition, the lower part of the assignment of pin DIO, more frequency. Unfortunately, due to the configuration system required, I have confined myself to pin 12 DIO for the generation of digital pulses. Even with a 50 MHz clock frequency, I'm ~ 6 kHz of frequency acquired max. I looked at changing the parameters of the wave form VI named write, but it is not possible because the VI call a library function node. I also tried to generate a waveform of 8 MHz through a VI of generator of digital model, but I do not believe, you can trigger on generated waveforms? It seems that you must generate data using a simple loop to as a counter and sending the result to the waveform VI named write. Are there other ways I can simply generate and acquire a digital signal of TTL of 8 MHz (no external connection)?

    In any case, any kind of feedback would be greatly appreciated.

    Thanks in advance for your time.

    Dan

    Dan,

    Sorry about the nomenclature.  I usually use 0 x or 0 b for indication of radix, it is not necessarily a kind of standard, just what I used in my old days of the Assembly.

    Looks like you have a knowledge about the data.  Basically the material is just save in DRAM an array of words of 32 bits, with each bit corresponds to a data channel and each element being generated to the sampling clock rate you enter to your vi.  Everything else is just easy data manipulation or usage.  The interleaving method is just as I like to create a toggle model.  You can easily do a loop with an inverter and feedback node or use on the construction in screws to signal generation.  In addition, you can use the software digital waveform editor or control panel test to generate the county or toggle modes.

    Give us an update when you enter the laboratory and let us know if you encounter any other disorder.

  • Dynamic group membership query

    Hello

    I'm looking to set membership in a group for an existing installation of EM.

    I don't want to use administrative groups that we have really not state of the lifecycle or other properties of the set target, and I don't want to put everything right now (we have several targets on single servers, over 100 on 1 Server).

    Therefore, I was interested in the use of dynamic groups for DB services, e.g. dynamic group DB_APP1 where target name was like '% APP1.

    I do not see this property in the dynamic groups, rather dynamic group properties are determined by the membership criteria (e.g. target =, on the host type = y)

    vs

    The normal groups where I can search for all the targets called "APP1%.

    is there any criteria of dynamic search by name of the target in dynamic groups?

    Thank you

    Looks like we don't have direct Option.

    http://docs.Oracle.com/CD/E24628_01/doc.121/e25353/whats_new.htm#EMCON142

    2.2.3.1 dynamic groups

    Note:

    This feature was new in Enterprise Manager Cloud Control Release 2 (12.1.0.2).

    Dynamic groups to create groups based on membership criteria. Criteria for membership is based on the properties target as target type, the life cycle State, Department, target version and so on. Targets whose properties match the criteria of a dynamic group are automatically added to the dynamic group.

    Dynamic groups facilitate management groups. Administrators do not have to define the criteria for membership in the group only once and Enterprise Manager automatically adds or removes the target to or from the appropriate dynamic group.

    But,

    We can choose based on observation, while adding, if mention us the search string in the comment as "APP1" and mention that the same comment of the dynamic group will help.

    Concerning

    Krishnan

  • Dynamic generation of DDX ES2

    Hi all

    I want to create a portfolio PDF package of files not PDF where number of attachments can vary, but with a static PDF cover page.

    does anyone have a sample ES2, which allows you to dynamically create the DDX?

    Concerning

    KeV

    KeV,

    The joint .lca ES2 is assembled of dynamic document using a custom script. You can drop any number of PDF files flattened in the control file to assemble a PDF file.

    The process is described below.

    Notes:

    (1) process includes logic to calculate assembler duration of treatment, which may or may not be useful.

    (2) as you probably know PDF files must be flattened for Assembly. The process does not flatten a PDF file.

    The custom script is represented below. It iterates over the keys of the map list to build the DDX.

    Steve

  • Dynamic generation of table

    Hello world!

    I use the free trial version Adobe LiveCycle Designer ES.

    I have a data set and two pdf. The first is a pdf file that I got on the web, which was created with the full version of Adobe LiveCycle Designer ES.

    The second is that I created with the trial version.

    I am trying to display several data like this:

    < history >
    < date > 08/05/2009 < / date >
    doc, doc > < / doc >
    desc < desc > < / desc >
    < / history >

    < history >
    < date > 09/05/2009 < / date >
    doc, doc > < / doc >
    desc < desc > < / desc >
    < / history >

    ...


    With the first pdf, it works fine. All data are displayed.

    But only the data appear with mine.

    I checked all the options (such as the link) and there are all the same on the two pdf.

    Then there is a limitation of the trial version with the case of duplicated data?

    Thank you

    No, there is no limitation in the trial version, but the one you have on the web is probably saved in dynamic PDF and yours is probably saved that way.

    Paul

  • dynamic generation to the top of an array of objects to fill a datagrid

    I'm having a hard time to figure out how to push an object in a table to populate a datagrid control.
    I don't know if I'm not recover the right values or send them.

    I want to push the full string as the label and now: 'Data_Grid.selectedItem' retrieve the value of name with "Data_Grid.selectedItem.G_val" by dynamically building 'type': 'value '.




    Thanks :)

  • dynamic generation of datagrid

    my configuration:
    I have 3 files. the first is the leader (mxml) main of the application that displays a datagrid control. the 2nd is a file that builds the datagrid (generator model). and the 3rd is a datamanager who retrieves my data via webservice that eventually fills the datagrid control.

    my situation:
    Im trying to dynamically generate a datagrid control that depends on data I collect through a Web service. Unfortunately, the result event handler runs asynchronously, and data are not yet available when my script tries to produce the datagrid.

    thoughts:
    I was wondering if there was a way to sync this process, so I generate the data grid after the webservice called the result event, or if there is no other possible solutions for this problem.


    in case any who wondered for a solution to this, I took advantage of the event driven framework that Flex simply provides extended eventdispatcher within my datamanager class and called an event back to my main application to let him know when it's ready to generate the data grid. I don't know if there is no more graceful alternative, but for now, it works! optimization can come after version 1.0 =)

  • Progressive, Question on the fields of dynamic/DocID/Query Question of profiling

    This may seem like a newb question but someone has a logical division of the BOM designation DocID?

    In the course, we are responsible to use DocID = 1 and DocID = 2, but when/why would you use DocID = 3 or higher?

    Any help would be greatly appreciated with the portion of dynamic fields/query string of the progressive profiling course.

    Thank you.

    The DocID is a complete example. You can actually assign the query string to be what you want. I recently use cmpID for the campaign ID, where I spent to map identity of the campaign and then sent the URL to redirect dynamically the campaign ID field. In my case, we worked with 10 different docs or goods, so we had to actually 10 unique codes. In this case we would have, for example cmpID = 483h76d; cmpID = 9j872hd, etc, etc. If you want to learn more about how you can use the query string values, see this post: how Progressive E10 profiling using the component of cloud - scroll down to step 6 and you'll see how to set up dynamic rules using query strings.

  • Data model - dynamic query with parameters

    Hi friends, is it possible to dynamically call a query using the parameters of the data models?

    I try to have a BEEP report with data model something like that

    Data model
    Param1

    Q1 = Select * from table 1
    Q2 = Select * from table 2

    If Param1 = X then
    FinalQuery = Q1
    On the other
    FinalQuery = Q2
    End

    Any help is greately appreciated.

    Thank you
    SAI.

    Take a look at the following:

    http://www.Oracle.com/global/de/community/BIP/tipps/dynamische_queries/index_en.html

    http://blogs.Oracle.com/XmlPublisher/files/BIPublisher_dynamic_column%20Blog.PDF

    Thank you!

Maybe you are looking for