Filter the table data

I use JDeveloper 11.1.1.3.0 and I created a table (as a master / detail) and I can't seem to get the filtering of data enabled for the table captain. I have the property "Filterable" of the column set to true, but can not see the boxes of filtering above each column. However, filtering is displayed for the secondary table.

How can I get this to work? Or is not possible for a Master table having data filtering?

Hi Anil,

Can u please check that your Master ViewObject has viewCriteria and also check if the criteria name mapped in the median file your ViewObject as pageDef below
++
++

One also check your master af:table this has now in your JSPX

+ filterModel = "#{bindings." EmployeesViewQuery.queryDescriptor}"queryListener =" #{bindings. " EmployeesViewQuery.processQuery}' filterVisible = 'true ' +.

Kind regards
Suganth.G

Published by: celine on 18 January 2011 09:44

Published by: celine on 18 January 2011 09:44

Tags: Java

Similar Questions

  • Filter the Table during execution and keep uncommitted line changes

    Hello

    I have a requirement which has been quite difficult for me so far.

    I use the first version Jdev 12 c.

    I have a table of AF that is connected to a ViewObject that is used for sending new data.

    When I add lines to this ViewObject, I put a field that I intend to use for filtering so that the number of lines is not displayed at the same time.  This field comes from a selection of LOV.

    I want to be able to change lines are displayed in the table based on what is the current value of selection LOV.  This isn't a problem for me, and it works perfectly using a view criteria and a variable transitional EO I put in place.

    My problem is that when I select a new value in the LOV and change to bind the variable view criteria, I want all changes uncommitted to the lines to be preserved in the View object.  Currently, the lines are not keep their changes, and I need to do this, because after that the user has entered data for a large number of lines, there will be a commit to the database for all new lines added.  Is this possible or should I look for an alternative?

    I also tried to use a table filter in the link of the page layer, but I get an error that I can't debug. It is marked as Houston-34014.  In this method, I try to access my bean in pageFlowScope to filter the table.  This bean variable is updated when the LOV selection changes.  Error messages settings are {0 = oracle.jbo.Key [-220-225], 1 = root}.  I also read that this filter parameter is a static filter and does not dynamically during execution.

    Any help would be appreciated, thanks for reading.

    Hello lhymel

    I think that your problem is solved, so please close this thread and open a new thread for tuning related problem

    Thank you

    -Ashish

  • ADF table filter - date column - in the table data type is timestamp

    Hello

    I want to filter adf table based on the time stamp column, but unable to do so.

    Details.

    1. The data type of the column (dateAdded) in the database is timestamp.
    2. the type of this column in the mode attribute is oracle.jbo.domain.Timestamp. and the format is DD/MM/YYYY
    3. the part of the code in my page jspx is

    < af:column sortProperty = filterable "DateAdded" = "true" width = '80' sortable = "true" headerText = "creation Date" id = "c6" >

    < f: facet = name 'filter' >

    < af:inputDate value = "#{vs.filterCriteria.DateAdded}" id = "id1" > "

    < af:convertDateTime pattern = "dd/MM/yyyy" / >

    < / af:inputDate >

    < / f: facet >

    < af:outputText value = "#{rank." DateAdded}"id ="ot5">

    < af:convertDateTime pattern = "#{bindings." MYCASE_CONS_VO1.hints.DateAdded.format}"/ >

    < / af:outputText >

    < / af:column >

    4. everything by filtering this field giving entered in the format DD/Mm/yyyy, the query runs but no change in the result (the value of this field in the table lavel is 10.54.16.000000000 18 June 14 h)

    Note: In the interface user, the value of the field is display in the format DD/MM/YYYY.

    Please feel free to ask me questions. Enjoy for little help.

    Thank you

    ASIS

    You can try with that mentioned in the link:

    http://dkleppinger.blogspot.in/2011/09/how-to-ignore-time-component-of-date.html

    Date query shows no results for the date of the day

  • How to filter the tables on pages of body only?

    I have the following code to manage the tables:

    for (F_ObjHandleT tableId = F_ApiGetId(FV_SessionId, docId, FP_FirstTblInDoc); tableId; tableId = F_ApiGetId(docId, tableId, FP_NextTblInDoc))
    {
      for (F_ObjHandleT rowId = F_ApiGetId(docId, tableId, FP_FirstRowInTbl); rowId; rowId = F_ApiGetId(docId, rowId, FP_NextRowInTbl))
      {
        for (F_ObjHandleT cellId = F_ApiGetId(docId, rowId, FP_FirstCellInRow); cellId; cellId = F_ApiGetId(docId, cellId, FP_NextCellInRow))
        {
           ...
        }
      }
    }
    

    How can I get only the tables that exist in the body pages. I want to filter these alone...

    Help, please.

    The function that it works. Thank you.

  • Help file XML generating the table data

    Hello, I am new to generate XML and tried a host of options, including using variants of XMLELEMENT, XMLGEN and XMLDOM, all to nothing does not. I need to write code that will generate an XML file that will produce results such as below. Data will be taken from a table called cmdb_formatted_test and number of lines may vary. The code below seems to work almost however I get an error "not enough values. The select works if I don't mean to put the clob data in the variable.

    [code]

    DECLARE

    l_file_name VARCHAR2 (30);

    l_file_path VARCHAR2 (200);

    l_xmldoc CLOB.

    BEGIN

    l_file_path: = 'cmdb_dir ';

    l_file_name: = 'TEST_XML.xml ';

    Select xmlelement ("xmlns:ns1 = 'CILoad' ns1:CIList'),

    XMLELEMENT ("ns1:ConfigurationItem", XMLATTRIBUTES (c.transactionID, c.action),

    XMLELEMENT ("ns1:RequiredElements",

    XMLELEMENT ("ns1:AssetTag", c.assettag)

    XMLELEMENT ("ns1:CIName", c.ciname)

    XMLELEMENT ("ns1:FdaStatus", c.fdastatus)

    XMLELEMENT ("ns1:OwnerGroup", c.ownergroup)

    XMLELEMENT ("ns1:OwnerPerson", c.ownerperson)

    XMLELEMENT ("ns1:SoxCritical", c.soxcritical)

    XMLELEMENT ("ns1:Status", c.status)

    XMLELEMENT ("ns1:Type", c.type)

    ) like"ADDITIONS".

    ). getclobval()

    in l_xmldoc

    of cmdb_formatted_test c;

    dbms_xslprocessor.clob2file (l_xmldoc, l_file_path, l_file_name, nls_charset_id ('UTF8'));

    END;

    /

    [/ code]

    Need for XML output is attached

    You don't have to try things at random, all of this is well documented, with examples:

    Generate XML from the database data

    Your query, although not correct, returns two columns. That's why Oracle is complaining when you try to search in a single variable.

    Not tested, but the following should be close to what you want:

    DECLARE
    
      l_file_name      varchar2(30) := 'TEST_XML.xml';
      l_file_path      varchar2(30) := 'CMDB_DIR'; -- you probably want uppercase here
      l_xmldoc         clob;
    
    BEGIN
    
      select '' ||
             xmlserialize(document
               xmlelement("ns1:CIList"
               , xmlattributes('CILoad' as "xmlns:ns1")
               , xmlagg(
                   xmlelement("ns1:ConfigurationItem"
                   , xmlattributes(
                       c.transactionID as "transactionID"
                     , c.action as "action"
                     )
                   , xmlelement("ns1:RequiredElements"
                     , xmlelement("ns1:AssetTag", c.assettag)
                     , xmlelement("ns1:CIName", c.ciname)
                     , xmlelement("ns1:FdaStatus", c.fdastatus)
                     , xmlelement("ns1:OwnerGroup", c.ownergroup)
                     , xmlelement("ns1:OwnerPerson", c.ownerperson)
                     , xmlelement("ns1:SoxCritical", c.soxcritical)
                     , xmlelement("ns1:Status", c.status)
                     , xmlelement("ns1:Type", c.type)
                     )
                   , xmlelement("ns1:OptionalElements", null)
                   )
                 )
               )
               as clob
             )
      into l_xmldoc
      from cmdb_formatted_test c ;
    
      dbms_xslprocessor.clob2file(l_xmldoc, l_file_path, l_file_name, nls_charset_id('AL32UTF8'));
    
    END;
    /
    
  • Refresh the table data blocks SQL Developer

    Hello

    I am facing a problem with SQL Developer Version 3.2.20.09 build HAND - 09.87 (we run it on OEL 6.4).

    When I click on the Refresh button in the tab "Data" from a table, SQL Developer crashes with the following stack.

    Sometimes it works but sometimes it crashes... and the table contains only 5 lines. Any ideas?

    Exception occurred during the transmission of the event:

    Impossible

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAtImpl(Container.java:2515)

    at java.awt.Container.findComponentAt(Container.java:2480)

    at java.awt.Container.findComponentAt(Container.java:2463)

    at sun.awt.X11.XGlobalCursorManager.findComponentAt(XGlobalCursorManager.java:159)

    at sun.awt.GlobalCursorManager._updateCursor(GlobalCursorManager.java:193)

    at sun.awt.GlobalCursorManager.updateCursorImmediately(GlobalCursorManager.java:95)

    at sun.awt.X11.XComponentPeer.updateCursorImmediately(XComponentPeer.java:795)

    at java.awt.Component.updateCursorImmediately(Component.java:3032)

    at java.awt.Container.validate(Container.java:1494)

    at java.awt.Window.dispatchEventImpl(Window.java:2516)

    at java.awt.Component.dispatchEvent(Component.java:4576)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)

    to java.awt.EventQueue.access$ 400 (EventQueue.java:96)

    in java.awt.EventQueue$ 2.run(EventQueue.java:631)

    in java.awt.EventQueue$ 2.run(EventQueue.java:629)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:116)

    in java.awt.EventQueue$ 3.run(EventQueue.java:645)

    in java.awt.EventQueue$ 3.run(EventQueue.java:643)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)

    in java.awt.Dialog$ 1.run(Dialog.java:1073)

    in java.awt.Dialog$ 3.run(Dialog.java:1127)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.awt.Dialog.show(Dialog.java:1125)

    at java.awt.Component.show(Component.java:1672)

    at java.awt.Component.setVisible(Component.java:1624)

    at java.awt.Window.setVisible(Window.java:882)

    at java.awt.Dialog.setVisible(Dialog.java:1012)

    at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)

    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)

    to java.awt.EventQueue.access$ 400 (EventQueue.java:96)

    in java.awt.EventQueue$ 2.run(EventQueue.java:631)

    in java.awt.EventQueue$ 2.run(EventQueue.java:629)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)

    in java.awt.Dialog$ 1.run(Dialog.java:1073)

    in java.awt.Dialog$ 3.run(Dialog.java:1127)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.awt.Dialog.show(Dialog.java:1125)

    at java.awt.Component.show(Component.java:1672)

    at java.awt.Component.setVisible(Component.java:1624)

    at java.awt.Window.setVisible(Window.java:882)

    at java.awt.Dialog.setVisible(Dialog.java:1012)

    at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)

    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)

    to java.awt.EventQueue.access$ 400 (EventQueue.java:96)

    in java.awt.EventQueue$ 2.run(EventQueue.java:631)

    in java.awt.EventQueue$ 2.run(EventQueue.java:629)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)

    in java.awt.Dialog$ 1.run(Dialog.java:1073)

    in java.awt.Dialog$ 3.run(Dialog.java:1127)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.awt.Dialog.show(Dialog.java:1125)

    at java.awt.Component.show(Component.java:1672)

    at java.awt.Component.setVisible(Component.java:1624)

    at java.awt.Window.setVisible(Window.java:882)

    at java.awt.Dialog.setVisible(Dialog.java:1012)

    at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)

    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)

    to java.awt.EventQueue.access$ 400 (EventQueue.java:96)

    in java.awt.EventQueue$ 2.run(EventQueue.java:631)

    in java.awt.EventQueue$ 2.run(EventQueue.java:629)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)

    in java.awt.Dialog$ 1.run(Dialog.java:1073)

    in java.awt.Dialog$ 3.run(Dialog.java:1127)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.awt.Dialog.show(Dialog.java:1125)

    at java.awt.Component.show(Component.java:1672)

    at java.awt.Component.setVisible(Component.java:1624)

    at java.awt.Window.setVisible(Window.java:882)

    at java.awt.Dialog.setVisible(Dialog.java:1012)

    at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)

    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)

    to java.awt.EventQueue.access$ 400 (EventQueue.java:96)

    in java.awt.EventQueue$ 2.run(EventQueue.java:631)

    in java.awt.EventQueue$ 2.run(EventQueue.java:629)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)

    in java.awt.Dialog$ 1.run(Dialog.java:1073)

    in java.awt.Dialog$ 3.run(Dialog.java:1127)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.awt.Dialog.show(Dialog.java:1125)

    at java.awt.Component.show(Component.java:1672)

    at java.awt.Component.setVisible(Component.java:1624)

    at java.awt.Window.setVisible(Window.java:882)

    at java.awt.Dialog.setVisible(Dialog.java:1012)

    at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)

    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)

    to java.awt.EventQueue.access$ 400 (EventQueue.java:96)

    in java.awt.EventQueue$ 2.run(EventQueue.java:631)

    in java.awt.EventQueue$ 2.run(EventQueue.java:629)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:105)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)

    in java.awt.Dialog$ 1.run(Dialog.java:1073)

    in java.awt.Dialog$ 3.run(Dialog.java:1127)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.awt.Dialog.show(Dialog.java:1125)

    at java.awt.Component.show(Component.java:1672)

    at java.awt.Component.setVisible(Component.java:1624)

    at java.awt.Window.setVisible(Window.java:882)

    at java.awt.Dialog.setVisible(Dialog.java:1012)

    at oracle.dbtools.raptor.backgroundTask.TaskDialog.showDelayedDialog(TaskDialog.java:84)

    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.showModalDialog(RaptorTaskManager.java:290)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$ 600 (RaptorTaskManager.java:41)

    to oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ 2.run(RaptorTaskManager.java:272)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) [...]

    Kind regards

    Sébastien

    Laurent,

    Thanks for the update - to be able to point the finger at something specific to the environment is always useful.  As noted above, the TaskDialog.showDelayedDialog has been rewritten to 4.0.  In addition, 4.0 requires jdk.1.7, so between the two of them maybe behaviour will improve without the need to limit the way in which the o/s assigns tasks to processors.  It is unclear if a particular flavor of the o/s may be more prone to this condition of StackOverflowError, or maybe just 64 - bit o/s in general.

    Anyway, no matter what output 4.0 comes out, at least we are two weeks closer to her now.

    Thank you

    Gary

  • Filter the table display of the query object (it can a bug in jdev 12)

    Hello:

    I found an error/bug possible in jdeveloper 12 c when I migrate my application of jdev 11g.

    To test this issue, I did the same test request in jdeveloper 11g and jdeveloper 12 c (to avoid to migrate the process).

    Project template

    -Create a display of the query object. Code:

    SELECT 1 CODE, 100 DESCRIPTION
      FROM DUAL
    UNION ALL
    SELECT 2 CODE, 200 DESCRIPTION
      FROM DUAL
    

    -Create a Module of the Application, and then drag this point of view in.

    ViewController project

    -Create a page and drag in the criteria named 'All searchable attributes' of the previous ViewObject as "ADF table filtered.

    -Run the application

    Results:

    On jdeveloper 11g, however it makes the filter above the table box in jdev not 12 c.

    Is this a bug or I need to select something in jdev12c to get the same functionality?

    Yes, known bug 17279781.  It is currently scheduled for a 12.1.4 fix.  If this issue is crucial to you, please file an SR, mentioning the bug number and indicate your reasons for wanting a fix as soon as possible.

    Note there is a solution:

    To work around the problem, you can configure the filter yourself by adding an af:inputText

    facet filter columns and bind the inputText property value to the EL

    #{vs.filterCriteria. }. The page to rerun the filter for

    the column look and work.

    CM.

  • Getting the values MIN and MAX of the table data

    I have the table and the following records.
    create table test_bank ( trans_id  number ,   trans_date   date ,    trans_amt    number ,      debit_credit_indicator varchar2(3) )
    
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/17/2013 08:02:44', 'MM/DD/YYYY HH24:MI:SS'), 1099, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/18/2013 08:03:02', 'MM/DD/YYYY HH24:MI:SS'), 800, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/19/2013 08:03:18', 'MM/DD/YYYY HH24:MI:SS'), 500, 'db');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/20/2013 08:03:36', 'MM/DD/YYYY HH24:MI:SS'), 200, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (2, TO_DATE('01/22/2013 08:04:01', 'MM/DD/YYYY HH24:MI:SS'), 400, 'db');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (2, TO_DATE('01/23/2013 08:04:16', 'MM/DD/YYYY HH24:MI:SS'), 345, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (2, TO_DATE('01/24/2013 08:04:33', 'MM/DD/YYYY HH24:MI:SS'), 600, 'db');
    COMMIT;
    I need to get the highest and lowest credit / debit amount for each trans_id.
    I tried the SQL query below. Could you please let me know if a better solution.
    select distinct * from (
    select trans_id , case when debit_credit_indicator ='db' then  max(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 when  debit_credit_indicator ='cr' then  max(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 else null end trans_amt , debit_credit_indicator 
     from test_bank  
     union
     select trans_id , case when debit_credit_indicator ='db' then  min(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 when  debit_credit_indicator ='cr' then  min(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 else null end trans_amt , debit_credit_indicator 
     from test_bank   )
     order by trans_id
    Thank you

    Hello

    to get the answer, we need to know what is your expected results (showing an example).

    I don't know if this is appropriate for your needs:

      SELECT trans_id, debit_credit_indicator, MAX (trans_amt) trans_amt, 'MAX' min_max
        FROM test_bank
    GROUP BY trans_id, debit_credit_indicator
    UNION ALL
      SELECT trans_id, debit_credit_indicator, MIN (trans_amt)trans_amt, 'MIN' min_max
        FROM test_bank
    GROUP BY trans_id, debit_credit_indicator
    ORDER BY trans_id, debit_credit_indicator, min_max DESC;
    
      TRANS_ID DEBIT_CREDIT_INDICATOR  TRANS_AMT MIN_MAX
    ---------- ---------------------- ---------- -------
             1 cr                            200 MIN
             1 cr                           1099 MAX
             1 db                            500 MIN
             1 db                            500 MAX
             2 cr                            345 MIN
             2 cr                            345 MAX
             2 db                            400 MIN
             2 db                            600 MAX    
    

    Kind regards.
    Al

  • Copy the table data (including images) of InDesign to Excel (or other formats such as RTF)

    Hello

    We have a problem trying to get data to InDesign to Excel.

    He has this price list in InDesign, with images and small "icons" (also images) that indicate which element appears under the main image for each row in the table. Each line of 'table' can contain a number of elements, separated by return cart + line break or a similar combination.

    The problem is that we can't get good data and images appear in any other editable format. Copy and paste directly into Excel was still the most successful, but here the images are lost. Export to PDF and Acrobat Pro, exporting to other formats always seem to fail in a way or another (paintings take place on top of the other, images and so on, has lost different for the different export formats).

    Untitled-1.jpg

    Data copied to OpenOffice Calc (and then saved as a file in excel format). Yellow areas added to show where the images were in InDesign.

    Price a bit blurred in the picture showing above.

    Are there good ideas how to copy the InDesign table to another editable format (which requires no licenses Adobe...)?

    Thank you

    Andreas

    I didn't notice the direct export from InDesign to RTF. You had to put the cursor within the story make this option appear!

    It is really good, and I sent the result to those who will use it, for them to check if she's good enough and if they can take for excel or work with him in the RTF format as is.

    Thanks a lot for pointing out this option!

  • copy and paste the table data

    Hi all

    I'm trying to convert some WinHelp files old HTMLHelp format. All files have as subjects with the same tables of three columns.

    Part of the done conversion tables look more "pretty", then we have a new scheme of formatting of table together upwards in a model of .htt file.

    It is, I can copy the new table and its formatting in my editor WYSIWYG RoboHelp... but to transfer DATA from the old table, I have to cut and paste data from each cell individually. I can just select the table of old (and its data) "in mass" and paste the data into the new table snazzy. Because the tables have three columns and up to 30 lines, it can become quite painful, cut and paste data from each cell in the corresponding cell in the new table.

    Is it possible to make this process faster? Ideally, I'd like to just reduce the process steps:

    (1) copy a blank version of the table of new, prettier in RoboHelp WYSIWYG.
    (2) cut out of the old table data.
    (3) paste the data into the new table.

    I hope I do my question clearly...

    Thanks in advance!
    Dave

    Colum, I think that his anxiety is caused by not being not able to copy/paste the content in multiple cells, you can in Word.

    Unfortunately, Dave, that is not possible...

    Leon

  • Filter for table data, the range of data obtained and defined 2D

    I produce data of an ultrasonic sensor at 1 K Hz, and there is a lot of data (data points range of 0 to 10). However, in some cases when I know that the data should be about 7 (for example) I get outliers (about 9 and 10). Is it possible to define a filter for data in the defined range.

    I averaged the data to get an average value, and outliers are distorting. In the worst case, my outliers are 30 to 40% of the data generated. I created a filter to sort the data and, taken from the lowest value. I stop the loop when data reaches a value greater then 9. But this seems to take a long time (because the loop checks for each data point and there are 1000s of them).

    Is there a better way to filter data and define a predefined table range to collect?

    I enclose my filter.vi... and a set of samples of my previous data. The ranges of data of 10-8 and would like to have the range 7.5 to 8.5 to consider. The sensor records tension here and the problem can be solved by installing a different type of sensor, but if a filter in LabView can due it, the sensor that we use now is absolute.

    I am in kind of emergency, my design in unfinished because of this problem, if someone can find some time to share some suggestions, I will be grateful.

    Thanks in advance.

    See attachment.  I have incorporated the data you've posted in the vi.  It doesn't seem like any data were less than 8.7 or so, so I modified the scope so it would be a few points on average.  Some games were completely out of reach while the average came back like NaN (not a number) due to a division by zero.

  • Filter the table break corresponding to the part of the column

    Hello

    JDeveloper Version 11.1.2.4.0.

    I have a table with a filter. I need to make this filter to do the following:

    select column1 from table where upper(column1) like upper ('%filterValue%')
    

    (If in the column, I have a name of "Christopher" and I look in the filter of "Frank" I want the line with Christopher is put into correspondence.)


    I have replace the getCriteriaItemClause like this:

        public String getCriteriaItemClause(ViewCriteriaItem vci) {
            if (vci != null) {
                AttributeDef attrDef = vci.getAttributeDef();
                String attrName = attrDef.getName();
    
    
                if ("java.lang.String".equals(attrDef.getJavaType().getName()) && vci.getValue() != null) {
                    String colName = vci.getViewCriteria().isCriteriaForQuery() ? vci.getColumnNameForQuery() : attrName;
                    String filterVal = (String)vci.getValue();
    
    
                    String sql = "(UPPER(%s) like UPPER('%s%%'))";
    
    
                    String clause = String.format(sql, colName, filterVal);
                    System.out.println(" The view criteria is overriden to: " + clause);
                    return clause;
                }
            }
            return super.getCriteriaItemClause(vci);
        }
    

    The display criteria replaced: (UPPER (Person.LAST_NAME) as UPPER ("Franck%%'))

    I tried to do the SQL string to be ' (UPPER (%s) as SUPERIOR ('%%%')) ", but it does not work and gives me very strange and unexpected results.").


    Kind regards

    Pamela

    Is not you the problem in how you build the qry sql? Have you tried something like:

            String qwe = "Hello";
           

    String xyz = "upper('%"+qwe+"%');";

    It prints "upper ('%hello%');", which is what you want. Right?

  • How to allow the user to filter the report data?

    I read a lot of entries on this topic related to interactive reports. From what I can tell, the version we are on... 3.0.1.00.08, does not have the 'classic' vs 'interactive '. So, can someone recommend the best way for me to allow the user to filter report results? Specifically, the user wants to be able to see only active records, but I also want that they want to see all documents (active and inactive).

    Thank you
    Kristina

    Kristina,

    You can add a list "select" to your page. Calling it something like P1_LIST and add it to your where clause as...

    select
    col1,
    col2,
    col3
    from table
    where col2 = decode (:P1_LIST, '-1', col2, :P1_LIST)
    

    You can set the LOV to auto-submit or have a 'Send' button so that your report is filtered according to the value of P1_LIST.

    Also, in the properties of your selection list, set the 'Null view' to 'Yes', 'Display Null value' to something like 'ALL' (or whatever text you want) and the "Null return value'-1 (or whatever value you have in decoding).

    I hope this helps.

    -Chris

  • Location of the table "Data store path Selection" database and input valid value for the Round Robin

    Long history, work paths peripheral to the equivalent of "Round Robin" (VMware) programmictally change as seen in vCenter - Volume Properties-> manage-> trace selection policy paths.

    Struggling to get the value to change through scripts. Think that it requires the value as expected in the datamodel vcenter. Find it by inspecting the paintings have not yet

    Thanks in advance

    The values on the parameter - MultipathPolicy are: fixed, MostRecentlyUsed, RoundRobin, unknown

    This changes all policies to roundrobin on a specific host

    Get-VMHost  | Get-ScsiLun -LunType disk |  Set-ScsiLun -MultipathPolicy "roundrobin"
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • How can I filter a table of data control without entering the query

    I have a table from a WSDL-based web service data control.

    I want to filter the table without input query in the filter text box. Without text filter box, each could filter the table with a query hardcoded internally.
    For example, when the user menu button click and then it filters the table where type = '1' and B menu button filters the table by type = '2' and C menu button filters the table by type =' "."

    How can I filter the table without entering the query?

    Could someone point me to a solution please.

    Thank you.
    11.1.5 jdev

    Published by: 893364 on October 26, 2011 12:15

    Published by: 893364 on October 26, 2011 12:21

    Hello

    When you have created the table, have you tried selecting the option "filter". Select the table, and access the property of m.. In the toolbar of the Properties Inspector, there is an icon to change the configuration. His fields of filter adding filter for the user to search in.

    Option 2: Data from the Web Service are actually held in iterators. If you want to filter the Web service request, I wouldn't use the WS domain controller but a proxy of JAX - WS in a POJO to recover data from the WS. Then the data control created from the POJO. You might have a method exposed on the POJO which allows you to filter the data internally that is held

    Frank

Maybe you are looking for

  • an av playing on a windows pc

    HI - can someone tell me if this is possible.  I created an Audio/visual presentation to our camera Club, but they have to play on a windows pc.  I tried, but it will not work, is it possible to do this please?  The file has been created using openin

  • Equium A200 card expansion Firewire (PSAF5E)

    Hi all. I'm trying to find my laptop firewire expansion card to download video content from a camera.I am a novice when it comes to this sort of thing, but I understand that you can get two types of card for the expansion port. Pointers would be much

  • Wil, we get false color?

    I wanted to ask if F55 will get false color for raw? It would be great to have possibility of shooting raw with lut, false colors for raw signal... Tomas

  • Error code 28 on ethernet controller.

    I can't connect to the internet my ethernet controller, sm bus controller and multimedia audio controller, my window controller, that not everyone has a driver installed.  Help what can I do?

  • Do not share my XP computer on the network

    My XP computer does not show up on my network. All other computers show and can share files and printers. I enabled sharing and printers. Is there any setting I can change to enable sharing?