Duplication In Lov

Hi,
I have Search Form . I am using lov for the searching purpose. First i select a data from lov , i will assign all the data with respect to the selected data from lov to respective fields. my problem
is i am again going to click the lov with out clearing the value from lov (lov inputtext) , the search window having the same data 3 times. how can i rectify this problem
regards
rajesh

Hi,
I am working in Jdeveloper 11g service pack 2, adf. In my page i have search filter with three dependent combo box. Based on search the records populates in the search grid table. For example i have A, B, C three combos.....where B depends on A and C depends on the selection of B. based on C the search results come in the grid table.
Search is working fine. But when i try to add new records in the search grid, the values that i select from the combo's A, B, C duplicates. That is new record added
I am selecting example 1 in combo A and dependent values comes in both B and C. But when i again add new record then i see duplicates in the combo A...now Combo A has two 1's....similarly the values that i select in Combo B and C gets duplicates. I am using List of Values for A, B, C. and search criteria for the dependent combo's in their view object. Please somebody can let me know how to solve this problem. Thanks

Similar Messages

  • How remove duplication in the array

    import java.util.*;
    public class stringlength{
         public static void main(String[] args){
              String p = "i love java very much.but i like it";
              String t = "i love java very much.but i like it";
              String[] sentence1 = p.split("\\.");
              String[] sentence2 = t.split("\\.");
              String[] EachLine1;
              String[] EachLine2;     
    //*******Begin break the paragraph into line p and t****************
              for(int line1_p = 0 ; line1_p < sentence1.length ; line1_p++){
                        EachLine1 = sentence1[line1_p].split(" ");          
                   for(int line2_t = 0 ; line2_t < sentence2.length ; line2_t++){
                        EachLine2 = sentence2[line2_t].split(" ");
              //************End of break line*************************************
              //************Begin compare each word********************************
                        for(int word_p = 0 ; word_p < EachLine1.length ; word_p++){          
                             for(int word_t = 0 ; word_t < EachLine2.length ; word_t++){
                                  if(EachLine2[word_t].equals(EachLine1[word_p])){
                                       System.out.println(EachLine1[word_p]);
                             if(count>6){     // set the size that want to match
                                                 cost++;
              //*************End of compare*****************************************
    the above is my coding.
    well i wan compare the 2 string..then if found matched...print out the match word.
    from the comparison, it will create duplication during the matching.
    so i wan remove all the duplication word by only print out the match result.
    thx guys.....:)

    well i found out the solution from the example already.
    but that one is for single array...
    now i want to compare 2 string together but when i found the matched word...it cannot remove the duplication words..
    anyone can help me to solve this problem?
    it is very urgent..!!
    import java.util.*;
    public class FindDups {
        public static void main(String args[]) {
             String a ="i came i saw i left left left";
             String b ="i came i saw i left left left";
             String[] c=a.split(" ");
             String[] d=a.split(" ");
             for(int i=0;i<c.length;i++){
                  for(int j=0;j<d.length;j++){
                       if(c.equals(d[j])){
                   String[] e=d[j].split(" ");
                   ArrayList aList;
                        aList = new ArrayList( Arrays.asList(e ) );
              HashSet s = new HashSet( aList ); // create a HashSet     
              System.out.println(" distinct words detected: "+s);

  • Avoid duplicate lov

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

    Similar thread:
    Duplication in LOV

  • ICal Duplication Problem

    I don't know where the problem lies - but have been getting killed by calendar duplicates (iCal). I began with around 10 calendars in the left sidebar - and each of those have multiplied like rabbits - to between 50-100 each. Maybe more. (I may have as many as 4000 calendars!) Crazy. Have been trying to delete the dupes in iCal - but to get rid of them all could literally take days. Is there a quick and easy way to get rid of all these dupe calendars?? A step by step guide - plus a way to prevent this from happening in the future.
    I am syncing with iPhone, MobileMe and my Mac laptop.
    I do not want to get rid of all of them because I have data in some. But most are empty - and clearly need to get rid of those.
    I also have some duplicates in birthdays.
    I have used the Dupe Deleter - but it is not useful for actually getting rid of the extra calendars.
    Would love to hear what solutions you have found to work best. Thanks.

    I don't have an answer, but I feel I've at least identified the problem re: duplication of subscribed events in iCal.
    Prior to the latest update subscribed calendars were not considered Mobile Me calendars. In order to to have the events update automatically from the "cloud" you would have your touch or phone sync only with mobile me and subscribe to the calendar you want on both your iCal and on your touch or phone.
    Now it seems that even though you can't VIEW a subscribed calendar through mobile me, it is treating subscribed calendars as a mobile me calendar - so calendars are showing up twice - once as a subscription through mobile me, and a second time through your touch or phone subscriptions.
    The problem? You must physically open iCal and update in order for your cloud to be updated, and your events to show up properly.
    The bottom line - for now cancel your subscriptions on your phone or touch, and only sync with mobile me. That solves the duplications. But it creates more work for you.

  • Duplication with Veritas netbackup 4.5

    Alright. This is driving me crazy. How can you clone a database using Veritas? Right now we are using TSM and are switching to Veritas. With TSM, I can run the duplication from either the target or the auxiliary. With Veritas it states you must run it on the auxiliary. One problem with this is if your target does not have a password file. I can't bounce a production db just to create a temp password file.
    Another issue is with the username. I understand you have to restore logged in as the user who created the backup. We have 28 different servers with 28 different oracle users so to do this will be an administrative hastle. With TSM you can pass rman an options file with the username in there.
    If there's any documention other than in Veritas' manual under "Redirected Restore" I'd love to see it. Veritas' documentation doesn't use the RMAN duplicate command. It's almost as if they expect the exact same directory structure and user on the aux server.
    The error that is killing me is the:
    Failed to open for restore
    I know the backup is there on tape, I just can't get permissions to it and don't know how.
    Thanks

    Hi 152124
    Once you have the catalog created you can begin to play with RMAN. You could backup the whole database and backup it partially and so on. I recommend you to look for the manuals for it.
    Regarding Veritas NetBackup , I have not has experienced with that. I have always worked backing up the database directly to file systems for after move them to tapes.
    If you have any doubt during your learning you can ask here in this forum.
    Joel Pérez
    http://otn.oracle.com/experts

  • Duplication of the records

    hi
    i am using oracle 9i. i am designing a form which contains a tabluar records , with three fields emp_id, emp_name, details . when i insert a value into the first record
    using a LOV. again if i insert the same id into another record it is accepting ... what should i do to avoid duplication of the data ..
    10q

    Ok, This is a complete example:
    - Create a work table on which you will base your block:
    CREATE TABLE EMP_TEST AS SELECT * FROM EMP WHERE 1=2- Create a new form
    Base a block on the EMP_TEST table
    - create a LOV with the following Select order:
    Select EMPNO, ENAME From EMP
    Where EMPNO Not IN (Select Distinct EMPNO From EMP_TEST)- create a KEY-LISTVAL on the EMPNO item of your EMP_TEST block
    add the following code:
    Post;
    list_values ;- run the form
    - type Ctrl-L on EMPNO to choose an employee in the first record
    (choose SMITH in the LOV)
    - create a second record
    - type Ctrl+L to show one more time the LOV.
    SMITH does not appears in the LOV
    Francois

  • Can I stop the duplication of a project file in FCP X

    I accidentally started the duplication of a large project to the wrong destination drive. Can I stop this? (It is paused right now.)

    Thanks, Russ. I can totally relate when you say, "once I have FCP running well, I try to avoid doing anything that I think would have the potential for confusing it." I love FCP X except that it is making me superstitious. It seems that some feature will quit working until I restart. Or the background tasks window will stick on some random percentage of completion even though it has, in fact, finished. It's spooky. So just trying not to "confuse" or maybe even "offend" it makes perfect sense.
    I remember way back when I had my Mac Plus, you could often press Command + . [period] to stop a process. That was pretty cool.

  • Duplication of website when uploading iWeb in FTP

    My question was posted several days ago but it did not receive a response. At the same time while sorting out the issue, I sought Domain Host support from my ISP. What was occurring at my end was beyond comprehension and the Domain Host support suggested issues with codes, which I had no brain to sort out.
    To resolve the dilemma, I renamed the website, remounted everything to eliminate 'glitches' occurring on some of the pages. In other words, start all over again. Uploading was compounded with the server several times over having its own issues, but finally after many re-uploads, the renamed site finally loaded successfully.
    I wish to add to all to this by mentioning that iWeb still proves, from my perspective, the best web design program for users like me who are not highly trained web developers or designers. I am in the category of 'low-ended' with basic skills and minimal design talents. However, the website I have for my client is well visited not into the millions because of its subject. But, it is serving the purpose of my client and the visitors I hear from provide accolades galore.
    I have investigated all the other web design programs mentioned in the forum and find iWeb the best not only for a 'low-end' web designer but user-friendly for the visitors. My clientele tell me how much they like the layout with the INDEX in view on every page making it so easy to access the other pages without having to return to the 'HOME' page. They love the layout and design as well thanks to the excellent templates iWeb has. The content is most important but presenting it in a way that visitors find to be excellent speaks volumes for iWeb.
    I wish I was a developer so that I could work on iWeb to keep pace with the coding changes occurring on the internet. But, as the lowly web designer out there, iWeb remains functional thereby keeping my client happy and its world-wide visitors.
    Thanks, for letting me share my experience with iWeb and that I will continue with the program ad infinitum. Concluding, by saying Apple made a mistake dropping this excellent web design program.

    I am replying to my own message because the one above was sent accidentally before I could add more information. I wanted to include URL for the website which is http://lanark-baldersonpastoralcharge.ca
    I also want to include a screen shot of my Website folder. The troublesome site #4 is what duplicates in the FTP program.
    I hope this issue can be resolved as it is a very well visited site. I am diligent about keeping it updated. The entire website had to be uploaded because Apple removed the Arial MT and Arial Bold MT. All my pages were skewed as a result. After hours of getting them reinstated with Arial Round Bold MT, iWeb published everything beautifully, but I cannot upload them because duplication of the site has occurred.
    HELP!

  • Error while creating a custom LOV

    Hi All,
    We have a requirement to open a custom page on the click of an LOV
    inside a table(n Number of rows will be there in the table). We need to
    populate the base page field after selecting a value from the custom page.
    We are using a flow layout with a text box and a torch icon. On the
    click of torch icon we are using javascript to open the custom Page.
    Everything works fine. When we use the cancel/apply in the custom popup
    page, we are using javascript to submit the base page. The popup closes,
    but the base page is erroring out saying
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please
    select Home to proceed. "
    Can we achive this functionality by any other approach?
    We cannot use the standard LOV as the page should have much more
    functionality than what the standard LOV offers. The client want the
    functionality to be in the same way as LOV works.
    We have set the Security property of the custom page to 'SelfSecured'.
    The javascript used on the click of the torch icon is given below.
    function popupWindow(pageUrl,formName,rowId,retainAM,isModal)
         var Nav4 = ((navigator.appName == "Netscape") &&
    (parseInt(navigator.appVersion) >= 4))
         if(rowId != null)
              pageUrl += "&xxbgRowId=" + rowId;
         if(retainAM)
              pageUrl += "&retainAM=Y";
         if(isModal)
              if(navigator.userAgent.indexOf("Firefox")!=-1) // For Mozilla --
    added for BUG#2339
                   var versionindex = navigator.userAgent.indexOf("Firefox")+8;
                   if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
                        openWindow(self, pageUrl,formName ,{width:650, height:450,
    resizable:'yes'},'modal','dialog', true);
              else if(Nav4) // For Netscape -- For Mozilla also Nav4 will be true,
    but if the browser is mozilla it would be caught in the previous block only
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes,modal=yes');
              else // For IE
                   openWindow(self, pageUrl, 'modal',{width:650, height:450,
    resizable:'yes'}, true);
         else
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes');
    The javascript used on the click of the cancel button on the custom
    popup page is below.
    function closeAndSubmitBasePage()
         window.close();
    window.opener.submitForm(0,0,{serverValidate:'0',FromPopup:'selectSubmit'});
    }

    Mukul,
    I have tried with the bound value approach also. The popup is coming fine, but when the base page is submitted , it is still erroring out. Also if we close the popup with the browser close (X), and then do some action on the base page, it is erroring out saying
    "You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).".
    Now our client has agreed to navigate to another page and come back to the originating page instead of bringing the popup. Since we are close to the release point, I am going ahead with this approach., there is lot to do with the page functionality.
    I will try to use the popup again , once the functionality of the page is done and will update you on the same.
    Thanks a lot Mukul
    --Anoop                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • LOVs in Reports6i

    When building my LOV on the parameter screen, I want to limit the values of one field based on a value from another field. When I tried it, I got an error about using a bind variable in the where clause. Any suggestion on how to do this?

    greg,
    the capabilities of the reports parameterform are limited as it was only designed to provide simple form capabilities. if you need more complicated parameter form functionality, you need to use oracle forms or regular html-forms/javascript functionality.
    regards,
    philipp

  • Error While Running LOV

    Hello,
    I am using APEX 4.0.1.00.03 and 11g DATABASE, and I'll explain my problem on the following lines.
    I've started using functions in PACKAGES to return results to my LOVS in APEX, so that I can change the code of LOV without having to make any change in the application (I've created a generic table type t_varchar_number). The problem is I've started to get this error:
    "ORA-06550: linea 1, columna 71: PL/SQL: ORA-0947: no hay suficientes valores ORA-01007: la variable no está en la lista de selección ORA-06550: línea 1, columna 7: PL/SQL: SQL Statement ignored ORA-01007: la variable no está en la lista de selection".
    Strangely it doesn't appear every time and if I push F5 a given number of times it will disappear and stop giving the error for a time. I've also placed a logging mechanism on the code so that I can see the query strings I use on my "execute immediate" instructions, when the error appears and there is no difference from when it doesn't give the error. Also if I run the string I place on the log manually there is no error.
    On each LOV I use the following code:
    select * from table(PACKAGE_NAME.function_name(args))
    Can anyone help me out? What other steps can I take to try and track this problem?
    Thank you,
    Miguel

    Hi Scott,
    I'm also facing the same problem as Monika.
    I have an LOV with the following query which returns 8774 records, when I copied and pasted those records into a text file it shows as 220KB in size.
    SELECT
    p.name d,
    p.pers_id r
    FROM people p,
    people_contacts pc
    WHERE SYSDATE BETWEEN NVL(start_date,SYSDATE) AND NVL(end_date,SYSDATE)
    AND     p.used_by_orc = 'Y'
    AND     pc.pers_id = p.pers_id
    AND     pc.group_id IN ('ORC','SHARED')
    ORDER BY 1
    After searching the forum, I think there's a 32K limitation on the fetched rows in tabular forms, can you please let me know how to overcome this problem?
    I'm selecting the persid in the (tabular form) SQL query updatable report.
    I'm trying to display the field as Name instead of PERSID by changing it to select list(based on named LOV) or whichever way it can work.
    Please help me.
    Thanks in advance.
    - Pradeep

  • Firefox 4 download. Since, Windows start button options changed. Should be browser agnostic, can you please tell me how to fix this? While I love Firefox, this has me livid! (1 irony, Firfox is no longer in my Start button menu.)

    I first noticed an issue when looking for something normally located in the Accessories folder of MS programs. What I found upon clicking on "All Programs" was not the program file/folder tree I expected but rather a direct list of all files in the Program Files folder. I then went to open a new session of Firefox to research that issue and noticed my basic Start button options were also changed. Now, even focus for event-driven events is not working correctly. Again, while I love Firefox, this needs to be fixed immediately or I will be forced to uninstall the product just to function.

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

  • How to restrict Sales Order LOV in Transact Move Orders

    Hello
    We would like to restrict LOV in the Transact Move Orders screen to only those orders that were created in that specific Operating Unit. Also, we would like to control the LOV for Release Rules to a specific OU.
    I believe the LOVs for both these screens pull from MTL_SALES_ORDERS. Therefore, I guess we would need to create a Value Set of type Table, value will be SEGMENT1 (Sales Orders) but unsure about the where condition.
    Any help would be appreciated.
    Sanjib

    Sanjib
    Release Rules: Why don't you use the SRS version if pick releasing rather than the screen. Ofcourse you lose some flexibility to enter order number and customer information. If screen is a must you can take the LOV from the existing form and create a new record group in the new form instance trigger. Add this peice to the lov sql to control the pick release rules result:
    (select 1 from org_organization_definitions cust_org
    where org.organization_id=cust_org.organization_id
    and operating_unit=FND_PROFILE.VALUE('ORG_ID'))
    This org is mtl_parmeters table used in LOV.
    2. Transact Move Orders: Instead of changing the LOV and playing with the Sales Order Flexfield, you can use the inventory organization security to control who can do a transaction. This will not change the LOV but definitely will control the access to the records after you have queried. As you know this is inventory or warehouse function not the OE function.
    You can try one idea though:
    Segment2 is order_type which is OU specific. You can create value set that picks the LOV from the order types table for a specific OU, assign that to the segment2 and create a security rule. This rule will have include and exclude rules. You include all the Order types that are in a specific OU and assign that rule to the resp of that OU where move order is transacted. This will limit the LOV of the order types to only those that are availble for that resp. I have not tried this but give it a shot.
    Thanks
    Nagamohan

  • Query to populate an alert message to avoid the duplication of Reference no

    Hi Experts,
    SUB:Query to populate an alert message to avoid the duplication of BP reference no.
    In A/R invoice, BP reference (numAtcard) is used to enter sales Order no as the reference number. As human error, double A/R invoice is created to that particular Sales Order no.
    So,I want a formatted search query in that BP reference field, so that when i type the sales order number and give tab, it should populate the alert message if it already exists.
    Moreover i do not want to block it through store procedure method, only warning is required to my scenario.
    Kindly, help me on this ground.
    Regards,
    Dwarak

    Hi there, i think this could work, maybe you'll only need to configure the Formated search to work with the document total, each time it changes
    declare @numatcard varchar(15)
    declare @count int
    set @numatcard=(select $[oinv.numatcard])
    set @count= (select count(numatcard) from oinv where numatcard=@numatcard)
    if @count>1
    select 'There is a duplicated reference'
    select @numatcard
    hope it works

  • Love / Hate Relationship with Photoshop Elements

    I am having a love/hate relationship with Photoshop Elements!  Love the page design capabilities and hate the lack of capability on the print end.  Kodak does not give any choice in the book they will print from Elements.  All I can get is a #$%& die cut cover!  Is there anyway that I can order other options that I know Kodak has available when creating a book using Elements and their site.  I want to be able to choose a custom cover!  I have tried Kodak to get answers.  I have tried Adobe (impossible, unless maybe you pay).  Neither are very helpful!  The only answers I get are use the Elements designed pages and place them onto pages that you create in their software.  Problem is that one needs a jpeg file to do this.  No online program seems to recognize .PSD or .PSE file types.   HELP!
    Bob, Barbara you both seem to be very knowledgable...any ideas...
    Anyone with any help can answer here or [email protected]
    Terry

    Terry:
    Yeah, the photobook print options are limited. (Although, the built in Kodak and Shutterfly books are very nice)
    One thing to try differently is to use the Print At Home selection on that first screen after the clicking on the PhotoBook option (assuming you are using PSE8 here) (use Photo Collage with PSE7)
    Down that path, you will get a few more choices in page size. It will still create a multi-page document (a .pse) while your building your book, and when done, you can print the pages of the book out as a .pdf. Many book printing services will take in a PDF.
    Another option is to do a single page at a time and save them as .jpg's. A little more work in keeping your various files together and ordered properly, but it would give you ultimate flexibility.

Maybe you are looking for