Filters, copy, delete and unique records

I use a lot the Unique records filter in Excel, anyone knows if it's available on Numbers???,
Additionally, when I filter a list and I try to copy the filtered results, I copy the whole table again, and when I delete filtered rows, Numbers delete all the non-show rows that are between the filtered ones. How can I avoid it?

Hi..
Ex: U have ITAB1 - Email is one of the field
1. SORT ITAB1BY EMAIL.
2. DECLARE WF_EMAIL TYPE EMAIL.
LOOP AT ITAB1.
  AT FIRST.
WF_EMAIL = ITAB1-EMAIL.
  ENDAT.
IF NOT WF_EMAIL = ITAB1-EMAIL.
  APPEND ITAB3.  " passing unique entry
   WF_EMAIL = ITAB1-EMAIL.
ENDIF.
* pass the values to ITAB2 and APPEND for duplicate all records
ENDLOOP.
Hope this Helps,
Nag
Edited by: Naga Mohan Kummara on Dec 14, 2009 11:46 AM

Similar Messages

  • Weblink issues for copying opportunity and lead records

    I am trying to create weblink fields for copying Opportunity and Lead records. I am basically successful for Opportunities except that I can not get picklist or link values (such as the associated account) to copy over.
    I am having no success at all for the the lead copying field. My code is as follows:
    https://secure-ausomxbha.crmondemand.com/OnDemand/user/LeadsNewPageDefault?OMTGT=LeadCreateEditForm&OMTHD=LeadEditNav&OMRET0=LeadsDetailPage%3focTitle%3dPA%2bCasinos%26OMTGT%3dLeadDetailForm%26OMTHD%3dLeadDetailNav%26ocEdit%3dY%26OCTYPE%3dOther%26ocTitleField%3dFull%2bName%26LeadDetailForm.Id%3dABHA-5SVNQI&LeadCreateEditForm.Id=ABHA-5SVNQI&OCTYPE=Other&LeadCreateEditForm.First Name=%%%First_Name%%%&LeadCreateEditForm.Last Name=%%%Last_Name%%%.
    Any thoughts?
    Thanks.

    Hi,
    To my knowledge there is no written documentation available. But this is the way i do it. Go to the lead edit page. Right click in your IE and choose view source. Search for that particular field say "First Name" or "Last Name". As part of the HTML code displaying the field (<input> html tag), you can find the exact field name to be used.
    The example in my case is below says the field name is LeadCreateEditForm.First Name
    "First Name*</span></td><td class="fv" style="padding-left:6px;height:2px;vertical-align:middle"><input name="LeadCreateEditForm.First Name" size="20" maxlength="50" tabindex="4" type="text" value="Doug" class="inputControl" id="LeadCreateEditForm.First Name" />"
    Hope this helps !!!
    -- Venky CRMIT

  • Create the second copy, delete and the first copy serial (Archive Deletion)

    Hi Experts,
    I am new to DB2 and i want to enable "-cds" Option (Create the second copy, delete and the first copy serial) while performing online backups. Though this option is available in "Oracle" and we can schedule the same in DB13 itself.
    If you can please guide to enable this feature in DB2 via DB13 ?
    Regards,
    JAI

    Hello JAI,
    which tool you´re using to create the online backups?
    The command to prune could be as followed:
    db2 prune history  and delete
    It will be helpful if you monitor your db2diag.log during this to see whats happened.
    Regards
    Olaf

  • Need duplicate records of ITAB1 into ITAB2 and unique records into ITAB3

    HI....
    I have one internal table with list of users, i need duplicate users into one internal table and unique users into another internal table..
    Unique key to identify users is user mail id....
    I dont want to use DELETE ADJACENT statement...
    Pls Help
    Thanks
    Ram

    Hi..
    Ex: U have ITAB1 - Email is one of the field
    1. SORT ITAB1BY EMAIL.
    2. DECLARE WF_EMAIL TYPE EMAIL.
    LOOP AT ITAB1.
      AT FIRST.
    WF_EMAIL = ITAB1-EMAIL.
      ENDAT.
    IF NOT WF_EMAIL = ITAB1-EMAIL.
      APPEND ITAB3.  " passing unique entry
       WF_EMAIL = ITAB1-EMAIL.
    ENDIF.
    * pass the values to ITAB2 and APPEND for duplicate all records
    ENDLOOP.
    Hope this Helps,
    Nag
    Edited by: Naga Mohan Kummara on Dec 14, 2009 11:46 AM

  • Delete and update records in Stored procedures

    I AM NOW STUDYING A STORED PROCEDURE ,AND I ENCOUNTER SOME PROBLEM WITH
    UPDATE AND DELETE SOME RECORD WHICH ONE IS UPDATED OR DELETED,
    THIS IS MY CODE:
    PACKAGE table_of_array IS
    type emp_rec is record(
         empno emp.empno%type,
         ename emp.ename%type,
         sal          emp.sal%type,
         deptno emp.deptno%type
    type arr is table of emp_rec
    index by binary_integer;
    procedure get_data(a in out table_of_array.arr);
    procedure do_insert(a in out table_of_array.arr);
    procedure do_update(a in out table_of_array.arr);
    procedure do_delete(a in out table_of_array.arr);
    END;
    PACKAGE BODY table_of_array IS
    procedure get_data(a in out table_of_array.arr)
    is
    i number:=0;
    begin
         for cur in (select empno,ename,sal,deptno from emp) loop
              a(i):=cur;
              i:=i+1;     
         end loop;
    end;
    procedure do_insert(a in out table_of_array.arr)
    is
         i number:=0;
         cnt number:=a.count;
    begin
         for i in 1..cnt loop
              insert into emp(empno,ename,sal,deptno)
              values(a(i).empno,a(i).ename,a(i).sal,a(i).deptno);
         end loop;
    end;
    procedure do_update(a in out table_of_array.arr)
    is
    begin
         /* WHICH RECORD AND ITEM HAD BEEN UPDATED */
    end;
         procedure do_delete(a in out table_of_array.arr)
         is
         begin
         /* WHICH RECORD HAD BEEN DELETED */      
         end;
    END;

    when you want to update, delete or insert records with a stored procedure you have to provide a procedure that locks the records
    i'll send you an example of an update procedure and a lock procedure
    PROCEDURE p_upd_devices ( resultset IN devtab) IS
    BEGIN
    FOR i IN 1..resultset.COUNT LOOP
              IF resultset(i).zone <> resultset(i).zone_ref THEN
              p_update_zone(resultset(i).zone, resultset(i).mdv_seq);
              END IF;
         END LOOP;
    EXCEPTION WHEN OTHERS THEN
    mecoms_general.logging(0, sqlerrm, 'pck$fill_error_devices.p_upd_devices');
    END; -- p_upd_devices
    PROCEDURE p_update_zone (pi_zone in metering_devices.zne_code%type, pi_device in metering_devices.seq%type) IS
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
              UPDATE metering_devices
                   SET zne_code = pi_zone
                   WHERE seq = pi_device;
                   commit;
    EXCEPTION WHEN OTHERS THEN
    mecoms_general.logging(0, sqlerrm, 'pck$fill_error_devices.p_update_zone');
    END;
    PROCEDURE p_lock_devices( resultset IN OUT devtab) IS
    BEGIN
    null;
    END;

  • Deleting and updating records in a database table

    dear all ,
    i have created a databse table to which i have to update and delete records thru my program whixh i am unable to do so plz help me.

    Hi Sonu,
    To delete and update the records in your database table, you can create a Function Group and all the necessary function modules for it. This will a good approach as this will separate the database interface logic and the business logic. You need to use the DELETE and UPDATE ABAP keywords to delete and update the records of the database tables. Have a look at the ABAP Keyword documentation for a complete details of the usage.
    Have a look at the following link:
    DELETE
    http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
    UPDATE
    http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
    Hope this will help.
    Thanks,
    Samantak.

  • Update primary key/delete and reinsert records

    Hi, I have been told to update some fields. The database is new to me, and now I see the field is the primary key (and it has child tables with that as foreign key). The person who told me isn't reachable until next week...
    ...wasn't a bad idea to update pk's? I see it's possible, deferring constraints...
    update primary key
    Re: Update Primary Key
    ...but it's better/safer the script deletes and later re-insert the records, right?
    Thanks

    Always is better be able to undo any change .
    But ¡, why would you update pk's? it's possible but you colud find few problems like:
    - many levels of foreign keys exists.
    - not validate pk
    Look at:
    Re: Novalidate primary key

  • How can I  delete and update records using where conditions?

    I want to delete and update the coherence records with some conditions, I describe it to use SQL as follows:
    delete from "contacts" where getStreet() = "dsada";
    update contacts set getStreet() = "dddd" where getCity() = "ssss";
    Can I use the filter like query to achieve this requirement as follows:
    ValueExtractor::View vHomeStateExtractor = ChainedExtractor::create(
    ChainedExtractor::createExtractors("getHomeAddress.getState"));
    Object::View voStateName = String::create("MA");
    Set::View setResults = hCache->entrySet(
    EqualsFilter::create(vHomeStateExtractor, voStateName));
    I know I can use get and put to achieve this requirement , but it Requires a two-interaction between the client and coherence server. Does it have And another way?
    Thanks very much, and please Forgive my English is not very good.

    Hi,
    You have a couple of options for updating or deleting using a Filter.
    For deleting you can use an Entry Processor and the cache invokeAll method. Using "out of the box" Coherence you can use the ConditionalRemove entry processor. I'm a Java person so the C++ below might not be exactly right but you should get the idea.
    ValueExtractor::View vHomeStateExtractor = ChainedExtractor::create(
    ChainedExtractor::createExtractors("getHomeAddress.getState"));
    Object::View voStateName = String::create("MA");
    hCache->invokeAll(EqualsFilter::create(vHomeStateExtractor, voStateName),
    ConditionalRemove::create(AlwaysFilter.getInstance());For update you would either need to write custom Entry Processor implementations that perform the updates you require or you can use out of the box POF or Reflection ValueUpdaters that update specific fields of the entries in the cache. These valueUpdaters would be wrapped in an UpdaterProcessor so the call would be very similar to the code above.
    JK

  • Form appears even when physical copy deleted and cache cleared.

    I am running an application on the oracle application server (Oracle 10G Release 2 10.2.0.1.0).
    When I load up my initial form sometimes it runs the correct version of the menu i.e. the one in the forms_path and sometimes it runs an old version which must be located somewhere, but I cannot find where. I have searched the entire machine (used as the application server). There is no virtualisation running it is a straight forward live box and my search returns nothing apart from the version I expect of the menu.
    Fair enough I thought, must be stored in the cache I then went through the process of deleting anything that might remotely store a history in Internet Explorer.
    This didn't work so I thought it might be the cache in the JVM, so cleared the cache in the JVM and disabled caching.
    Still no luck, now thought it might be caching issue in the oracle application server itself. After checking in Enterprise Manager that nothing was cached and restarting the instance of the server that was running and even the machine in a desperate attempt to clear anything that might be stored anywhere the old version still appeared on some start-ups.
    Does anyone have any ideas from where this phantom form may be returning from the dead.
    I even tried deleting all the forms on the computer (obviously backed them up) and miraculously the application ran with an old version of the forms on some start-ups.
    This problem crops up intermitently as discussed above, where oh where is it coming from. Have been looking at this all day and just has me stumped. Help would be very much appreciated
    Thanks in advance
    Dan

    The menu being brought back each time was how I thought forms worked. Just got drawn into cache idea because I thought with the file not appearing anywhere in the search of the computer, it must have something to do with historical versions.
    I'm not in work because its currently 9 o'clockish in England but I will try out the sysinernals tool tommorow. I take it by sysinternals you mean the filemon tool using a filter of .mmx to draw out the menu?
    Thanks
    Dan
    p.s Was an old version of menu I built not the oracle default.

  • Concept insert,update,delete and select

    hi all, i want to ask
    Where I get an explanation of the concept of work process insert, update, delete and select records. From the user starts the query until accessing records the physical . or is there that can give the picture of concept process insert,update,delete and select record??

    I'm not sure what are you asking here.
    Are you asking how do I do these operations in a JDeveloper built application? Which technologies are you using?
    Have a look at this tutorial for the basics of how to do select/update - insert and delete are two more operations you can add to your page from the data control:
    http://www.oracle.com/technology/obe/obe11jdev/ps1/ria_application/developriaapplication_long.htm

  • I copied a video from iphone to PC, it shows "0 kb" in PC and can't play. I deleted the original one in iphone, and no record in itunes as well. Any way to recover it from PC with the one shows "0 kb" now? Any software or program? thx!

    Hi all,
    I copied a video from my iphone 4s to PC, it shows "0 kb" in PC and can't play. I deleted the original one in iphone by accident, and no record in itunes as well. Is there any way to recover it from PC now with the one shows "0 kb"? Any software or program? Or expert of PC knowing how to do it? thx!

    You are out of luck on your PC, since the file appears to be empty, but you can try to recover the deleted video on your phone: http://www.wondershare.com/disk-utility/recover-deleted-photos-from-iphone.html

  • Delete the parent records and child table records at a time

    hi all;
    I am facing the pbm like to delete the all records in child table and corresponding records in parent table at a time. so I want to delete the all the records in child table and corresponding parent records in parent table by using single SQL query. plz help me
    Thanks in advance

    You want to use one single SQL statement to delete the child records in a table and the corresponding master records in the master table??
    That's not quite possible with a single SQL, of course unless you are talking about Oracle Forms, where you have a relation and set the delete behavior to Cascading, like said in the above posts.
    Tony

  • Receiver JDBC: Error while doing the Deleting and Inserting new records

    Hi All,
              I am doing Idoc to JDBC scenario. In this I am collecting & bundling different type of Idocs and then sending to the JDBC receiver. My requirement is to delete the existing records in the database and insert the new records. I have configures as mentioned in the link
    Re: Combining DELETE and INSERT statements in JDBC receiver
    In the above link its shows for single mapping. In my scenario I am using multi mapping for collecting idocs in BPM. If I configured for normal mapping then it is working fine(Deleting existing records and Inserting new record). Whenever I am using multi mapping then I am getting following error in the receiver JDBC communication channel u201CError while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)u201D . Can you please tell me what might be the problem.
    Thanks & Regards,
    T.Purushotham

    Hi !
    check this out:
    JDBC - No 'action' attribute found in XML document - error
    JDBC receiver adapter: No 'action' attribute found in XML document
    It appears that the inbound payload (the one that is going from XI to the JDBC adapter) does not have the requiered tag to specify which SQL action to execute in the receiver system. Maybe the multimapping is not creating the desired output message format.
    Regards,
    Matias.

  • My playlists on my computer have been deleted and I would like to restore them from my IPod. How can I copy from my ipod to my computer?

    My playlists on my computer have been deleted and I would like to restore them from my I Pod. How can I copy my music from my iPod to my computer?

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • Adobe Premiere Pro CS5.5 crasing from ripple delete and copy

    I've been using Adobe Premiere Pro CS5.5 for several months now and it's been working with next to no problems and I've been very happy with it until today.
    As I've neared the end of a recent project, after doing nothing different than usual I went to use ripple delete and every time I try it I now get this error message:
    Premiere Pro Debug Event
    Premiere Pro has encountered an error.
    [..\..\Src\Sequence\Action\ClipTrackRippleAction.cpp-56]
    Then:
    Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down. We will attempt to save your current project.
    Then:
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\Program…
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application’s support team for more information.
    Then:
    Adobe Premiere Pro CS5.5 has stopped working
    A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
    [Close program]
    Then if I try to copy clips or move multiple clips this error message shows up:
    Premiere Pro Debug Event
    Premiere Pro has encountered an error.
    [..\..\Src\Sequence\Action\SequenceAddTransitionAction.cpp-57]
    Then:
    Premiere Pro Debug Event
    Premiere Pro has encountered an error.
    [..\..\Src\Sequence\TrackItemTrack.cpp-639]
    Then:
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\Program…
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application’s support team for more information.
    Then:
    Adobe Premiere Pro CS5.5 has stopped working
    A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
    [Close program]
    I am, however, still able to move single clips, adjust the length of individual clips and able to watch my project.
    I've tried two different computers and restarted one and nothing has changed.
    Is there an explanation as to why this is happening? Is there anything I can do to get around this or make it stop?

    Lord Nelson here.
    I've reverted back to 5.5.0 as I was experiencing lock-up problems with the BM Intensity Pro.
    Unfortunately I haven't found a way of simply uninstalling the update and reverting back to an earlier version.  Win 7 Sytem Restore wouldn't, so I had to uninstall Premiere Pro, apply the Adobe Clean Install utility (or whatever!) and then reinstall PP CS5.5.  Trouble was that it reinstalled the whole suite, not just PP - so I lost all custom workspaces across the suite.
    Grrrrr!

Maybe you are looking for