Filter  only records which has particular column initial

Hi friends
  I am using filter for a table view, in my talbe for a particular column , it has initial values also for some records,
  my question is how the user can filter only the records that has the particular column value is initial.
   what has to write in the filter field

i am not sure how you can handle it with FILTER = SERVER
but if you set it to APPLICATION, then you can write your own logic . for filtering. in this case in the filter field you may request the user to enter "INITIAL" to search for initial values. This text  "INITIAL" you can capture in your oninputprocessing and filter the table.
other option (not exactly FILTER) is to set sort = SERVER and user can do ascending sort to see the initial value records first.
Regards
Raja

Similar Messages

  • Read only view which has an ORDER BY clause

    Aim to create a read only view which has an ORDER BY clause
    Sample script
    CREATE TABLE tab1 (
    col1 VARCHAR2(3),
    col2 NUMBER
    INSERT INTO tab1(col1, col2) VALUES ('ccc', 30);
    INSERT INTO tab1(col1, col2) VALUES ('bbb', 20);
    INSERT INTO tab1(col1, col2) VALUES ('ddd', 40);
    INSERT INTO tab1(col1, col2) VALUES ('aaa', 10);
    COMMIT;
    -- To creat View
    CREATE OR REPLACE VIEW v_tab1
    AS
    SELECT
    col1,
    col2
    FROM
    tab1
    ORDER BY
    col1
    WITH READ ONLY;
    I get the following error
    WITH READ ONLY
    ERROR at line 10:
    ORA-00933: SQL command not properly ended
    When I comment out the ORDER BY clause, the view is created
    Pls let me know how I can create a read only view with ORDER BY clause

    Hi,
    take a look at the documentation for CREATE VIEW, there is a restriction:
    "You cannot specify the ORDER BY clause in the subquery if you also specify the subquery_restriction_clause."
    Wolfgang

  • How to get the records which has a specified x/y coordinates

    Hi,
    How to get the records which has a specified x/y coordinates. I have a table which has street data. And another table has a point data. Now I just want to get the records from street data which includes the points in the point data table. Can any one give your suggestions
    Thanks and Regards
    Aravindan

    Aravinda,
    If you want to find the line segments which intersect the given
    set of points, you can do that with SDO_RELATE.
    siva

  • How can we restrict the other user to change the record which has been entered by particular user in MDS

    I have created Product entity in MDS. It's having the following values:
    Name  Code  Owner
    Bike    1      ABC
    Car      2     XYZ
    Cycle   3     RRR
    owner XYZ can change the record of RRR. But if owner XYZ or any other owner in this entity tried to update the ABC's record, access should be denied. That means, no one should have the permission to change the records which are entered by ABC.
    For this i have executed this code
    CREATE TRIGGER mdm.party_trial_readonly ON mdm.tbl_1042_1278_EN AFTER UPDATE, DELETE AS
    IF EXISTS (SELECT * FROM deleted WHERE readonly = 1)
    BEGIN
       ROLLBACK TRANSACTION
       RAISERROR ('Attempt to change a read-only row', 16, 1)
       RETURN
    END;
    After executing this code i couldn't edit any of the records.
    Please help me out in this.

    I have created 2 entities called Party and Owner.  Party has following columns (name, Code, Owner (Domain Based Attribute)) Owner has following columns (name, Code) And I have Created one Derived Hierarchy.
    From user and Group Permision Section, Hierarchy Members tab I have given read only permision to me (administrator of the Model). When I gave the permision I have selected users and Inherited from group in permission tab. And I'm not the part of any group.
    Now I'm not able to see my model except the explorer area. And I'm not able to delete the permission from the user. As per the admin guide we need to delete permission from group.
    Though I'm not the part of any group, I'm not able to proceed further to delete the permission.
    Please help me out in this regard. Thanks!

  • How to update all the record for a particular column in a table based on search criteria.

    Hi All,
    I am new to ADF. I have a requirement, where i have to perform mass update on a table.
    Scenario:
    Ex: I have a dept manual search region. where i search with deptId: 20. I get 20 records in my table. now i have  another region where i have a inputchoice list which contains all the columns names that exists in dept table. Beside that i have a input text box and an update button
    Now user, first searches with dept id:20 and clicks on search button, where it shows 20 record in the table. He then select a column from input choicelist(ex: ManagerId), then enters new value in the input box(ex: abc) then clicks on update button.
    Now i want, all the records in the ManagerId column with dept id:20 to be updated with the new value "abc"
    Can anyone help me with the code.
    Thanks in advance..

    Hi,
    If you go to your VO and generate the ViewObjectImpl, in there you can create a method which will contain two parameters, 1 the attribute name and 2 the value.
    Then you can follow something like explained in this post:
    ADF Tutorial: How to apply bulk actions to a view object rows
    The only difference is that you will need to create a method like this:
    public void updateAttribute(String attribute, Integer value){
            RowSetIterator iter = createRowSetIterator(null);
            while (iter.hasNext()){
                Row row = iter.next();
                row.setAttribute(attribute, value);
    Then you expose that as a client interface and then after you filter your table by your criteria you just need to execute this method passing the right parameters.
    Regards

  • How to insert a record which has a forgien key using Hibernate?

    Dear all,
    I have two Tables called User, Location. User has a foreign key "location_id" which is the primary key of Location.
    The Location has already a record with location_id = 1.
    Now I want to insert a new record to User table by Hibernate as follows:
    Session session= this.getSession(); Location location = new Location(); location.setLocationId(new Long(1)); User user = new User(); user.setUserAccount("userAccount"); user.setFirstName("firstName"); user.setLastName("lastName"); user.setLocation(location); session.save(user);
    The new record was inserted. But the column "location_id" is null (not 1 as I expected).
    Could you tell me what is wrong?
    Regards.
    Pengyou

    pengyou wrote:
    Dear all,
    I have two Tables called User, Location. User has a foreign key "location_id" which is the primary key of Location.
    Is it mapped as 1:1? Is it bi-directional?
    The Location has already a record with location_id = 1.
    Now I want to insert a new record to User table by Hibernate as follows:
    Session session= this.getSession();
    Location location = new Location();
    location.setLocationId(new Long(1));Hibernate sets that, not you.
    User user = new User();
    user.setUserAccount("userAccount");
    user.setFirstName("firstName");
    user.setLastName("lastName");
    user.setLocation(location);
    session.save(user);     
    The new record was inserted. But the column "location_id" is null (not 1 as I expected).
    Could you tell me what is wrong? Hard to tell without your mapping .hbm.xml. But you don't set the ID, Hibernate manages that.

  • How to make a particular record in a particular column in a table as a link

    Hi All,
    I have a table in which the data is getting populated from the response of the BAPI.
    I have a column in this table which is not related to the BAPI response. I am binding the column with locally created attribute which is related to the custom controller also.
    The name of this column is LINK. The records for this column is "click to view".
    According to the requirement,I have two webservices which I am suppose to use in the same table.
    So the "click to view" should be enbled for the records from one webservice and should be disabled for the other.
    Now I have successfully added the column LINK and the record for it is also"click to view" as i have set it.But its not acting as a link.
    So kindly help me out.Looking forward to you.
    Regards
    DK

    Hi Dipendra,
    You can dynamically change TableCellEditor as you want a LINK at one time and no LINK(i.e. TextView ) at other time.
    You can get the handle for your table with IWDTable interface and then get handle for your table column with IWDTableColumn. Once you get these you can change the TableCellEditor for that column at runtime.
    I would sugesst you to read <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7f531207-0301-0010-5f9c-8652a3232ae0">this</a> document for further details on how to set TableCellEditor at runtime etc.
    Hope this helps,
    Regards,
    Mausam

  • File batching in SOA 11g for records which has parent-child relation

    Hi,
    We have a requirement to read a huge file and process to DB. We use AIA and Syncread operation to read the file.
    Huge file with more than 40K lines are getting Transaction timeout and current transactiontimeout was set to 5 min in Server.
    I would like to know the option to batch / chunk the records without increasing the transaction timeout setting in Server.
    Input File is a fixed length file has a Header and Trailor. SubHeader lines do not have any count like how many lines are associated with it. Only option to relate DetailLine with its subheader is some Reference number.
    Schema used is native schema builder and the file has structure like below.
    10 123123 123 -- Header
    20 10 *123* 123 -- SubHeader1
    20 20 *123* 456 -- Detail1
    20 20 *123* 789 -- Detail2
    20 20 *123* 890 -- Detail3
    20 10 *234* 567 --SubHeader2
    20 20 *234* 789 --Detail1
    20 20 *234* 741 --Detail2
    90 9 123321 --Trailor
    Regards,
    Dheepika.K

    Hi,
    Thanks for your reply. I just emailed the screen shot to your email . Please verify and let me know your comment.
    Regards,
    Kiran Konjeti

  • How can I import data using .dmp into the table which has more columns then in import

    I am building the history for warehouse purpose on Oracle 8i database and want to use the old import (.dmp) files (from oracle 7.3.4) to import data but the underlying table is having few more columns which are not in my old DMP file .. how can I import the data into these altered tables while using the same *.imp files .
    Any solutions ?

    That is the most obvious solution .. but think of the case when my operational database which is the source of my data is undergoing changes every quarter i.e after every 3 months there are some changes on underlying table structures which means structures of my import files will always be different after evry quarter .. you can imagine the number of temporary import structures I need to create .. can't there be a solution wherein I can write an SQL over the import file to read the data in required format ..

  • Merging two records which has same ID

    Hi all,
    Oracle version -------------> Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Table DB_TEMP
    create table DB_TEMP
    ( Db_ID NUMBER, LAST_NAME VARCHAR2(30),
    FIRST_NAME VARCHAR2(30), MIDDLE_NAME VARCHAR2(30), M_CODE VARCHAR2(10),
    PREFIX VARCHAR2(30), TITLE VARCHAR2(100),CREATION_DATE DATE);
    INSERT INTO DB_TEMP values (3, 'JOHN', 'KER', '', 'A146', '', 'PRESIDENT', '5/1/2011');
    INSERT INTO DB_TEMP values (3, 'JOHN', 'KER', '', '', 'MR', 'PRESIDENT ACTIVE HERE', '5/10/2011');
    INSERT INTO DB_TEMP values (11, 'MATT', 'CARLONE', '', '', 'MR', 'CHAIRMAN', '5/1/2011');
    INSERT INTO DB_TEMP values (11, 'MATT', 'CARLONE', '', 'A149', '', 'CHAIRMAN INACTIVE', '5/10/2011');
    INSERT INTO DB_TEMP values (40, 'JOHN', 'SMITH', 'K', 'A147', '', 'PRESIDENT', '5/1/2011');
    INSERT INTO DB_TEMP values (40, 'JOHN', 'SMITH', 'K', 'A147', 'MR', '', '5/10/2011');
    Required Output
    DB_ID   LAST_NAME   FIRST_NAME   MIDDLE_NAME     M_CODE      PREFIX                  TITLE                CREATION_DATE
    3       JOHN             KER                      A146         MR             PRESIDENT ACTIVE HERE           5/10/2011  
    11       MATT          CARLONE                     A149        MR             CHAIRMAN INACTIVE               5/10/2011  
    40       JOHN             SMITH           K         A147      MR             PRESIDENT                         5/10/2011  
    Got two records with same DB_ID on different creation_dates, but some columns are populated on next day with updated data. Now i need merge them into one by taking MAX of the column
    please help
    Thanks
    Edited by: 960736 on Nov 9, 2012 10:12 AM
    Edited by: 960736 on Nov 9, 2012 10:27 AM
    Edited by: 960736 on Nov 9, 2012 10:48 AM

    Hi,
    960736 wrote:
    Hi all,
    Oracle version -------------> Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Table DB_TEMP
    create table DB_TEMP
    ( Db_ID NUMBER, LAST_NAME VARCHAR2(30),
    FIRST_NAME VARCHAR2(30), MIDDLE_NAME VARCHAR2(30), M_CODE VARCHAR2(10),
    PREFIX VARCHAR2(30), TITLE VARCHAR2(100),CREATION_DATE DATE);
    INSERT INTO DB_TEMP values (3, 'JOHN', 'KER', '', 'A146', '', 'PRESIDENT', '5/1/2011');
    If creation_date is a DATE, then don't try to insert a VARCHAR2 value, such as '5/1/2011' into it. Use the TO_DATE function, or a DATE literal. Those INSERT statements might work on your system, and they might even produce the results you want, but they all cause errors on my system.
    INSERT INTO DB_TEMP values (3, 'JOHN', 'KER', '', '', 'MR', 'PRESIDENT ACTIVE HERE', '5/10/2011');
    INSERT INTO DB_TEMP values (11, 'MATT', 'CARLONE', '', '', 'MR', 'CHAIRMAN', '5/1/2011');
    INSERT INTO DB_TEMP values (11, 'MATT', 'CARLONE', '', 'A149', '', 'CHAIRMAN INACTIVE', '5/10/2011');
    INSERT INTO DB_TEMP values (40, 'JOHN', 'SMITH', 'K', 'A147', '', 'PRESIDENT', '5/1/2011');
    INSERT INTO DB_TEMP values (40, 'JOHN', 'SMITH', 'K', 'A147', 'MR', '', '5/10/2011');
    Required Output
    DB_ID   LAST_NAME   FIRST_NAME   MIDDLE_NAME     M_CODE      PREFIX                  TITLE                CREATION_DATE
    3       JOHN             KER                      A146         MR             PRESIDENT ACTIVE HERE           5/10/2011  
    11       MATT          CARLONE                     A149        MR             CHAIRMAN INACTIVE               5/10/2011   Why don't you want any output for db_id=40?
    >
    Got two records with same DB_ID on different creation_dates, but some columns are populated on next dayWhen you say "on next day", do you mean "on some later day"? 5/2 (or 6/1) is the next day after 5/1.
    with updated data. Now i need merge them into one by taking MAX of the columnDo you really want the MAX, or do you want the latest non-NULL value?
    You posted sample data where later data was always greater, but what would happen if you added this row to the data?
    INSERT INTO DB_TEMP values (3, 'JOHN', 'K', '', '', 'MR', 'MEMBER', DATE '2011-05-11');For db_id=3, the MAX first_name is still 'KER', but the latest is 'K', and the MAX title is still 'PRESIDENT ACTIVE HERE', but the latest is 'MEMBER'.

  • Should not fetch  the records which has tran_efct_dte more than 550 days

    I have a table BRKG_TRA AND below is the structure of the table
    BRKG_ORDER_ID     VARCHAR2(15 BYTE)
    BRKG_ORDER_ID_CNTX_CDE     VARCHAR2(10 BYTE)
    BRKG_ACCT_SIDE_CDE     CHAR(1 BYTE)
    TRD_FTR     NUMBER(15,9)
    PGM_ORIG_TRAN_ID     VARCHAR2(6 BYTE)
    BRKG_OPT_OPEN_CLOS_CDE     VARCHAR2(5 BYTE)
    BRKG_ORDER_QTY     NUMBER(17,4)
    TRAN_ID     VARCHAR2(20 BYTE)
    TRAN_CNTX_CDE     VARCHAR2(10 BYTE)
    CRTE_PGM     VARCHAR2(50 BYTE)
    CRTE_TSTP     DATE
    UPDT_PGM     VARCHAR2(50 BYTE)
    UPDT_TSTP     DATE
    DATA_GRP_CDE     VARCHAR2(10 BYTE)
    TRAN_EFCT_DTE     DATE

    select * from <table name> where <dt_field> > sysdate - 550

  • Hotmail seems to think that Firefox (Minefield) is a mobile device :S Only website which has done this as of now...

    There is also no link at the bottom of this page to visit the full site. It says this in the About part of Firefox (Minefield).
    Mozilla/5.0 (Windows; U; Windows NT 6.1; Win64; x64; en-US; rv:1.9.3a6pre) Gecko/20100628 Minefield/3.7a6pre

    Ouch! You are using such an old version of Minefield! Why don't you use the betas at least?
    Anyway, this isn't the place for Minefield help. See this before you report any bugs at bugzilla:
    https://support.mozilla.com/en-us/kb/basic+troubleshooting

  • MS Outlook 2010 - Group by subject and show messages which has count of more than four

    Hi there,
    Like everyone I have hundreds of emails hitting me daily. I always wanted these two ways enabled in outlook to reduce my inbox. Can anyone let me know if this is possible, if not MS product team you got a request.
    1) Outlook lets us to group all the messages by subject BUT it doesn't sort by the highest amount messages.
    Ex: Out of 100 messages in inbox, lets say msg A: same subject - 10 emails; msg B: same subject - 5 emails... rest are single subject eamils.
    when i group by subject i would want msg A and msg B to show first, so that i can take action.
    2) Same concept but want to filter only emails which has more than FOUR replies on the same subject
    Thanks for taking look at my questions.

    Just wanted to say hi and check if there is anything else that I can do for you on this problem.If so, please do not hesitate to let me know and I
    will be happy to help.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • INSERTING DATA INTO A SQL SERVER 2005 TABLE, WHICH HAS A IDENTITY COLUMN

    Hi All,
    I have to insert the data into a SQL SERVER 2005 Database table.
    I am able to insert the data into a normal SQL Server table.
    When I am trying to insert the data into a SQL Server table, which has a identity column (i.e. auto increment column in Oracle) I am getting error saying that can't insert value explicitly when IDENTITY_INSERT is set to OFF.
    Had anybody tried this??
    There are some SRs on this issue, Oracle agreed that it is a bug. I am wondering if there is any workaround from any one of you (refer Insert in MS-SQL database table with IDENTITY COLUMN
    Thanks
    V Kumar

    Even I had raised a SR on this in October 2008. But didn't get any solution for a long time, finally I had removed the identity column from the table. I can't to that now :).
    I am using 10.1.3.3.0 and MS SQL SERVER 2005, They said it is working for MS SQL SERVER TABLE, if the identity column is not a primary key and asked me to refer to note 744735.1.
    I had followed that note, but still it is not working for me.
    But my requirement is it should work for a MS SQL SERVER 2005 table, which has identity column as primary key.
    Thanks
    V Kumar

  • How to set a particular column editable in adf?

    Hi,
    I have a table which has 3 columns. While inserting new row, two column values are auto populated. One column should be editable. But in my case I am not able to edit the third column. How to make only the third column editable? I am using 11.1.2.2.0 version of JDeveloper
    Regards,
    Infy

    I have created view object based on the entity object. I have verified, the undatable check box is checked. Let me modify my question. I have master-child tables. I am implementing CRUD functionality in both the tables. Its done & working fine. When I insert new record in child table, two columns are auto populated, and the third column should be editable. If I don't auto populate, the third column is editable, but if I auto populate, third column is becoming non editable. How to achieve this?

Maybe you are looking for

  • Time machine back ups can not be found in Time Capsule

    Hi My time machine stopped worked a few weeks ago. It started showing an error indicating that sparse bundle couldnt be found. I could still see the 'Time machine backups' drive in Finder, but after a few days, it stopped showing it. Previously to it

  • SOLMAN 3.2  LIS to SLD Migration

    Are there any notes on this?  We'd like to move from LIS to SLD.  Other than needing the Java stack is there any other gotchya's? M. Message was edited by: Michael Brierley

  • Hard Drive Setup - Allocation Unit Size

    I'm adding on 2 one tb HDD's. when formatting i'm wondering what the performance gain and size loss would be of using 8192 bytes instead of the default(4096) allocation unit size. i've got 3 one tb HDD's and 4 tb of external storage now but i use a l

  • Dreamweaver checkin/checkout  inconsistency

    We are noticing discrepencies in the checkin/checkout process with our development team with Win XP DW 9 Build 3481. One person checks out a file, makes changes, checks it in. Another person checks out the same file the next day on a different comput

  • Dynamic fragment loading in TaskFlow

    Hi, is it possible to load a fragment dynamically in a particular task flow. Reg, Brahma B. Edited by: BRM on Apr 13, 2011 1:45 AM