Dynamic display of data table

Dear community,

I have the X TABLE, which contains a set of data rows/records.

These records have different 'Status', defined as a "rejected", "approved" or "pending".
What is the most logical version to have a view just for pending, rejected, or approved.

I tried to create an action dynamic in combination with 3 buttons named "Refused to show", "Approved for the Show", "Show pending" and the SQL table.
select balbalbla from blabla

where loggeduser = :app_user
and status in ('Pending')
but this is the only data containing the status 'pending', is well, but how do I fix the SQL when I refused and also approved?
What I really want is

When you press the X button, A table will display data X
When you press the button, A chart data
When the key Z, table A indicates data Z


Sincerely,

Mere student :)

Published by: Netrunner on June 1, 2012 09:14

Published by: Netrunner on June 1, 2012 09:14

Netrunner wrote:
I created a hidden field named P11_DYNAMIC
I created a dynamic action as follows: true action when you press button "Show pending" > launch plsql code >: P11_DYNAMIC: = 'pending ';
I created a dynamic action as follows: true action when "Refused to see" touch > launch plsql code >: P11_DYNAMIC: = "declined";
I created a dynamic action as follows: true action when 'Approved for the Show' button > launch plsql code >: P11_DYNAMIC: = 'approved ';

but nothing is happening, unfortunately. The buttons are all managed by the dynamic action of course.

After that you press a button you refresh the report in the region?
If not change all over the dynamic actions > add real action > event (refresh) > Type (region) > select report region
This will refresh your report once the value is defined in P11_DYNAMIC

When I press the buttons of the value does not change in P11_DYNAMIC, and the table also unresponsive.

How you came to the conclusion that the values are not?

Tags: Database

Similar Questions

  • How to use a parameter query to select and display the data in the table of the façade

    Hiiiiii

    I am using Access 2007 database
    I want to select the specific data in the database using control of the chain as 'select product, size, weight of ProductInfo where barcode (chain control) =?'  and also display the same table of façade.

    I use the connected database toolkit.
    I saw the example of the parameterized insert, but it did not help to use parameterized select query, as well as to display data of parameterized select query.

    I looked for example on parameterized select query, but I don't have any.
    So pls guide me how to do this. I would like to know the other method (if any) that the use of parameter query to perform the same thing.
    If possble pls share a vi reference.
    Thank you!!!

    HII szewczak
    Thanks for the reply
    but I did not getsolution in one of your shared links
    My problem is solved. There is no need to use the parameter query to select control values
    In my case I want to display data from database where bar code is even entered by the user
    I use the data function DB TOOL CHOOSE and create the condition of chain based on concatenation of strings

  • call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. The other rows are based on the entities

    Hi Experts,

    JDeveloper 12.1.3.0.0

    I have a VO based on entity object. With a column of the VO is transient attribute (I created).

    I need to call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. As well as other attributes.

    So can anyone suggest how can I achieve this?

    Thank you

    AR

    I think that you need a stored function (which returns the value) in this case, is not?

    Take a look at:

    https://docs.Oracle.com/CD/B31017_01/Web.1013/b25947/bcadvgen005.htm

    and search for:

    Invoking stored function with only Arguments in

    call your function in the Get attribute and return value accessor...

  • display the data in two tables.

    Hi considers the following data
    WITH table1 AS
    (
      SELECT 111 userid,  To_Date('7/31/2010','mm/dd/yyyy') dt  FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/1/2010','mm/dd/yyyy') dt  FROM dual UNION all
      SELECT 111 userid,  To_Date('8/2/2010','mm/dd/yyyy') dt FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/3/2010','mm/dd/yyyy') dt  FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/4/2010','mm/dd/yyyy') dt FROM dual UNION ALL
      SELECT 111 userid,  To_Date('8/5/2010','mm/dd/yyyy') dt  FROM dual UNION ALL
    
      SELECT 222 userid,  To_Date('2/28/2010','mm/dd/yyyy') dt  FROM dual UNION all
      SELECT 222 userid,  To_Date('3/5/2010','mm/dd/yyyy') dt  FROM dual UNION all
    
    ),
     mydates AS
    (
     SELECT To_Date('7/31/2010','mm/dd/yyyy') dt1, To_Date('8/4/2010','mm/dd/yyyy') dt2 FROM dual  UNION ALL 
     SELECT To_Date('2/28/2010','mm/dd/yyyy') dt1, To_Date('3/5/2010','mm/dd/yyyy') dt2 FROM dual 
    )
    I want to join these two tables and result the following
    DT        DT2
    7/31/2010 8/04/2010
    8/01/2010  8/01/2010
    8/02/2010  8/02/2010
    8/03/2010  8/03/2010
    8/04/2010  8/04/2010
    8/05/2010  8/05/2010
    
    2/28/2010  3/5/2010
    3/5/2010   3/5/2010
    Basically, I join two tables, take dt from table1 and look into mydates. If the data match then display dt and DM2.
    If the date in table1 does not match date in t1d in mydates, then display the data but dt and DM2 there same date.

    for example,.

    7/31 in table1 is 7/31 in mydates so I show 7/31 dt and DM2 as 8/4(from mydates).
    now 8/01 does not match all lines in my dates so dt should be 8/01 and T2D should be 8/01. same logic applies to the other lines

    can someone write a query that gives the above result? Thank you

    Hello

    If you want all lines of table1 (attached to mydates when this is possible, but even when there is no match) then use an outer join:

    SELECT     t.dt
    ,     NVL (m.dt2, t.dt)     AS dt2
    FROM          table1     t
    LEFT OUTER JOIN     mydates     m     ON     t.dt     = m.dt1
    ORDER BY     t.dt
    ;
    
  • is it possible to apply the sort on the columns added to a dynamic display object?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    We have created a dynamic display object in the AM Impl, all objects in view columns are added dynamically.


    All lines are displayed correctly, but when sorting columns data disappear. (point of view are being refreshed, of course).


    is it possible to apply the sort on the columns added to a dynamic display object?

    This is how we show data in the JSF page:


    < af:table lines = ' #{bindings. " DynamicVO.rangeSize}' fetchSize = "#{bindings." DynamicVO.rangeSize}.

    emptyText = "#{bindings." DynamicVO.viewable? "{'No data to display.': 'Access Denied.'}".

    var = 'row' rowBandingInterval = '0' value = ' #{bindings. " DynamicVO.collectionModel}.

    selectedRowKeys = ' #{bindings. " DynamicVO.collectionModel.selectedRow}.

    selectionListener = "#{bindings." DynamicVO.collectionModel.makeCurrent}.

    rowSelection = "single" id = "t1" >

    < af:forEach elements = "#{bindings." Var DynamicVOIterator.attributeDefs}' = 'def' varStatus = 'vs' >

    "< af:column headerText =" #{def.propertyMap.label} "sortable ="true"sortProperty =" #{def.name} ".

    ID = "clmn$ {vs.index}" >

    < af:outputText value = "#{row [def.name]}" id = "ot1" / > "

    < / af:column >

    < / af:forEach >

    < / af:table >




    Thanks guys, I created a custom class that contains a model that can be sorted in a pod of support and I have to the adf work table it and it is very good about sorting.

    JSF:

    Rows = "#{pageFlowScope.crudBean.dynamicTable.collectionModel.RowCount} '"

    contentDelivery = 'immediate' var = 'row' rendered = 'true '.

    Binding = "#{backingBeanScope.crudBackingBean.tasksTable} '"

    selectionListener = "#{backingBeanScope.crudBackingBean.customListener} '"

    "rowSelection ="single"id ="t1"partialTriggers =": pt_gr2 "columnStretching =" column: clmn0 ">

    inlineStyle = "width: 100px;"  ID = "clmn$ {vs.index}" > "

  • Select display after alter table

    Hello
    Why ' select * view "is not display recent columns added by alter table command." Even display columns and the data from the table only. What is the oracle of mechanism used here?

    Thank you

    Vermorel

    When you create a view, you create a static 'snapshot' of the columns of the table. Adding columns in the underlying table will not change the definition of the view. Using a "select *...» "according to the definition simply indicates the database to create the view with all the columns that appear in the table at this moment in time. He does not mean "dynamically change the display when the table is changed," which would negate the whole point of views.

    E.g.:

    SQL> create table t1 (col1 number,
      2                   col2 number);
    
    Table created.
    
    SQL> create view v1 as select * from t1;
    
    View created.
    
    SQL> desc t1
     Name
     --------------------------------------------------------
     COL1
     COL2                                                           
    
    SQL> desc v1
     Name
     --------------------------------------------------------
     COL1
     COL2                                                           
    
    SQL> alter table t1 add (col3 number);
    
    Table altered.
    
    SQL> desc t1
     Name
     --------------------------------------------------------
     COL1
     COL2
     COL3                                                           
    
    SQL> desc v1
     Name
     --------------------------------------------------------
     COL1
     COL2                                                           
    
    SQL> create or replace view v1 as select * from t1;
    
    View created.
    
    SQL> desc v1
     Name
     --------------------------------------------------------
     COL1
     COL2
     COL3                                                           
    
  • Change the timestamp display in the table of FY

    Hello

    I use JDev 11.1.1.1.0

    I have a dynamic chart that shows data from several features of ejb, determined by a selectOneChoice. Some entities have attributes of Timestamp. When an entity is displayed in the table, only the date format is displayed for timestamp attributes. I want that it also displays the time. How can I do this?

    Thank you
    André

    Hi Andre,

    To display the date and both times, you must set the property type of the tag of the converter as "both".

    Try this:

    
          
          
                 
          
    
    

    Jean Lou

  • How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    Hello

    It is not currently possible to review the data the application integrated in activity or training on this basis. If you want Apple to consider adding this feature, you can suggest here:

    https://www.Apple.com/feedback/watch.html

    However, health and fitness data from other sources, iPhone, and Apple Watch are registered and grouped within the health on iPhone app. These data can be exported, which you may find useful to track the cumulative progress and/or analyze your activity more in detail.

    IPhone app activity also has a button for sharing (top right of the screen) that allows to share data - including social media, Messages, Mail, Notes, and a printer.

    Include third-party applications that can be useful, for example:

    Access to QS

    -"Access your HealthKit data in a table so you can Explorer using numbers, Excel, R, or any other tool compatible CSV."

    - https://itunes.apple.com/gb/app/qs-access/id920297614?mt=8

    SpectaRun workouts

    -"View from the workouts of your Apple Watch on your iPhone and to export these workouts so you can download them to your favorite online running community."

    - https://itunes.apple.com/gb/app/spectarun-workouts/id991723862?mt=8

    Data can also be exported directly from the application of the health (Health Data > All - Share at the top button on the right).

    Check the descriptions and support resources for third party applications for supported details of import and data analysis features.

    More information:

    Use the activity on your Apple Watch - Apple Support

    Use of the workout on your Apple Watch - Apple Support

    http://www.Apple.com/watch/health-and-fitness/

  • Build a data table in a Subvi

    OK first of all, I will say that I am very new to LabVIEW.  I only started using it last week.  I'm used to other programming languages, so if I use a terminology that is not common to LabVIEW, I apologize.

    What I try to do is to collect temperature data and determine when it reaches steady state.  I collect data from a thermocouple USB DAQ in a loop with a user defined number of iterations.  Each of these iterations will in a table.  The mean and standard deviation are calculated from this table.  Everything I say is done inside a while loop and the standard deviation is low enough for the while loop ends.

    It works perfectly, but, there is always a but, I wanted to turn construction calculations, an average and standard deviation of array in a Subvi so that I can use it sometimes as steady state is a big part of what I test.  Also in this way I don't have to have the data table appear on the front.  The question that I try to convey the DAQ data in the Subvi.

    No matter what help do this, or suggestions on a more elegant way to determine the State of equilibrium is greatly appreciated.  I have attached the VI in its intact form and a JPEG of it with the part I want to put in a Subvi converted (boxed) in red.  Hope this is enough information and if you have any questions, concerns or suggestions, do not hesitate to post.  Thank you.

    -Kyle

    You take a single measure by the loop iteration, so to convert dynamic data to a single scalar rather than a table. Now you are left with a 1 d table after the loop and this whole mess to remodel is no longer necessary. All you nead is the Subvi to SD and the average which comes with LabVIEW and so you already have.

    You have a lot of conversions. "itérations" and "numeric" should be I32 (right clic... representation...) I32)

    This sequence of rube goldberg comparison is stupid. All you need is a single comparison "SD".<0.005" and="" wire="" the="" output="" to="" the="" loop="" termination="" condition.="" (btw,="" there="" is="" also="" a="" primitive="" for=""><>

    Seems silly to write all the raw numbers to a file every 10ms. It is probably enough for the 'means' in a log file.

    Why do you not use acquisition of single point and a loop FOR. You can not make an acquisition of hardware timed with points N and dT data, eliminating the loop FOR entirely?

  • OBIEE 11.1.1.7 have reported "no data found" on data table columns

    Creates a data source jdbc using the 'Manage the Sources of private data' button, then a model of data using this data source and some sql codes.  Sample recorded data.  Trying to create reports OBIEE, but when I drag the columns on the data model, they appear in the table of data as any data found: / COLUMN_PATH

    When I try to run reports, they end up error, does not display any data.

    If I use BI Publisher reports on this data model, those that work very well.

    Any ideas on what's going on?

    Hello

    'Manage private Data Sources' = BI Publisher

    "data model" = BI Publisher

    OBIEE reports on BI Publisher data model? Impossible!

    I can't imagine even where you have found a way to create an analysis using a BI Publisher data model as a source.

    BI Publisher reports against BI Publisher data model works very well = this is the expected behavior.

    What/where/how do you do your analysis OBIEE?

  • How to display the data, that contains non-numeric characters.

    Hello

    I have table t1 with column of type varchar2 below

    ID

    ------

    11151

    11412

    1113

    1 to 114

    11b 15

    111 6

    Now, I need to display the data, that contains non-numeric characters.

    Did you get the result like:

    STR

    ----------

    1 to 114

    11b 15

    111 6

    WITH t
         AS (SELECT '11151' str FROM DUAL
             UNION ALL
             SELECT '11412' FROM DUAL
             UNION ALL
             SELECT '1113' FROM DUAL
             UNION ALL
             SELECT '1a114' FROM DUAL
             UNION ALL
             SELECT '11b15' FROM DUAL
             UNION ALL
             SELECT '111c6' FROM DUAL)
    SELECT *
      FROM t
      where regexp_like(str,'[^[:digit:]]');
    

    See you soon,.

    Manik.

  • When I export the report to EXCEL files and filter the data, it will display incorrect data

    Hi experts,
    In OBIEE 11.1.1.6, when I export the report to EXCEL file and open this file to view all the data, it is correct.
    However, as the amount of data is so, so I add filter for each column (click on the sorting-> filter filter)
    When I select data in the filters, I'm afraid that I find the value of 'White' in the last line in the filter area, but in the table, there no null data. Why? Are you facing the same issue?
    Secondly, when I select a value, it will generate a data line.

    For example:
    2008 - Region1
    -The region.2
    -Elle3
    2009 - Region1
    -The region.2
    -Elle3


    When I select 2008 data in EXCEL, it will display unexpected data, as below:
    2008 - Region1

    Exactly... If you export to the format you will not face question of null data or incorrect when filtered.

    Kind regards
    DpKa

  • PivotTable ' display the data as "percentage of accuracy

    Hello

    I would like to know if there is a way to configure the PivotTable ' display the data sub - percentage of ' precision.

    ATM, I have reports using SR types where one of those who are much bigger than others... Thus, when its generated report, it returns something like:

    TYPE A: 99%
    TYPE B: 0%
    TYPE C: 0%
    TYPE D: 0%

    How can I view other correct value types? Something like number of decimals...

    PS: as criteria in this report, I changed my data Format 'Number', ' less:-123 "to 15 decimal places.»

    Thank you
    Ramon

    902360 wrote:
    Hello

    I would like to know if there is a way to configure the PivotTable ' display the data sub - percentage of ' precision.

    ATM, I have reports using SR types where one of those who are much bigger than others... Thus, when its generated report, it returns something like:

    TYPE A: 99%
    TYPE B: 0%
    TYPE C: 0%
    TYPE D: 0%

    How can I view other correct value types? Something like number of decimals...

    PS: as criteria in this report, I changed my data Format 'Number', ' less:-123 "to 15 decimal places.»

    Thank you
    Ramon

    Well Yes. Can do. Read this link:

    http://shivabizint.WordPress.com/2008/09/14/changing-the-precession-of-percent-of-columns-in-pivot-table-of-OBIEE/

  • display the data in row columns

    I looked through the previous posts, but it is impossible to find a solution to my problem.

    I want to display the data in row columns.
    I have shown in the table below and test data and the sql code that gives me the result desired.
    However, you can see that the sql depends of me knowing all the values in the column "rank".
    I want a way to produce the output without knowing the values of rank.
    CREATE TABLE test1 (
      accno       NUMBER,
      holder_type VARCHAR2(10),
      rank        NUMBER)
    
    INSERT INTO test1 VALUES (1, 'acr', 0);
    INSERT INTO test1 VALUES (1, 'bws', 1);
    INSERT INTO test1 VALUES (1, 'aaa', 2);
    INSERT INTO test1 VALUES (2, 'cds', 0);
    INSERT INTO test1 VALUES (2, 'xxx', 1);
    INSERT INTO test1 VALUES (3, 'fgc', 0);
    INSERT INTO test1 VALUES (4, 'hgv', 0);
    INSERT INTO test1 VALUES (4, 'bws', 1);
    INSERT INTO test1 VALUES (4, 'qas', 2);
    INSERT INTO test1 VALUES (4, 'aws', 3);
    
    Here's the required output:=
    ACCNO     ALLCODES
    1     acr bws aaa
    2     cds xxx
    3     fgc
    4     hgv bws qas aws
    
    I.E. for each accno display the holder_types in rank sequence.
    
    SELECT * FROM
    (SELECT 
           a0.accno,
           a0.holder_type || DECODE(a1.holder_type, NULL, NULL, ' ') ||
           a1.holder_type || DECODE(a2.holder_type, NULL, NULL, ' ') ||
           a2.holder_type || DECODE(a3.holder_type, NULL, NULL, ' ') ||
           a3.holder_type || DECODE(a4.holder_type, NULL, NULL, ' ') ||
           a4.holder_type allcodes
      FROM (SELECT accno,
                   holder_type,
                   rank
              FROM test1
             WHERE rank = 0) a0,
           (SELECT accno,
                   holder_type,
                   rank
              FROM test1
             WHERE rank = 1) a1,
           (SELECT accno,
                   holder_type,
                   rank
              FROM test1
             WHERE rank = 2) a2,
           (SELECT accno,
                   holder_type,
                   rank
              FROM test1
             WHERE rank = 3) a3,
           (SELECT accno,
                   holder_type,
                   rank
              FROM test1
             WHERE rank = 4) a4
     WHERE a0.accno = a1.accno(+)
       AND a0.accno = a2.accno(+)
       AND a0.accno = a3.accno(+)
       AND a0.accno = a4.accno(+)) a
       ORDER BY accno

    So you're after what we call 'Aggregation in the chain.'

    Check this link as it highlights several techniques:

    Aggregation of string techniques

    A Re: Concat ranks of the values in a single column Michael

    At Re: multiple lines in a single line in the 'single column Table' followed by reason of Billy on the conduct of a stragg first.

    In addition, 11 GR 2 has the LISTAGG function.

  • display of dates to MySQL to a form

    I'm trying to insert a date in a table of my user fills out a form. the field with the date is e_date. I want the date format - mm/dd/yy "us." I don't know what code to use in the form.
    Any help is appreciated. The code for the form page is below.

    awsweb wrote:
    > I'm trying to insert a date in a table of my user fills out a form.
    > the field with the date is e_date. I want the date format - in '' We. ''
    > mm/dd/yy.

    You can't do it. MySQL stores dates in a format, the
    ISO-recommended AAAA-MM-JJ. If you try to insert the date in one
    another format, MySQL stores 0000-00-00.

    To manage the display of dates when the la recuperation recovery of MySQL database, use the
    Function DATE_FORMAT()) in your SQL query.

    SELECT DATE_FORMAT (e_date, '% m/%d/%y') AS e_date
    FROM MyTable

    http://dev.MySQL.com/doc/refman/5.0/en/date-and-time-functions.html#id2848705

    --
    David powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • Satellite M30X: Screen doesn't work after sleep mode

    I own Satellite M30X (model) after I left the laptop on while awhile, the computer went on standby to fashion. When I turned it on, the screen does not work, everything else is ok. I use the external monitor to the laptop. Everything seems to be in t

  • How can I move my license of visio of my old laptop to my new laptop?

    How can I move my license of visio of my old laptop to my new laptop?

  • Windows Live Mail lost from the storage boxes

    I have also returned to Windows 7 from Windows 10 and have lost 2 subfolders of storage that contains about 1000 emails. My Telco provider said it is not their problem, because I can still send and receive mails to my optus email address. Help, pleas

  • EMR vs DMP

    Hello As a profitable system, I wonder if it is better to install a number of ASD in our environment or if I can get similar results by implementing the EMR instead. Perhaps a mixture of these units is possible? Second, is there any point to have a r

  • BlackBerry Smartphones Facebook app does not connect

    Application Facebook of my wife accepts most of his user name and password. This started happening after the 2.0.0.37 of enforcement. The phone is a Pearl 9100, running OS 5.0 Bundle 1262. When she enters his user name and password and then click on