How to use swivel to cross a tabular report with external business logic

Hello gurus,

I have it here is the Emp_Hist table, which is usually audit table for the Emp table.

For each record, we maintain version whenever it updated there.

ENo EName Sal job DOB Version Tstamp

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

1 Sanjiv 1000 committed 12/10/89 1 02/03/12 13:00

1 Sanjiv 1000 committed 12/10/89 2 02/03/12 14:00

1 Sanjeev 1900 committed 12/10/89 3 02/03/12 15:00

2 Scott 2000 analyst 22/10/85 1 02/05/12 13:00

2 Scott 2000 analyst 22/10/85 2 02/05/12 14:00

2 Scott 3000 lead 22/10/85 3 02/05/12 15:00

Smith 4000 lead 13/11/81 1 3 06/02/12 13:00

Smith 5000 lead 13/11/81 2 3 02/06/12 14:00

3 Smith 5500 lead 13/11/81 3 06/02/12 16:00

3 Smith 8000 CTO 13/11/81 5 02/06/12 17:00

4 Tom 4000 lead 13/11/81 1 02/07/12-13:00

4 Tom 5000 lead 13/11/81 2 07/02/12 14:00

4 Tom 5500 lead 13/11/81 3 02/07/12 15:00

Tom 4 8000 CTO 13/11/81 4 02/07/12-16:00

CREATE

TABLE Emp_Hist

(

ENo NUMBER,

EName VARCHAR2 (20).

SAL NUMBER,

Use VARCHAR2 (20).

DATE OF BIRTH,

Version NUMBER,

Tstamp DATE

);

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (1, 'Sanjiv', 1000, 'Clerk', to_date (December 10, 1989 "," DD-MON-RRRR'), 1, to_date (March 2, 2012 13:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (1, 'Sanjiv', 1000, 'Clerk', to_date (December 10, 1989 "," DD-MON-RRRR'), 2, to_date (March 2, 2012 14:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (1, 'Sanjeev', 1900, 'Clerk', to_date (December 10, 1989 "," DD-MON-RRRR'), 3, to_date (March 2, 2012 15:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (2, 'Scott', 2000, 'Analyst', to_date (October 22, 1985 "," DD-MON-RRRR'), 1, to_date (May 2, 2012 13:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (2, 'Scott', 2000, 'Analyst', to_date (October 22, 1985 "," DD-MON-RRRR'), 2, to_date (May 2, 2012 14:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (2, 'Scott', 3000, 'Lead', to_date (October 22, 1985 "," DD-MON-RRRR'), 3, to_date (May 2, 2012 15:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (3, 'Smith', 4000, 'Lead', to_date (22 October 1981 "," DD-MON-RRRR'), 1, to_date (June 2, 2012 13:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (3, 'Smith', 5000, 'Lead', to_date (22 October 1981 "," DD-MON-RRRR'), 2, to_date (June 2, 2012 14:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (3, 'Smith', 5500, 'Lead', to_date (22 October 1981 "," DD-MON-RRRR'), 3, to_date (June 2, 2012 15:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (3, 'Smith', 8000, 'CTO', to_date (22 October 1981 "," DD-MON-RRRR'), 5, to_date (June 2, 2012 17:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (4, 'Tom', 4000, 'Lead', to_date (22 October 1981 "," DD-MON-RRRR'), 1, to_date (July 2, 2012 13:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (4, 'Tom', 5000, 'Lead', to_date (22 October 1981 "," DD-MON-RRRR'), 2, to_date (2 July 2012 14:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (4, 'Tom', 5500, 'Lead', to_date (22 October 1981 "," DD-MON-RRRR'), 3, to_date (July 2, 2012 15:00 ',' DD-MON-RRRR hh24:mm'));

Insert into EMP_HIST (ENO, ENAME, SAL, JOB, DOB, VERSION)

values (4, 'Tom', 8000, 'CTO', to_date (22 October 1981 "," DD-MON-RRRR'), 4, to_date (July 2, 2012 16:00 ',' DD-MON-RRRR hh24:mm'));

I want to display changes (current value and previous value)

for each column as below.

PK_Value Column_Name Previous_value Current_Value

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

1         ENo                1                        1

1 Ename Sanjiv Sanjeev

1 1000 1900 sal

1 committed post clerk

1 DATE OF BIRTH 12/10/89-12/10/89

2         ENo                2                        2

2 Ename Scott Scott

2 sal 2000 3000

2 senior analyst job

2 DATE OF BIRTH 12/10/89-12/10/89

3         ENo                3                        3

3 Ename Smith Smith

3 5500 8000 sal

3         Job                         Lead                  CTO

3 DATE OF BIRTH 12/10/89-12/10/89

Solution for above requirement is query below.

WITH

got_r_num AS

(

SELECT

Eno,

Ename,

To_char (sal) AS sal,

employment,

To_char (dob, 'DD-MON-YYYY') AS date of birth,

ROW_NUMBER () OVER (PARTITION BY eno ORDER BY version DESC) AS r_num

Of

emp_hist

)

SELECT

*

Of

(got_r_num) PIVOT UNPIVOT (str FOR column_name IN (ename, sal, job, birth date))

MIN (str) FOR r_num IN (2 AS previous_val, 1 AS)

current_val))

ORDER BY

Eno,

Column;

But there are a few changes to the rquirement as below

There is a table that maintains the version the most recent/maximum for each employee.

Table EMP_AUD_LOOKUP have structure below

CREATE

TABLE emp_aud_lookup

(

ENo NUMBER,

Version NUMBER

);

Insert into emp_aud_lookup (ENO, VERSION) values (1.3);

Insert into emp_aud_lookup (ENO, VERSION) values (2,3);

Insert into emp_aud_lookup (ENO, VERSION) values (3.6);

Insert into emp_aud_lookup (ENO, VERSION) values (4.6);

version of Eno

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

1 3

2 3

3 6

4 6

maximum/later in the EMP_AUD_LOOKUP table.

For emp = 1, version the most recent/maximum is 3

For emp = 2, version the most recent/maximum is 3

For emp = 3, version the most recent/maximum is 6, if it's 5 emp_hist table but the matching record in

Table 6 (since it can be changed in other tables to load of the EMP_AUD_LOOKUP

that is the case has changed in child table thats why he is 6)

For emp = 4, version the most recent/maximum is 6, if it is 4 emp_hist table but the matching record in

Table 6 (since it can be changed in other tables to load of the EMP_AUD_LOOKUP

that is the case has changed in child table thats why he is 6)

Updated the result will be like

PK_Value Column_Name Previous_value Current_Value

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

1         ENo                1                        1

1 Ename Sanjiv Sanjeev

1 1000 1900 sal

1 committed post clerk

1 DATE OF BIRTH 12/10/89-12/10/89

2         ENo                2                        2

2 Ename Scott Scott

2 sal 2000 3000

2 senior analyst job

2 DATE OF BIRTH 12/10/89-12/10/89

3         ENo                3                        3

3 Ename Smith Smith

3 8000 8000 sal

3         Job                         CTO                   CTO

3 DATE OF BIRTH 12/10/89-12/10/89

4         ENo                4                        4

4 Tom Tom Ename

4 8000 8000 sal

4         Job                         CTO                   CTO

4 DATE OF BIRTH 12/10/89-12/10/89

In the case of ENo = 1, will be later

SELECT version in v_latest OF EMP_AUD_LOOKUP where Eno = 1;

v_latest = 3

Latest = > max (version) of emp_hist < = v_latest or 3 < = 3 so 3

Previous = > max (version) of emp_hist < v_latest-1 or 2 < = 2 so 2

In the case of ENo = 2, will be later

SELECT version in v_latest OF EMP_AUD_LOOKUP where Eno = 2;

v_latest = 3

Latest = > max (version) of emp_hist < = v_latest or 3 < = 3 so 3

Previous = > max (version) of emp_hist < v_latest-1 or 2 < = 2 so 2

In the case of ENo = 3, will be later

SELECT version in v_latest OF EMP_AUD_LOOKUP where Eno = 3;

v_latest = 6

Latest = > max (version) of emp_hist < = v_latest or 5 < = 6 so 5

Previous = > max (version) of emp_hist < v_latest-1 is 5 < = 5 so 5

In the case of ENo = 4, will be later

SELECT version in v_latest OF EMP_AUD_LOOKUP where Eno = 4;

v_latest = 6

Latest = > max (version) of emp_hist < = v_latest or 4 < = 6 so 4

Previous = > max (version) of emp_hist < v_latest - 1 = 4 < = 5 so 4

Can we make changes above with a modified respect logic based on the id of the most recent version of the other table.

either we can manipulate in row_number() function.

Hello.. Try the below...

WITH qry1 AS (SELECT eno,

Ename,

SAL,

employment,

Date of birth

Version

Max (version) OVER (PARTITION BY eno) mx_ver

Of emp_hist).

qry2 AS

(SELECT eno1,

To_char (Eno) eno,

Ename,

To_char (SAL) sal,

employment,

Date of birth to_char(DOB,'DD-mon-YYYY'),

To_char (ld_eno) ld_eno,

ld_ename,

To_char (ld_sal) ld_sal,

ld_job,

To_char(DOB,'DD-mon-YYYY') ld_dob

FROM (SELECT q1.eno, eno1,

Q1. Nwe eno,

Ename,

SAL,

employment,

Date of birth

INF. ROW_NUMBER() over (PARTITION BY q1.eno ORDER BY q1.version),

Lead (Q1. Eno, 1, Q1. ENO) OVER (PARTITION BY q1.eno ORDER BY q1.version) ld_eno,.

Lead(Ename,1,Ename) OVER (PARTITION BY q1.eno ORDER BY q1.version) ld_ename,

Lead(SAL,1,SAL) OVER (PARTITION BY q1.eno ORDER BY q1.version) ld_sal,

Lead(Job,1,Job) OVER (PARTITION BY q1.eno ORDER BY q1.version) ld_job,

Lead(DOB,1,DOB) OVER (PARTITION BY q1.eno ORDER BY q1.version) ld_dob,

version Q1.version

OF qry1 q1 emp_aud_lookup eal

WHERE q1.eno = eal.eno

AND (q1.mx_ver = eal.version AND (q1.version = q1.mx_ver OR q1.version = q1.mx_ver - 1))

OR(Q1.mx_ver <> EAL.version and Q1.version = Q1.mx_ver)))

WHERE rn = 1)

SELECT eno1 eno,

CASE WHEN lvl = 1 THEN 'ENO '.

ONCE lvl = 2 THEN 'ENAME '.

ONCE lvl = 3 THEN 'SAL '.

ONCE lvl = 4 THEN "JOB."

ONCE lvl = 5 THEN 'DOB '.

ELSE 'N/A '.

END as col_name,

CASE WHEN lvl = 1 THEN eno

ONCE lvl = 2 THEN ename

ONCE lvl = 3 sal THEN

ONCE lvl = 4 THEN employment

ONCE lvl = 5 THEN dob

END as previous_value,

CASE WHEN lvl = 1 THEN ld_eno

ONCE lvl = 2 THEN ld_ename

ONCE lvl = 3 THEN ld_sal

ONCE lvl = 4 THEN ld_job

ONCE lvl = 5 THEN ld_dob

END AS current_value

OF qry2, (lvl SELECT LEVEL FROM dual CONNECT BY LEVEL<=>

ORDER BY eno, lvl;

OUTPUT:-

-------

ENO COL_N PREVIOUS_VALUE CURRENT_VALUE

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

1 1 1 ENO

1 ENAME Sanjiv Sanjeev

1 1000 1900 SAL

1 committed POST clerk

1 DOB DECEMBER 10, 1989 10 DECEMBER 1989

2 2 2 ENO

2 ENAME Scott Scott

2 SAL 2000 3000

2 senior analyst JOB

2 DATE OF BIRTH 22 OCTOBER 1985 OCTOBER 22, 1985

3 3 3 ENO

3 ENAME Smith Smith

3 8000 8000 SAL

3 USE CTO CTO

3 DATE OF BIRTH 22 OCTOBER 1981 OCTOBER 22, 1981

ENO 4 4 4

4 Tom Tom ENAME

4 8000 8000 SAL

4 JOB CTO CTO

4 DATE OF BIRTH 22 OCTOBER 1981 OCTOBER 22, 1981

20 selected lines.

Tags: Database

Similar Questions

  • How to use swivel to cross tabular report

    Dear gurus,

    I have it here is the Emp_Hist table, which is usually audit table for the Emp table.

    For each record, we maintain version (there may be difference in version as for empno = 3) when it updated there.

    ENo EName Sal job DOB Version

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

    1 Sanjiv 1000 committed 12/10/89 1

    1 Sanjiv 1000 committed 12/10/89 2

    1 committed Sanjeev 1900 12/10/89 3

    Scott 2000 analyst 22/10/85 1 2

    2 Scott 2000 analyst 22/10/85 2

    Scott 2 3000 lead 22/10/85 3

    3 Smith 4000 lead 13/11/81 1

    3 Smith 5000 lead 13/11/81 2

    3 Smith 5500 lead 13/11/81 4

    3 Smith 8000 CTO 13/11/81 5

    I want to display changes (current value and previous value)

    for each column as below.

    PK_Val Column_Name Previous_value Current_Value

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

    1         ENo                1                        1

    1 Ename Sanjiv Sanjeev

    1 1000 1900 sal

    1 committed post clerk

    1 DATE OF BIRTH 12/10/89-12/10/89

    2         ENo                2                        2

    2 Ename Scott Scott

    2 sal 2000 3000

    2 senior analyst job

    2 DATE OF BIRTH 12/10/89-12/10/89

    3         ENo                3                        3

    3 Ename Smith Smith

    3 5500 8000 sal

    Job 3 lead CTO

    3 DATE OF BIRTH 12/10/89-12/10/89

    Could someone help me growing up? Can swivel will contribute to higher.

    Concerning

    Sanjeev

    For each employee, which values (column) to change.

    ENO Column_Name Previous_value Current_Value

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

    1         ENo                1                        1

    1 Ename Sanjiv Sanjeev

    1 1000 1900 sal

    1 committed post clerk

    1 DATE OF BIRTH 12/10/89-12/10/89

    2         ENo                2                        2

    2 Ename Scott Scott

    2 sal 2000 3000

    2 senior analyst job

    2 DATE OF BIRTH 12/10/89-12/10/89

    3         ENo                3                        3

    3 Ename Smith Smith

    3 5500 8000 sal

    Job 3 lead CTO

    3 DATE OF BIRTH 12/10/89-12/10/89

  • How to use a signal of true/false dynamics with a business structure?

    Hey everybody-

    Is it possible to enter a case structure dynamic data of true/false?  We try to generate a waveform and want our structure case to run when the wave exceeds a certain threshold value and freeze execution when it drops below the threshold (If false).  However, we want the case structure to run continuous - i.e. If the structure of the deal for the 'real' case running while the waveform is above the threshold, we next want to deal for 'false' structure to run when the wave goes below the threshold, and so on until we stop our program.

    Any suggestions would be much appreciated!

    Rachel

    Remove the loop around your DAQ Assistant vi express (I hate express screws).  There is already a big loop around all of the code in the lower part.  As has been pointed out by Ravens Fan, don't assign continuous acquisition.  Set a finite number of acquisitions.  Then the rest of the code can run and the loop can travel again.

    Get rid of the stop sign at the top.  When the code is finished, Labview will stop on its own.

    You have two stop buttons.  Only one is necessary.  Look at my example posted a few messages back.  A STOP with local variables.

    Shrink your block diagram.  It takes more than one monitor space.  It is difficult to read when you have to scroll all over the place.

  • kindly tell how to use the unique value of a table with the index 0

    kindly tell how to use the unique value of a table with the index 0

    Hi
     
    Yep, use Index Array as Gerd says. Also, using the context help ( + h) and looking through the array palette will help you get an understanding of what each VI does.
     
    This is fundamental LabVIEW stuff, perhaps you'd be better spending some time going through the basics.
     
    -CC
  • How to use the scanner Canon of my computer with Windows Vista?

    How to use the Canon Scanner of my Toshiba with Windows Vista computer? Need help, tq.

    How to use the Canon Scanner

    http://www.ehow.com/how_5796443_use-Canon-flatbed-scanner.html

    I would propose Canon Support and the knowledge base for information and manuals

    http://www.USA.Canon.com/Cusa/consumer/standard_display/support

  • How to use mode live view in Dreamweaver CC with protect pages.

    Sorry I'm french how to use mode live view in Dreamweaver CC with a protect page. display live, tell me it's unable to connect. So I need to protect my pages

    Thank you

    Ok.  Keep .htaccess on your remote server.

    In the site local files Panel, F2 (rename) to the old.htacess.htacess.

    Which will disable the file .htacess on your local computer only.

    Nancy O.

  • Tabular report with more than one line by line

    Hello

    I designed a sort of Gallery page, a tabular report with only two small columns per line: a thumbnail from a BLOB column and link textual branching to a page showing the full size image with a bunch of textual information on this subject.

    As you can guess I look at the title of the topic, my concern is to display more than one (say 3 or 4) this line by line, in order to avoid a very long 'portrait' page with a lot of white space on the left and right.

    Is there a (not too complicated) way to do it? I might design a special model (?), but I'm not very used to style sheets and stuff.

    Thanks in advance.

    André

    Re: report columns of the SQL query for a couple of ways to do this.

    As your main concern is to maximize the use of horizontal space, custom report template/CSS approach would seem more appropriate, as the number of columns is not resolved.

    It is also possible to do using CSS inline-block property and given that it is now feasible cross-browser and less side effects and potential problems that the use of floats is probably the way to go.

  • How o use an icon in a standard report to display the details by using a hyperlink with APEX 5.0

    Hello

    I work with APEX 5.0.

    I would like a report (classic) display a report of details (also classical report) using a hyperlink, but not a "text-hyperlink" like 'click here for details'.

    Instead, I want to use a small icon which will occur the same result when you click on.

    It works fine, when the hyperlink is defined as text like: 'click here for details'.

    When I try to use an image, I don't get the desired result.

    Here's what I tried to Hare:

    1)

    Link-> Link attributes, then filled column: src = "& WORKSPACE_IMAGES. "" #ICON_NAME # "width ="40"height = 40 ' or img src =" & WORKSPACE_IMAGES. " "" #ICON_NAME # "width ="40"height = 40.

    = > no picture for the items in the column, but the link already created for each column of the remains (and works)

    2)

    Formatting of column-> HTML Expression, then filled: < img src = "& WORKSPACE_IMAGES. "" #ICON_NAME # "width ="40"height = 40" >

    = > the image appears for each column element, but the hyperlink is gone.

    Somone has idea how to use a picture/icon to have a hyperling in screens reported a detail?

    Thank you in advance for sharing your experience.

    Kimd cordially

    Hi Patrick,

    Link to the column-> then filled:

    Link text = #ICON_IS #

    Link attributes =.

    Target = this Application Page

    Page = 5

    Article 1 = P5_DEPTNO

    Value 1 = #DEPTNO #.

    Article 2 = P5_DEPARTMENT

    Value 2 = #DNAME #.

    Put this   in the link text not in attributes of link

    Remove the code from the link attributes.

    I don't have how to make it the way that describe you.

    Apex. Oracle.com is a hosted version of application Express, you can build online applications.

    Go to this link and the application workspace https://apex.oracle.com/en/

    Hope this helps you,

    Kind regards

    Jitendra

  • How to use an option button in the report of the IR to redirect itself to view another report

    IHH team, I have a requirement where I have an IR report option button. By clicking this radio button, another report appears under the main report with few other details of the selected item. The idea was to have a zoom of report as seen in the Group of MS Excel.  However, I am stuck because I don't want the user to press the "submit" button each time after selection of a radio button. I want the result to Report2 to change on the selection radio button in report 1.

    Please notify.

    Kind regards

    Samar

    for example

    Report1 details

    RB col_id text1 text2 Text3

    1 . abc erd 45

    2 ghj dfgrt 67

    Suppose the user selects the first option button, the page displays another report with details below the main report

    Report1 details

    col1_id text1 text2 Text3

    RB1 1 abc erd 45

    2 RB2 ghj dfgrt 67

    Report2 details

    col1_id col2_id text1 text2 Text3

    1 11 ihj pkpk 78

    1 23 ljl kpk 45

    user6255521 wrote:

    Please update your forum profile with a real handle instead of 'user6255521': Video tutorial how to change username available

    When asking a question, always include the information referred to in these guidelines: How to get the answers from the forum

    I was able to achieve using the linl. I created a link on the col_id and it redirected to itself after you set the value of col2_id. I also changed the style of the button link and so col1_id looks like a button.

    However, I was interested to know if we can achieve this with a radio button and use the update form the Report2.

    You mean like this? It is very simple to implement using dynamic measurements.

    1. Add a column of radio group to the main report:

    select
        apex_item.radiogroup(1, d.department_id) rbg
      , d.*
    from
        oehr_departments d
    

    APEX 5.0, apply a static ID "rbg" to the column of radio group.

    2. create a hidden page unprotected element to maintain the value of the selected radio button to use as a filter in the detailed report. In the example, it is P31_DEPARTMENT_ID.

    3 refer to the element of filter in the WHERE clause of the report detail:

    select
        *
    from
        oehr_employees
    where
        department_id = :p31_department_id
    

    Set the Items property of the Page to send in the definition of report P31_DEPARTMENT_IDretail area.

    4. create a dynamic action of change on the Group of radio buttons:

    Event: Change

    Selection type: jQuery Selector

    jQuery Selector:td[headers="rbg"] input[type="radio"]

    Real Actions

    Seq: 10

    Action: Set value

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).val()

    Selection type: Article (s)

    Point: P31_DEPARTMENT_ID

    Seq: 20

    Action: Discount

    Selection type: Region

    Region:

    The best way to get help with something like that is for you to reproduce the problem with an example on apex.oracle.com. Set up as much as you can before posting here and when you post the question, share identification information of developer comments for the workspace so that we can see the example and work the solution directly.

  • How to create a tabular report with alphabetical link at the top

    Hello

    I have a db of the users table and have created a report based on this table, but I want that each letter of the alphabet at the top of the report so that users can click on the letter and see all the records where the username field begins with that letter.

    How can I achieve this?

    Thank you

    Hello user11243298 (please tell us your name).

    Your report query might look like this (assuming that the page number is 1):

    Select some_column1, some_column2
    of your_user_table
    where username as: P1_INITIAL | '%'

    For the letters at the top of the report, here are some options:

    -If you want that all the letters to appear or not lines, you can create a series of buttons or links, one for each letter and specify the target URL make return to the report page, defining the P1_INITIAL element to each letter.

    -If you want only the letters which were stored, is to create a dynamic LOV based on a query like this:

    Select distinct superior (substr (username, 1, 1)) d, high separate v (substr (username, 1, 1))
    of your_user_table
    order from the top (substr (username, 1, 1))

    Can use it for a list of selection with submit, again targeting the report page and the P1_INITIAL parameter to the selected value.

    Hope this helps (if this is the case, please reward it),.
    John

  • How is used to monitor two ASA (active/stby) with modules IPS Cisco MARCH?

    Hello

    The two ASA with IPS modules are in Active mode / standby. When I try to add both the two IP (active / standby) in MARCH, the MARCH will complain of duplicate names.

    How set up in MARCH to monitor the ASA with IPS with topology standby active?

    Thank you!

    Hello

    The fundamental problem with this scenario is that you have modules able non-basculement in a tipping chassis - think of the pair of failover ASA as a device and modules IPS as two completely separate devices.

    Then, as we have already mentioned, add only the ASA elementary school. (High school will never be passing traffic in standby mode so it is not really necessary in MARCH) Then, with the first IPS module you can add it as a module of ASA or as a standalone device (MARCH doesn't care). With the second module IPS, the only option is to add it as a separate unit anyway.

    In a failover scenario of the SAA swap IP but SPI considering you'll ever messages from ASA active you will get messages from the intellectual property of these two IPS depending on whether you are in the ASA active at the time.

    Remember that you must manually reproduce all IPS configuration whenever you make a change.

    HTH

    Andrew.

  • How to use Multiple Select in for tabular

    Hello

    I use a tabular form to update data .i want to use Select Multiple tabular.

    How can I do it...



    Thank you
    Maury

    Published by: Ed on December 27, 2009 23:47

    Hello

    Go to declare attributes-> element in the form of--> the list of selection based on query replace

    Specify the query in the lov box

  • Linux hosts: how to use Eclipse gdb cross debugger for application in time real c / c ++.

    Hello
    I have a Linux (CentOS 7) on which I have installed Eclipse and:
    Compilers C & C++ GNU for Linux ARMv7 (Linux host) 2014

    I am able to build and run the sample application on my target (sbRIO-9651) "hello world" described in:

    Start with C/C++ for Linux AND real-time development tools, Eclipse Edition

    I'm not able to do, it's to my request for debugging.  I can't find the equivalent of "arm-nilrt-linux-gnueabi - gdb.exe' on my Linux host.

    Anyone know how to configure the debugger for this configuration?

    I tried to start debugging with the default options and this is the message I get in the 'console' (I have replace the IP address x.x.x.x)

    Last login: Thu Sep 17 05:25:47 2015 from x.x.x.x
    echo $PWD'>'
    gdbserver :2345 /home/admin/ProjectFolder/test1;exit
    admin@NI-sbRIO-9651-03081395:~# echo $PWD'>'
    /home/admin>
    admin@NI-sbRIO-9651-03081395:~# gdbserver :2345 /home/admin/ProjectFolder/test1; exit
    Process /home/admin/ProjectFolder/test1 created; pid = 1761
    Listening on port 2345
    Remote debugging from host x.x.x.x
    readchar: Got EOF
    Remote side has terminated connection.  GDBserver will reopen the connection.
    Listening on port 2345
    

    Thank you

    Michel

    Hello

    OK, I did some download and testing yesterday and today and I found a tool chain that strives to do remote debugging a c application / c++ on a sbRIO-9651 with CentOS 7 host operating system.

    You must download this Linaro Toolchain for Cortex-A

    Once on the page go in the section "Linaro Toolchain for Cortex-A" and download the second link linux "linaro-toolchain-binary (big-endian).  The binary gdb is here, so you must point towards him in the Eclipse debug configuration.

    You may need to install the library added to your operating system.

    Michel

  • How to use the values acquired by different treatments with 9188 OR cDAQ

    Hi guys, I'm trying to use NI DAQ 9188 chasis with temperature measurement module 9214. I plugged in 3 modules to the module and split signals. But I'm not sure that I can easily these values in functions. I'm trying to convert them into table 1 d, but when I converted the table 1 d I can't see the values and use separately from each other. For example, I simply multiply the first value of 1 thermocouple. How could I do that. In addition, the signals in the waveform table 1 is not smooth. What is the reason for this? Thanks in advance.

    Hi James-D,

    Thank you. Now, it is clear to me.

  • How to use references from web third party service with service Cloud Computing to Oracle database schema

    APEX 5.0

    Cloud Computing service for the Oracle database schema


    I'm in the middle of do a proof of concept.  Basically, I need an application with security of the stored data, UI, user, data loading, and able to post data via an external web service said.  It seems that with the database schema Oracle cloud service, it is not possible to use web service references that are not in the field.

    If I try to use a service via http reference, I get:

    ORA-20987: APEX - the requested URL was forbidden. Contact your administrator. -Contact your administrator of the application.

    If I try to use the same reference service via https, I get:

    ORA-29273: HTTP request failed

    ORA-06512: at & quot; SYS. UTL_HTTP & quot; line 1130

    ORA-29259: end-of-input reached

    I read somewhere that cloud services only https can be used.  Is this true?

    And then I read somewhere to use the protocol https, the portfolio must be configured to store certificates, etc.  However, I read somewhere else that the portfolio cannot be configured because there is no access to the instance database with the Oracle Cloud Computing database schema service.  Is this true?

    If both are true, how can I make a call to post data to an external web service?  Or do I need to use a different Cloud Computing service?  Or do I need my own instance of Oracle DB?

    Any help would be great.  Thank you!

    It turns out there was a problem with the remote rest service.  After successfully calling a rest service that was created using SQL Workshop, I tried different remote rest services and they all work.  Sorry for the confusion.  I thought it was very strange that the schema of database service wouldn't be able to do it easily.

Maybe you are looking for