Duplicates in LOV

Hi Friends,
I have a LOV on the LAST_NAME that returns last_name and the first name.
The problem is there are duplicate getting saved in the LOV.
if the user enters for teh first time last as Espina and first name as julie then when they try to enter
the same name again then I need to force the LOV to popup and push teh user to select from the LOV.
If they need to enter the different first name then I need to stop them by doing so.
the whole idea is to prevent the user from entering the same names in the LOV.
Can somebody tell me how to do this?
TX
KK

Have you set the "validate from LOV" property on the items to YES?
this should force them to pick from the LOV - not sure if this is what you meant or not?!

Similar Messages

  • How to avoid duplicates in LOV

    Hi, i'm using search query component (11g) and for the search fields i'm adding LOV. In the UI , i can see the LOV with values from the table. But i need to avoid the duplicates in this . Looked at the docs and demo and i couldn't figure out anything. Could some one point me a resource. Thanks.

    How do you create the LOV then?
    To make a view object with a lov you need two viewObjects - let us say viewObject and viewObjectLOV.
    viewObject is updatalbe, viewObjectLOV is not.
    Your problem is that viewObjectLOV returns duplicate values.
    1. find where is the viewObjectLOV, you can reach it via viewObject's accessor
    2. make sure it has a primary key.
    3. modify viewObjectLOV's query so it does not return duplicate values, for example using distinct keyword.
    0. If you did not understand what I tried to explain, maybe you should read some more documentation first :)

  • Remove duplicates in LOV.

    Hello,
    I'm using JDeveloper 11.1.1.3. I have a list of value that displays an attribute from a VO. In this VO i have many values that are repeated. I'm trying to remove the duplicates using the 'DISTINCT' clause in the query of the VO. But it's not working. Any one has an idea on what might be the problem?
    My query in the VO is this:
    SELECT DISTINCT
           AdministrationCirculars.NBR,
           AdministrationCirculars.REFERENCE_NBR,
           AdministrationCirculars.FILENAME,
           AdministrationCirculars.ISSUEDATE,
           AdministrationCirculars.SIGNATURE,
           AdministrationCirculars.SUBJECT
    FROM ADMINISTRATION_CIRCULARS AdministrationCircularsThanks,
    Mohamed.

    If you run this query and you see duplicates, there it's something wrong.
    I guess the query does return distinct rows, but the rows differ in only one or two attributes, do it's not obvious.
    Without seeing the data on the table we can't help any more.com. You either have to remove the attribute from the query which differs for the rows, or you add a where clause to make the turned rows distinct.
    Timo

  • Avoid duplicate lov

    hi...
    please help to avoid duplicates in lov...and the lov is based on vo.....

    Similar thread:
    Duplication in LOV

  • Avoiding Duplicate Values Using LOV

    Hi
    I have the following code in WHEN_VALIDATE_ITEM trigger on a text item named REASON_ID.
    ------------------xxxxxxxxx--------------------------------
    DECLARE
    rg_id RecordGroup;
    rec_count NUMBER;
    BEGIN
    -- Get the record group ID --
    rg_id := Find_Group( 'REASONS_RG' );
    -- Get the number of rows --
    rec_Count := Get_Group_Row_Count( rg_id );
    -- delete the selected row --
    FOR j IN 1..rec_Count LOOP
    If Get_Group_Number_Cell( 'REASONS_RG.ID', j ) = :PREF_REASONS_TO_JOIN.REASON_ID Then
    Delete_Group_Row( rg_id, j );
    exit ;
    End if ;
    END LOOP;
    END;
    -------------------------xxxxxxxxxxxxxx----------------------
    Record Group REASONS_RG exists and contains ID in the SELECT statement.
    LOV REASONS_LOV is working fine as expected.
    Now When I click on this item REASONS_ID, LOV is displayed automatically and I select the record that I want. Then I press enter to change record and make another selection. This trigger should prevent me from selecting the same record twice (it should actually remove that record to be displayed in the LOV) right? But it doesn't work. I can still select the same record.
    Can anyone help me with this please?
    I got the above trigger code from this forum only and I guess many people have tried it and were able to restrict duplicates. I dont know what I am doing wrong here.
    Thanks in advance

    Hello,
    Yes, the automatic refresh must be set to NO, else, the record group is re-populated each time.
    Francois

  • How to restrict the duplicate values in lov column of VO based Adv Table

    Hi Gurus,
    I want to restrict the duplicate values at lov which is a colunm in an Adv Table.
    If user enters duplicate values then first it should show an error msg that Duplicate values have been entered.
    After the duplicate values have been removed, then the user can save all the values in the table.
    My Adv Table is based on a VO.
    The link how to restrict the duplicate values at form level
    talks about Adv Table based on a EoVO, which doesnot work in my case.
    My Approach,
    I am iterating through RowSetIterator and committing through PROCEDURE.
    I am able to avoid duplicate entry through a function checkRespId. (given below)
    Below code is for iterating and committing.
    public void saveline(String reqid,String userid)
    System.out.println("RequestId/saveline"+reqid);
    System.out.println("UserId/saveline"+userid);
    OAViewObject vo = (OAViewObject)getRespLineVO1();
    RespLineVORowImpl row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    System.out.println("Inside the for LOOP");
    row = (RespLineVORowImpl)deleteIter.getRowAtRangeIndex(i);
    String respoidid = row.getAttribute("ResponsibilityId")+"";
    String respname = row.getAttribute("ResponsibilityName")+"";
    String stdate = row.getAttribute("StartDate")+"";
    String enddate = row.getAttribute("EndDate")+"";
    String linestatus ="A";
    if(userid!=null)
    if(!(respoidid.equals("null")) && respoidid!=null)
    String checkingrespid=null;
    checkingrespid = checkRespId(userid,respoidid);+contains no if not duplicate and yes if its duplicate+
    System.out.println("checkingrespid for Resp with ID :"+respoidid+"exists or not "+checkingrespid);
    if(checkingrespid.equals("No"))
         String message, result = null;
    Connection txn = getOADBTransaction().getJdbcConnection();
    try
    calling PROC ...
    catch(Exception e)
    message = "Error in Inserting into line" + e;
    throw new OAException(message, OAException.ERROR);
    else
    throw new OAException("You have entered duplicate no. of values", OAException.ERROR);
    else
    System.out.println("respoidid is null");
    break;
    deleteIter.closeRowSetIterator();
    public String checkRespId(String userid,String respoidid)
    String createRow="No";
    OAViewObject vo = (OAViewObject)findViewObject("CheckRespVO1");
    if (vo != null)
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0, userid);
    vo.setWhereClauseParam(1, respoidid);
    vo.executeQuery();
    System.out.println("ROW COUNT IS "+vo.getRowCount());
    if(vo.getRowCount()>0)
    createRow="Yes";
    else
    createRow="No";
    return createRow;
    Problem:
    I remove the duplicate entries and click on save and get this error.
    Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user.
    \nAction: Cancel the transaction and re-query the record to get the new data.
    Thanks,
    Sombit

    Hi Anil,
    I am trying out your code but stuck in inserting the rows
    using your code in URL: http://oracleanil.blogspot.com/2010/09/oaf-passing-table-type-object-to-oracle.html
    I am always getting the same exception i.e COde blast in when I run.
    My modified code is:
    String[] as = null;
    Number[] vNumber = null;
    Number[] vNumberrespid = null;
    Number reqidnumber = null;
    reqidnumber = new Number(Integer.parseInt(reqid));
    Connection txn = getOADBTransaction().getJdbcConnection();
    String mCreateSearchRequestStatement = null;
    OAViewObject vo = (OAViewObject)findViewObject("RespLineVO1");
    int j = vo.getFetchedRowCount();
    try
    System.out.println("abouce try");
    vo.reset();
    if (vo.getFetchedRowCount() > 0)
    System.out.println(String.valueOf("Fetched row count ").concat(String.valueOf(vo.getFetchedRowCount())));
    int i = 0;
    as = new String[j];
    vNumber = new Number[j];
    vNumberrespid = new Number[j];
    while (vo.hasNext())
    vo.next();
    System.out.println(String.valueOf("Inisde the do while loop").concat(String.valueOf(i)));
    vNumber[i] = (reqidnumber);
    vNumberrespid = ((Number)vo.getCurrentRow().getAttribute("ResponsibilityId"));
    as[i] = String.valueOf(vo.getCurrentRow().getAttribute("ResponsibilityName")).concat(String.valueOf(""));
    System.out.println("Request ID "+reqidnumber[i]);//getting null even there is some value selected
    System.out.println("ResponsibilityId "+vNumberrespid[i]);//getting null even there is some value selected
    System.out.println("Resp Name "+as[i] );//getting null even there is some value selected
    i++;
    CallableStatement cs = txn.prepareCall("{call XX_PassTableType.XX_PassTableType_prc(:1, :2,:3)}");
    ARRAY array = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumber);
    ARRAY arraynew = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumberrespid);
    ARRAY array1 = new ARRAY(new ArrayDescriptor("APPS.JTF_VARCHAR2_TABLE_100", txn), txn, as);
    cs.setArray(1, array);
    cs.setArray(2, arraynew);
    cs.setArray(3, array1);
    cs.registerOutParameter(3, 2003, "JTF_VARCHAR2_TABLE_100");
    cs.execute();
    ARRAY error = null;
    error = (ARRAY)cs.getArray(2);
    if ((error != null) && (error.length() > 0))
    System.out.println(String.valueOf("Error is ").concat(String.valueOf(error.getArray())));
    String[] retError = new String[j];
    retError = (String[])error.getArray();
    System.out.println(String.valueOf("Error in saving data").concat(String.valueOf(retError[0])));
    cs.close();
    catch (Exception exception)
    throw new OAException("code blast", OAException.ERROR);
    Thanks,
    Sombit

  • Problem - Creating a Dynamic LOV using duplicate value in select statement

    I am trying to create a Dynamic LOV by attempting to follow a pattern similar to the following:
    select shop_name d, shop_id r
    from shops
    order by 1
    However, I want to use the shop_name twice as in the following because I do not have any other unique identifier available such as a shop_id to associate with the shop name:
    select shop_name d, shop_name r
    from shops
    order by 1
    But I get an error where I am not allowed to duplicate the shop_name in the select statement. I read somewhere on this forum where it can be done but I can't find exactly how.
    Can someone tell or show me how to accomplish this?
    Thanks in anticipation for your answer.
    Thanks,
    Ric

    Ric,
    I just tried to do this on APEX 3.0, and it worked just fine with this SQL:
    select ename d, ename r from emp order by 1Perhaps you could put an example on apex.oracle.com or specify the error message that you're getting.
    So as long as you have uniquely aliased both columns, this should not present a problem.
    Thanks,
    - Scott -

  • How to prevent LOV from displaying duplicates

    Hi all. I'm using JDev 10.1.3. I have a af:selectOneChoice component which is used to set search criteria. There are a few records with duplicate values. Is there a way for me to prevent the LOV from displaying duplicate values? thanks in advance.
    <af:selectOneChoice
         value="#{bindings.UserAckAnnualBalancesView1EdcDescription.inputValue}"
            label="EDC Description"
            valueChangeListener="#{backingExecuteBtn.alterEdcDescSearchVal}">
            <f:selectItems value="#{bindings.UserAckAnnualBalancesView1EdcDescription.items}"/>
    </af:selectOneChoice>

    John. I assume that you are suggesting that I do a SELECT DISTINCT. If so, then no I cannot change the underlying query. I want all the records, what I am actually looking for is a way to filter the items in the LOV.

  • How to make "Duplicate Row" button work with LOV

    Hi,
    I am using JDeveloper version: Studio Edition Version 10.1.3.1.0.3984
    JHeadstart version: 10.1.3.1 Release 10.1.3.1.26
    We have a VO where there are 2 EOs - one is Updatable and one is Reference.
    We are using Association for the Reference EO.
    In the page we have a LOV and from the LOV we are redirecting some fields including some fields for the Reference EO (to show only).
    Everything works fine.
    But the problem is, - we checked the "Show Duplicate Row Button?" option in the Application Definition file.
    when we click the "Duplicate Row" button then we get the error:
    javax.faces.el.EvaluationException: oracle.jbo.ReadOnlyAttrException: JBO-27008: Attribute set for UserId in view object Userpermission_under_Personalinfo_View_for_Owner failed
    the attribute UserId is from Reference EO in the VO.
    Can anybody suggest how we can make the duplicate work in this case?
    And one more thing - If we check the "Show Duplicate Row Button?" option in JHeadstart Application Definition file, it shows the "Duplicate Row" button in the table layout. Is there any way so that we can put the "Duplicate Row" button in the form layout or do we have to do it using a .vm file modification ?
    Any suggestion would be appreciated.
    Thanks
    Syed Jabbar
    University of Windsor
    Windsor, ON, Canada

    Syed,
    This is fixed in a later JHeadstart 10.1.3 release.
    If you don't want to upgrade, you need to override the duplicate row method in JhsCollectionModel as follows:
    public void duplicateRow(ActionEvent event)
    DCIteratorBinding ib = getRangeBinding().getIteratorBinding();
    int rangeSize = ib.getRangeSize();
    int rowsInRange = ib.getAllRowsInRange().length;
    int insertPos = 0;
    if (!isNewRowsAtTop())
    insertPos = rowsInRange < rangeSize? rowsInRange: rangeSize - 1;
    Row currentRow = ib.getCurrentRow();
    Row row = ib.getRowSetIterator().createRow();
    row.setNewRowState(Row.STATUS_NEW);
    ib.getRowSetIterator().insertRowAtRangeIndex(insertPos, row);
    AttributeDef[] attrs = ib.getAttributeDefs();
    for (int i = 0; i < attrs.length; i++)
    if (!attrs.isPrimaryKey() &&
    (attrs[i].getUpdateableFlag() == AttributeDef.UPDATEABLE ||
    attrs[i].getUpdateableFlag() ==
    AttributeDef.UPDATEABLE_WHILE_NEW))
    String attrName = attrs[i].getName();
    row.setAttribute(attrName, currentRow.getAttribute(attrName));
    ib.setCurrentRowIndexInRange(insertPos);
    discloseRow(row, true);
    Steven Davelaar,
    JHeadstart team.

  • Duplicate Lov's for Prompt

    Hi.
    I am getting duplicate Lov's for my prompt which is derived form SAP BW OLAP Universe.
    can any once suggest me to make distinct.
    thnx in Advance

    Hi Reddeppa Konduru ,
                                         Please check if you have any space in front of the data.
    Can you please check that ...
    like your LOV would be
    India
    (Space)India
      (Space)India
    US
    (Space)US
    Europe
    Some thing like this then in the Universe you need to create Trim(Country).I hope the mistake is from the Database.
    In the Universe try using select Distinct(Country) from Table
    Let me know if that is not the issue.
    Regards
    Prashant

  • Duplicates should be eliminate in an LOV

    Hi,
    I have a requirement in that,i created a Multi-Record block in the form.In the Multi-record block,say for a field name "Plot No" i have attached a LOV to display the List of Plot Nos.My requirement is that,If you insert a Plot No in one record through Plot No LOV ,then if you try to insert the Plot No in the next record,the LOV should not display the previous Plot No.How can we implement this.
    I have implemented this code in when-validate-item of the particular column.But it does not work.Please help is any modifications has to do.In this code,the fields i mentioned are not primary keys.
    DECLARE
         cnt NUMBER;
         rg_name VARCHAR2(40) := 'PLOT_NO_CA';
         rg_col1 VARCHAR2(20) := 'DOC1_ID';
         rg_id RecordGroup;
         gc_id GroupColumn;
         rowcount NUMBER;
         row_value NUMBER;
    BEGIN
         SELECT count(*)INTO cnt FROM XX_CIS_CANE_ADVANCE_LINES3 WHERE doc1_id = :CUTTING_ADVANCE.DOC1_ID;
         IF cnt = 0 THEN
         -- create a record group dynamically
         rg_id := Find_Group(rg_name);
         IF Id_Null(rg_id) THEN
              rg_id := Create_Group(rg_name);
              gc_id := Add_Group_Column(rg_id,rg_col1,NUMBER_COLUMN);
         END IF;
         Add_Group_Row( rg_id, END_OF_GROUP );
         rowcount := get_group_row_count(rg_id);
         gc_id := Find_column('PLOT_NO_CA.DOC1_ID');
         set_group_number_cell(gc_id,rowcount,to_number(:system.cursor_value));
    FOR i IN 1 .. get_group_row_count(rg_id)-1
    LOOP
         row_value := get_group_number_cell(gc_id,i);
         IF row_value = :CUTTING_ADVANCE.DOC1_ID THEN
              fnd_message.set_string('already exists');
              fnd_message.show;
              DELETE_GROUP_ROW(rg_id,rowcount-i);
              RAISE form_trigger_failure;
         END IF;
    END LOOP;
    ELSE
    fnd_message.set_string('Data is already exists in DATABASE');
    fnd_message.show;
    Raise form_trigger_failure;
    END IF;
    END;
    Thanks&Regards
    Sudhakar J

    Hi Francois,
    If i cleared the Record,the Cleared record is not showing when once again invoke the LOV.How can i modify the code given by you for this scenario.
    Please help me.
    Thanks&Regards
    sudhakar

  • Is there a way to put music (mp3) from my PC onto my iPhone (5c) without having to duplicate that music by adding it to the iTunes Library?

    Greetings all, I am a brand new iPhone owner (my first smartphone in fact) and am very sad that I don't love my new device as much as I was beginning to.  I've come into the Apple family with open eyes and heart, but I am heartbroken and mortified and what I've been learning this morning.  I just spent five hours (no exaggeration) reading forums, downloading iTunes (which I don't really think I want, I am used to WMP and much more accustomed to it), downloading and installing an update, learning that certain options which were recommended are now gone unless you use secret commands (want to Add Folder to Library?  Well, too bad!  Unless you know the secret Ctrl-B handshake.  Hope you didn't just spend tons of time adding items file by file before you learned that (by scouring the obscure forums for that information, since it's not common knowledge or readily accessible in iTunes now)!).  Apologies for the sarcastic tone, still very frustrated with the whole process.  I've seen support messages directing people to support pages with QuickTime videos;  QuickTime doesn't install easily or quickly or work properly on my PC (perhaps I need to work with it more, buuuut...), it's all just seeming so....proprietary. 
    Is it really the way this works that I have to duplicate all of the music that is currently on my hard drive not just once but twice, such that I need to have it 1) on my hard drive in my music folder where it has always been (so that I can play it how I am used to, using WMP), 2) copied to my iTunes Library and then 3) "Synced" (whatever this really means...still learning obviously) / copied onto my iPhone?  Thus taking up twice the space on my hard drive that it needs to?
    There's really no way to simply have the phone take it from my hard drive?  Apple seriously needs it to not only be existent on my pc, but duplicated into the iTunes Library (which is really just another folder, right?) in order to allow it to be put onto my iPhone?
    Please please please tell me I am misunderstanding how this works.  I really genuinely do want to love my iPhone and get accustomed to how it and the software it needs works, but this has been frankly a nightmare and has had me wishing for brief moments that I had gone with something more PC friendly.  Please just tell me that it gets better, that you can have a PC that you use, and have an iPhone that you use and marry the two happily once you get used to the way to do that. 

    HydroThunder wrote:
    Greetings all, I am a brand new iPhone owner (my first smartphone in fact) and am very sad that I don't love my new device as much as I was beginning to.  I've come into the Apple family with open eyes and heart, but I am heartbroken and mortified and what I've been learning this morning.  I just spent five hours (no exaggeration) reading forums, downloading iTunes (which I don't really think I want, I am used to WMP and much more accustomed to it), downloading and installing an update, learning that certain options which were recommended are now gone unless you use secret commands (want to Add Folder to Library?  Well, too bad!  Unless you know the secret Ctrl-B handshake.  Hope you didn't just spend tons of time adding items file by file before you learned that (by scouring the obscure forums for that information, since it's not common knowledge or readily accessible in iTunes now)!).  Apologies for the sarcastic tone, still very frustrated with the whole process.  I've seen support messages directing people to support pages with QuickTime videos;  QuickTime doesn't install easily or quickly or work properly on my PC (perhaps I need to work with it more, buuuut...), it's all just seeming so....proprietary. 
    Is it really the way this works that I have to duplicate all of the music that is currently on my hard drive not just once but twice, such that I need to have it 1) on my hard drive in my music folder where it has always been (so that I can play it how I am used to, using WMP), 2) copied to my iTunes Library and then 3) "Synced" (whatever this really means...still learning obviously) / copied onto my iPhone?  Thus taking up twice the space on my hard drive that it needs to?
    There's really no way to simply have the phone take it from my hard drive?  Apple seriously needs it to not only be existent on my pc, but duplicated into the iTunes Library (which is really just another folder, right?) in order to allow it to be put onto my iPhone?
    Please please please tell me I am misunderstanding how this works.
    Okay.
    You are misunderstanding how this works.
    When you add songs to your iTunes Library, all you are in fact doing is telling iTunes where (on your computer) to find the music. iTunes does not create additional versions of your music (see * below). iTunes is a database (or catalogue) - it simply lists your music and knows where it is so that it can copy it to your iPod.
    Synced - synchronise... to make as one, to make the same as each other. Well, that's what my dictionary tells me anyway. To make iTunes and the iPhone the same, to have the same music etc. on or in each. (Subject to your preferences.)
    HydroThunder wrote:
    I really genuinely do want to love my iPhone and get accustomed to how it and the software it needs works, but this has been frankly a nightmare and has had me wishing for brief moments that I had gone with something more PC friendly.  Please just tell me that it gets better, that you can have a PC that you use, and have an iPhone that you use and marry the two happily once you get used to the way to do that.
    Okay, I'l tell you that too.
    It gets better. You can have a PC that you use, and have an iPhone that you use - and marry the two together blah blah blah.
    Now that you have iTunes installed, at least you've got that far, although I can't quite imagine how it managed to take five hours. (You would have all these same issues if you were moving from iPhone to any non-Apple product.)
    Secret menus, (CTRL+B etc.) - yes, there have been some very odd moves with all this "hiding menus" nonsense. But with the help of useful contibutors to these discussions, you will find iTunes easy. There are however, so many ways to configure iTunes, that everyone will tell you that everyone else's method is wrong.
    So let's start with basics:
    Once iTunes is set the way you want to view it, all you will need to do is add music to your iTunes Library, either by;
    putting a CD into your computer's CD drive, and telling iTunes to import the CD. iTunes will make a digital copy, put it in a folder (in the iTunes Media folder) and list the album in your iTunes
    buying music from the iTunes Store. The store will download the music to your Library.
    Buying music from other sources. For example Amazon. Here in the UK, Amazon have a downloader which will download any purchases, place them in an Amazon folder and add them to your iTunes Library
    Add other digital files by using the Add Folder to Library. (I can make sure you can easily find that, if you wish.)
    Then - you can add songs to Playlists - if you wish. You do not have to add music to Playlists. Don't let anyone tell you otherwise!
    Then - connect your iPhone to the computer, and let iTunes perform a Sync.
    Your first ever Sync will need a little bit of configuration. A Sync will copy the new songs to your iPhone. It will also transfer back to your iTunes Library:
    any songs purchased, on the iPhone, directly from the iTunes Store.
    any apps purchased, on the iPhone, from the iTunes Store.
    Play Counts. The number of times a song has been played, on the iPhone, since the last Sync.
    Last Played date and time. You won't believe how useful this feature can be.
    HydroThunder wrote:
    There's really no way to simply have the phone take it from my hard drive?
    That is precisely what iTunes is for - it's exactly what it does and how is does it. By the way, also don't let anyone tell you that you should use Manual Management to anage your iPhone. No one with any sense would use Manual Management. Why do housework, when iTunes can do it for you?
    * There is one tiny issue in all this. If you leave your music where it is now, it may make it slightly harder for you to transfer all your music to another computer anytime in the future because it will be in various different palces on your current computer. There is a setting in iTunes to "copy files to the iTunes Media folder when adding to library", which will duplicate songs, but that's so that you can store all your music in one parent folder for easy transfer to another computer. Your choice. If you take it, once it's done, you could then delete the older copies in the other storage locations.
    Of course, if you transfer all your media, files, documents to the new compurer, it shouldn't be any hassle really.
    As for WMP. While you are used to it, now that you have an iPhone, why not try playing music in iTunes? It's really not that bad.
    So - you tell me what point you have reached and what other information you need to help you with iTunes, what views you want in your iTunes Library. There are lots of ways to vieww your Library! You only need to tell us how you like to look at things, by albums with artwork, by a sonsg list but with the option of looking at albums, or Last played. On and On it goes!
    I may be a bit biased in my choice of views, but I can still help you get the best out of iTunes. It really is a fantastic piece of software, despite the little annoying things Apple put into it.

  • Query produces duplicate values in successive rows. Can I null them out?

    I've had very good success (Thanks Andy) in getting detailed responses to my posted questions, and I'm wondering whether there is a way in a report region join query that produces successive rows with duplicate values that I can suppress(replace) the print of the duplicate values in those rows. In case I've managed to twist the question into an unintelligible mess (One of my specialties), let me provide an example:
    We're trying to list the undergraduate institutions that an applicant has attended, and display information about dates of attendence, gpa, and major(s)/minor(s) taken. The rub is that there can be multiple major(s)/minor(s) for a given undergraduate institution, so the following is produced by the query:
    University of Hard Knox 01/02 01/06 4.00 Knitting
    University of Hard Knox 01/02 01/06 4.00 Cloth Repair
    Advanced University 02/06 01/08 3.75 Clothing Design
    Really Advanced U 02/08 01/09 4.00 Sports Clothing
    Really Advanced U 02/08 01/09 4.00 Tennis Shoe Burlap
    I want it to look like this:
    University of Hard Knox 01/02 01/06 4.00 Knitting
    Cloth Repair
    Advanced University 02/06 01/08 3.75 Clothing Design
    Really Advanced U 02/08 01/09 4.00 Sports Clothing
    Tennis Shoe Burlap
    * (edit) Please note that the cloth repair and tennis shoe repair rows would be correctly positioned in a table, but unfortunately got space suppresed here for some reason. *
    Under Andy's tuteage, I'd say the answer is probably javascript looping through the DOM looking for the innerHTML of specific TDs in the table, but I'd like to confirm that, or, does Apex provide a checkbox that I can check that will produce the same results? Thanks in advance guys, and sorry for all the questions. We've been tasked to use Apex for our next project and to learn it by using it, since the training budget is non-existant this year. I love unfunded mandates ;)
    Phil
    Edited by: Phil McDermott on Aug 13, 2009 9:34 AM

    Hi Phil,
    Javascript is useful, as is the column break functionality within Report Attributes (which would be my first choice if poss).
    If you need to go past 3 columns, I would suggest doing something in the SQL statement itself. This will mean that the sorting would probably having to be controlled, but it is doable.
    Here's a fairly old thread on the subject: Re: Grouping on reports (not interactive) - with an example here: [http://htmldb.oracle.com/pls/otn/f?p=33642:112] (I've even used a custom template for the report, but you don't need to go that far!)
    This uses the LAG functionality within SQL to compare the values on one row to the values on the preceeding row - being able to compare these values allows you to determine which ones to display or hide.
    Andy

  • Insane XML Import, Huge Project, Duplicate file names work around...

    I planned on kicking off my journey attempting to edit a massive multi year documentary on FCPX with a nice introduction of the blog I'm going to keep about the experience, but I've run into a bit of a roadblock, or maybe major speed bump at least before even getting to that point. I wanted to share what is working as a work around for me and you guys can tell me how I'm doing it wrong.
    Ok, I will try to explain this as succinctly as possible. I'll write in somewhat stream of consciousness just to try and get through it quicker... Basically, after discovering the work around below, I am now utterly confused on how FCPX handles the relationship between its own database of where media is stored, and the actual media itself. I have plenty experience on FCPX now, probably done 30-40 pro commercial jobs on it over the last year since XML became doable as I'm also a Resolve Colorist and all the FCPX projects where hardcore coloring product spots. For commercial work, I never needed to worry about splitting up footage up over multiple Events. Everything, all in one, FCPX handled it no problem. (well the occasional beach ball, but that seems to be a thing with FCPX in general)
    This will be my 10th feature documentary as an Editor. Every one before it was either on Avid's many flavors over the last 12 years or FCP Studio. When this new film came along, I made the decision a few months ago to use FCPX for a few reasons, but mostly because I'm insane and I like to try to mix it up for myself in a career that can get stale quick if you aren't willing to be that way. The film was shot over 2+ years, every shoot was multi cam 5D (yes i know, looks great, but please kill me), I haven't done the math on length, but there is over 10,000 clips of video (this is actually medium in size compared to what I've dealt with before). Its 5D, so theres external audio for everything. FCPX's syncing is great, but I've learned that theres an unsaid window of heads and tales clips must fall within to sync properly with the nearby clips, if they are too far apart FCPX gives up. One shoot day could have 3 cams, 50 clips each, and 2 audio files to sync to, FCPX simply cannot handle this, so off to Plural eyes they went, no problems.
    Ok, all this is relevant eventually I swear! Again, in the past, all in one event, no problem. I tried for fun to bring all media into one Event on this film. It worked, but there is a 10+ second spinning beach ball for every single move you make, so thats no good. Ok, I'll separate the Events out to, lets say, each shoot month. Well that's dumb, in verite documentary, any shot could be the first, any shot could be the last, you need a command over all searchable footage at all times. Shift selecting all events to search *****, and it actually takes longer for FCP to reload each event each time than it does to just have the one massive one. So no go there. Next hair brained idea... What if make a new Event that is just Compound Clips of all the other Event's contents and do more with Markers and Favorites in logging that I was planning to parse it all out. That way I'm working with and FCPX is dealing with 50-60 clips instead of 10,000+ Quick test, Cmd-A, Opt-G, boom, boom, boom, move all to dedicated to Event, hide huge Event, BEHOLD, that works! FCPX chokes a little bit on the insane length of some of the clips, but searching, and general performance is back on par!
    So your saying to yourself "Ok *********, sounds like you figured it out, what's the problem." Well to you I say, "Not so fast!" Remember, that was just a quick test using the media I had imported into the massive 10,000+ clip Event. To do this project proper, I am having to import Multicam sync'd XMLs from Plural Eyes. And this is where it all starts to fall apart. A little foreshadowing for your eager eyes. 10,000+ files all shot with multiple 5D's over the course of years. What does that mean? many, many duplicate file names!
    FCPX as well all know irritatingly imports XML's as new Events, not into existing ones. This obviously takes a lot of burden off media management because with a new Event comes a new database referencing its own version of the raw media. All well and good, and I'm betting its starting to click for some if you advanced users where I'm finally going with this. So I have 50 or so XMLs to bring in, all done no problem. Now I want to replicate that singular Event like I did with the Compound Clip test and have it all in one place to be my master as extensive logging begins for easy searching once editing begins. Highlight the Events, click Merge Events. NOPE. I get a new "Kill Yourself Now" error (a term I coined for Out of Memory and General Error messages in FCP Legacy meaning there ain't much you can do about it): "Two or more files have the same name. Change the names and try again, because I don't know what the **** to do with them." Ok I made up that last part but that's basically what it's saying. Just take the variable out of the equation, this happens with every which way you could try to get the clips together. Merge Events, dragging events on top of each other, dragging just the Multicam clip alone, nothing gets passed that message. What's worse is that while Batch Renaming seems like a solution, the renames do not populate inside the created clips and there is no way to Batch Rename those. Renaming everything at the finder level isn't so great because then I'd have to resync and theres an offline/online thing going here where the film has to be reconformed eventually.
    Basically, I've found that FCPX handles media management in completely different ways depending on whether you are importing into one Event yourself or doing essentially what is a new import with FCPX moving or merging Events. If you bring in all the media to one Event, on a macro level FCPX goes through file by file making aliases referencing the master file. If it hits a duplicate, it makes a parenthesis counter, and keeps going. And with the genius of FCPX metadata, that file name doesn't even matter, you can change it at the Finder level and FCPX will keep the link intact. BUT for some reason if you try to do this outside the realm of a single Event and combine files after the fact a different process takes over in creating this database system and can't handle the duplicates. I can't totally figure the reason other than it probably is scared to change the originally referenced alias to something else (which it shouldn't be scared of since Merge Events deletes the original anyway).
    This is where it gets INSANE and where I lose all understanding of what is going on, and believe me it was a delicate understanding to begin with. It comes in to play with the work around I figured out. I make the master Event with the 10,000+ clips. Then I import all the XMLs as dedicated Events. Now, I then drag the Multicam clips into the master Event, it WORKS! just takes it, no "Kill Yourself Now" error. Stranger still, now with the switched referenced Event, it even takes into account which aliased duplicate file name it's referencing in the Original Media folder. Somehow, it's taking into account the original file path and saying "Ok, I see 5 instances of MVI_5834.mov. Based on the original file path or maybe creation date or god knows what, it must be MVI_5834 (fcp3).mov." It connects perfectly. I can even remove the old XML imported Event with no problem. Crazier yet, I can now move those again to the dedicated Event I wanted originally that only contains those Multicam or Compound Clips.
    So instead of going straight from A to C, going from A to B to C works even though that actually seems way more complicated. Why can't FCPX handle Merge Events and dragging clips the same way it handles media imported into a single Event. And weirder still, why can't FCPX handle the (fcp1,2,3...) appending in the same scenario. But if the appended links are already there, No Problem. And for the love of god, it'd be nice to important XML's into existing Events and make the correct referencing happen right from the get go, which is really the source of all the above headache. I'd have no problem helping FCPX with a little manual pointing in the right direction just like any other NLE needs.
    Ok, having said all of that crap above, my question is, have I missed something completely simple I should have done instead? Now that I have everything in place how I originally envisioned, I think I will still play around a little bit more to make sure FCPX is really going to be able to handle this project. I'm at a stage right now where going another direction is still an option, although the dare devil in me wants to make this work. Media management aside, once you start editing on a FCPX timeline, its hard to go back to anything else. Apple is going to have to figure out some way not to access to everything at all times to work fluidly or big projects like this are never going to be practical in FCPX.
    Sorry for the long confusing post....

    I'm having the exact same problem, but I know nothing of ruby scripts. I've exhausted my resources with tech support, and after literally hours of work with them it seems I now am faced with either re-rating each individual song, or pointing iTunes to each song that it can't locate. Is yours a solution that could help me? How can I find out more about Ruby Scripts? Thanks for your help, hellolylo (or anyone else who might also be able to help...)
    Kenn

  • ITunes making duplicates in second user account

    I hope I can describe my issue properly. First of all let me start off by telling everybody that I am a new Mac user making the switch from PC so please be patient with this Mac noob.
    That being said, I proceeded to setup my new Mac with all the software that I wanted on it before adding an additional user account for my wife. I went through the process of moving my music library over to my account (64Gb) and importing it into my library. I have an iPhone so I am pretty familiar with the iTunes interface.
    Once I felt I had everything on this Mac that I wanted, I created a user account on the Mac for my wife to login to and setup sharing for her in iTunes so that we could use the same media folder rather than have 2 physical copies of the media across 2 user accounts on the same computer.
    My problem is that when I tell iTunes on her account to find the music, it adds it into her library twice so there is 2 of every song and iTunes shows that there is 128Gb music in her library even though I can only find 1 copy of any of the music on the hard drive.
    How can I clean this up?
    I know that I can manually delete the duplicates from the library but with over 10,000 titles that would take more time than I care to think about.

    Yeah, my mail account only has google, before it had google and icloud but only one of each. I may not have explained it properly though. Mail doesn't seem to be the problem, 10.8 seperated Notes and the Mail app, they no longer appear in Mail, but if I were to go to gmail.com they show up as duplicates (and many of them). When I switched my notes to icloud only, and go to icloud.com, the notes seem fine... with no duplicaes. Yet, in the "On My Mac" section of the Notes app, there is a folder labeled Recovered Items... where nearly every time I access notes, the most recent edited note displays duplicates.
    I appreciate your input though, and I double checked what you suggested, no luck yet. I could switch to evernote but I love the formatting of "Notes"

Maybe you are looking for

  • How can I search or filter to see only videos?

    I've returned from an extended trip and have downloaded all of my media into Aperture and iPhoto by extension. Is there a way in which I can search or filter to locate all my videos so I can move them to a single location (other than looking for an i

  • Final Cut Pro X.  Delete automatic markers/keep manual markers.

    Final Cut Pro X.  I added markers to my project. I created a DVD by clicking... Share-DVD-Burn. When I play the DVD & use my remote to skip, I expected to skip to each spot that I had marked. However, when I skip using my remote, it skips every 30 se

  • How to know if delete series or occurrence in outlook 2010 in calendar from right click menu from UI?

    I need delete one series in outlook 2010, but when check this item by    OlRecurrenceState recurState = olApptNotRecurring; m_spItem->get_RecurrenceState(&recurState); recurState is always occurrence. I want to know which menu item I selected "Delete

  • Where is the bookmarks icon in Maps for iOS 8?

    I'm having trouble sending bookmarks from my Mac (Mavericks) to my iPhone 5 (iOS 8). I can't find any way to save or access bookmarks or favorites. In the documentation online, a bookmark icon is shown in the upper right corner of the Maps app. An ac

  • Import Gentran DDF

    I attempted to import a Gentran DDF to create a new Guideline, but no matter how many different DDF's I attempt to import I get the same error message. Error Code = 0xC00CE00D, File Position=89, Line=3, Line Bytes=27, Reason: The client 'GentranDDF i