Two values from a LOV to Timecard LDT

Hi,
I have a requirement to pull two values from single LOV to Timecard layout page.
e.g.: Suppose we have a LOV field 'emp_number' on layout and this field is getting value from one LOV. Query in LOV shows emp_number and emp_last_name. I want to put one more field on layout page by the name Last_Name and whenever a emp_number value is selected in LOV, corresponding emp_last_name value should be coming to Last_Name field of layout page. Can somebody please help me on how to do this?
I have tried to add one similar HXC_LAYOUT_COMPONENTS as of Emp_number LOV field to ldt file with component = 'Text_Field' but it is not working for me :(

Follow this note 307151.1, this note describes how to populate a Task Name in a different field when Task number is selected in LOV, you have a similar requirement, so you can configure the attributes as described in that note.
- Ramu

Similar Messages

  • Returning a value from a LOV to the main document

    Hi,
    I'm using jheadsrart with uix, I have a form with a LOV. When I chose a value in the LOV, I need to return another value from that LOV to a hidden field in my main document.
    How can I do that?
    Thanks for your help!
    Martin

    Hi Rohit,
    Just declare the two variables var1(variable for checking data) & var2(variable for counter) in your include program.
    Inside the include you can do the coding as under:
    IF VAR1 <condition for checking data>.
    VAR2 = VAR2 + 1.
    ENDIF.
    Now you can check the value of the variable VAR2 in the main program & call the desired function.
    Regards,
    Chetan.
    PS:Reward points if this helps.

  • [UIX] How To: Return multiple values from a LOV

    Hi gang
    I've been receiving a number of queries via email on how to return multiple items from a LOV using UIX thanks to earlier posts of mine on OTN. I'm unfortunately aware my previous posts on this are not that clear thanks to the nature of the forums Q&A type approach. So I thought I'd write one clear post, and then direct any queries to it from now on to save me time.
    Following is my solution to this problem. Please note it's just one method of many in skinning a cat. It's my understanding via chatting to Oracle employees that LOVs are to be changed in a future release of JDeveloper to be more like Oracle Forms LOVs, so my skinning skills may be rather bloody & crude very soon (already?).
    I'll base my example on the hr schema supplied with the standard RDBMS install.
    Say we have an UIX input-form screen to modify an employees record. The employees record has a department_id field and a fk to the departments table. Our requirement is to build a LOV for the department_id field such that we can link the employees record to any department_id in the database. In turn we want the department_name shown on the employees input form, so this must be returned via the LOV too.
    To meet this requirement follow these steps:
    1) In your ADF BC model project, create 2 EOs for employees and departments.
    2) Also in your model, create 2 VOs for the same EOs.
    3) Open your employees VO and create a new attribute DepartmentName. Check “selected in query”. In expressions type “(SELECT dept.department_name FROM departments dept WHERE dept.department_id = employees.department_id)”. Check Updateable “always”.
    4) Create a new empty UIX page in your ViewController project called editEmployees.uix.
    5) From the data control palette, drag and drop EmployeesView1 as an input-form. Notice that the new field DepartmentName is also included in the input-form.
    6) As the DepartmentName will be populated either from querying existing employees records, or via the LOV, disable the field as the user should not have the ability to edit it.
    7) Select the DepartmentId field and delete it. In the UI Model window delete the DepartmentId binding.
    8) From the data controls palette, drag and drop the DepartmentId field as a messageLovInput onto your page. Note in your application navigator a new UIX page lovWindow0.uix (or similar) has been created for you.
    9) While the lovWindow0.uix is still in italics (before you save it), rename the file to departmentsLov.uix.
    10) Back in your editEmployees.uix page, your messageLovInput source will look like the following:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="${bindings.DepartmentId.path}"
        destination="lovWindow0.uix"/>Change it to be:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="DepartmentId"
        destination="departmentsLov.uix"
        partialRenderMode="multiple"
        partialTargets="_uixState DepartmentName"/>11) Also change your DepartmentName source to look like the following:
    <messageTextInput
        id=”DepartmentName”
        model="${bindings.DepartmentName}"
        columns="10"
        disabled="true"/>12) Open your departmentsLov.uix page.
    13) In the data control palette, drag and drop the DepartmentId field of the DepartmentView1 as a LovTable into the Results area on your page.
    14) Notice in the UI Model window that the 3 binding controls have been created for you, an iterator, a range and a binding for DepartmentId.
    15) Right click on the DepartmentsLovUIModel node in the UI Model window, then create binding, display, and finally attribute. The attribute binding editor will pop up. In the select-an-iterator drop down select the DepartmentsView1Iterator. Now select DepartmentName in the attribute list and then the ok button.
    16) Note in the UI Model you now have a new binding called DCDefaultControl. Select this, and in the property palette change the Id to DepartmentName.
    17) View the LOV page’s source, and change the lovUpdate event as follows:
    <event name="lovSelect">
        <compound>
            <set value="${bindings.DepartmentId.inputValue}" target="${sessionScope}" property="MyAppDepartmentId" />
            <set value="${bindings.DepartmentName.inputValue}" target="${sessionScope}" property="MyAppDepartmentName" />
        </compound>
    </event>18) Return to editEmployees.uix source, and modify the lovUpdate event to look as follows:
    <event name="lovUpdate">
        <compound>
            <set value="${sessionScope.MyAppDepartmentId}" target="${bindings.DepartmentId}" property="inputValue"/>
            <set value="${sessionScope.MyAppDepartmentName}" target="${bindings.DepartmentName}" property="inputValue"/>     
        </compound>
    </event>That’s it. Now when you select a value in your LOV, it will return 2 (multiple!) values.
    A couple things to note:
    1) In the messageLovInput id field we don’t use the “.path” notation. This is mechanism for returning 1 value from the LOV and is useless for us.
    2) Again in the messageLovInput we supply “_uixState” as an entry in the partialTargets.
    3) We are relying on partial-page-refresh functionality to update multiple items on the screen.
    I’m not going to take the time out to explain these 3 points, but it’s worthwhile you learning more about them, especially the last 2, as a separate exercise.
    One other useful thing to do is, in your messageLovInput, include as a last entry in the partialTargets list “MessageBox”. In turn locate the messageBox control on your page (if any), and supply an id=”MessageBox”. This will allow the LOV to place any errors raised in the MessageBox and show them to the user.
    I hope this works for you :)
    Cheers,
    CM.

    Thanks Chris,
    It took me some time to find the information I needed, how to use return multiple values from a LOV popup window, then I found your post and all problems were solved. Its working perfectly, well, almost perfectly.
    Im always fighting with ADF-UIX, it never does the thing that I expect it to do, I guess its because I have a hard time letting go of the total control you have as a developer and let the framework take care of a few things.
    Anyway, I'm using your example to fill 5 fields at once, one of the fields being a messageChoice (a list with countries) with a LOV to a lookup table (id , country).
    I return the countryId from the popup LOV window, that works great, but it doesn't set the correct value in my messageChoice . I think its because its using the CountryId for the listbox index.
    So how can I select the correct value inside my messageChoice? Come to think of it, I dont realy think its LOV related...
    Can someone help me out out here?
    Kind regards
    Ido

  • How do I return two values from a stored procedure into an "Execute SQL Task" within SQL Server 2008 R2

    Hi,
    How do I return two values from a
    stored procedure into an "Execute SQL Task" please? Each of these two values need to be populated into an SSIS variable for later processing, e.g. StartDate and EndDate.
    Thinking about stored procedure output parameters for example. Is there anything special I need to bear in mind to ensure that the SSIS variables are populated with the updated stored procedure output parameter values?
    Something like ?
    CREATE PROCEDURE [etl].[ConvertPeriodToStartAndEndDate]
    @intPeriod INT,
    @strPeriod_Length NVARCHAR(1),
    @dtStart NVARCHAR(8) OUTPUT,
    @dtEnd NVARCHAR(8) OUTPUT
    AS
    then within the SSIS component; -
    Kind Regards,
    Kieran. 
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    Below execute statement should work along the parameter mapping which you have provided. Also try specifying the parameter size property as default.
    Exec [etl].[ConvertPeriodToStartAndEndDate] ?,?,? output, ? output
    Add a script task to check ssis variables values using,
    Msgbox(Dts.Variables("User::strExtractStartDate").Value)
    Do not forget to add the property "readOnlyVariables" as strExtractStartDate variable to check for only one variable.
    Regards, RSingh

  • Bold value from popup LOV

    Hi,
    style="font-weight:bold" or class="fielddatabold" in the element's HTML Form Element Attributes work perfectly for the text field. I cannot get the same result for field with disp.value from popup LOV (display value,return key). I can change font family for example, but cannot bold. Any suggestions ?

    Thanks a lot for your answer. I got the same idea, but cannot see any place to manage returned values on this template. Description from pop-up key LOV seems to be turned "disabled", and will get the grey colour on the screen. However, if I will change to Select list, it looks fine.

  • How to create a multi column list item and select these values from a LOV

    Hi all,
    My requirements are:
    1) create an LOV which holds the productno, productname and productprice fields (this is working)
    2) at run time, select one record from LOV and populate the list/grid with this selected record values of productno, productname and productprice fields, so we are showing them on the form in the form of a table/grid (not working)
    3) be able to select multiple records from LOV and be able to populate the list item with multiple records (not working)
    4) have two more columns in the list/grid, for productquatity and total price (not wokring)
    Please help me.
    how can i create this grid or list in oracle
    whats the possible way of acheiving this in oracle

    If you use a list item to display multiple columns then you'll need to use a fixed-width font. You can achieve a similar look with proportional fonts by using a normal block and setting the fields' bevel to 'None'.
    Each column in the LOV has a Return Item property (under Column Mapping Properties). Set this to a :block.item reference for each column to bring the data back into those referenced fields.
    You can't select multiple records from an LOV. For this you will need to create your own form. Check the help for system.mouse_button_modifiers to see how to respond to Ctrl+click and Shift+click.
    To add columns just modify the LOV's record group's query.

  • How do I pass selected values from dynamic LOV to Command SQL in Oracle

    My environment:
    Crystal 11
    Oracle 10
    I've created and tuned a SQL script for a report.  In the Database Expert, I've copied the SQL into a Command.   I've modified the Command to create 3 parameters. 
    I need help with the following:
    1) How do I create a dynamic, cascading LOV and associated prompt group for the three parameters defined in the Command?
    2) How do I pass the user selected valueS from the prompt group into the Command SQL as limits applied to the query executed against the database?

    I have the same problem with same environment .
    The main report is having a  2 level cascading dynamic parameters.
    I created a sub report with a command as below.
    *select * from (*
    select DATUM,MSEC,CNT,B1_NAME,B2_NAME,B3_NAME,ELEM_NAME,INFO_NAME,m.INFOTYPE,V.NAME,rank()
    over (partition by B1_NAME,B2_NAME,B3_NAME order by DATUM desc ,MSEC desc,CNT desc) currentRank
    from MESSAGES m,INTYDE i,VANAME v
    where  DATUM <=SYSDATE  and trim(B1_NAME)='{?B1Name}'
    and trim(B2_NAME)='{?B2Name}'
    and m.INFOTYPE=i.INFOTYPE
    and i.VALUE_NAME_NUMBER = v.VALNUM) where currentRank=1
    I needs to pass cmbination of B1Name and B2Name from main report. I created a formula like
    formula=Join({?B1Name},{?B2Name}),'|');  But this is showing some error.
    and How I will substitute this in my command . As I new to Crystal XI  help expected.

  • Return multiple values from dynamic lov in apex 3.2.1

    Hi
    I need to create a dynamic lov that displays multiple values from a table and RETURNS multiple values into display only fields in a form page to be saved to the database
    For example
    dynamic list of value name SERVER
    select name || ',' || life_cycle d, name r
    from sserver
    order by 1
    This SERVER LOV is attached to the P4_SSERVER_NAME field in the form.
    However this only returns sserver. name into the P4_SSERVER_NAME field in the form. I would need to capture the life_cycle field as well and populate the P4_LIFE_CYCLE field in the form as well. How does one do this?
    I have searched this forum however could not find a thread that fit my situation. i saw that in 4.2 there is dynamic action however unable to upgrade at this moment.
    any suggestions are greatly appreciated.
    thank you

    Hi CRL,
    One method is to set the value of your P4_LIFE_CYCLE item via APEX_UTIL.set_session_state
    To do this you need to create a Page Process
    Type PL/SQL anonymous block
    Process Point On Load - Before Header
    The source for the Process might look like this: DECLARE
       l_life_cycle   VARCHAR2 (50);
    BEGIN
       SELECT life_cycle
         INTO l_life_cycle
         FROM sserver
        WHERE :p4_sserver_name = sserver.name;
       APEX_UTIL.set_session_state ('P4_LIFE_CYCLE', l_life_cycle);
    END;Jeff

  • How to add two values from a textField ???

    Hi all,
    I'm new to Java and the J2ME, I jumped to J2ME immediately, and I'm wondering how can I compute two values coming from textField. Let say I would add this two values,.
    like
    txtAnswer = txtNum1 + txtNum2 ; (in some other PL)
    Here's my snippet code in J2ME
    TextField txtAnswer = new TextField("Answer ","",10,TextField.NUMBER);
    TextField txtNum1 = new TextField("Number1 ","",10,TextField.NUMBER);
    TextField txtNum2 = new TextField("Number2 ","",10,TextField.NUMBER);
    Command cmdAdd = new Command("ADD",Command.SCREEN,1);
    // add the UI
    What would be the code inside my commandAction method?
    Thanks a lot.
    God Bless.

    Thanks JC,
    I already solved the problem, JC you provided the right answer, it's my fault why my program does not run at the first time.
    Thanks,. I'm just wondering the difference between these two implementaiton and why does the first implementation causes an error, (an error that I posted before this.)
    Implementation 1
    public class myClass extends...... implements .... {
    private TextField txtNum1, txtNum2, txtAns;
    public void myFunctionAdd( )
    TextField txtNum1 = new TextField("Number1 ","",10,TextField.NUMERIC);
    TextField txtNum2 = new TextField("Number2 ","",10,TextField.NUMERIC);
    TextField txtAns = new TextField("Answer","",10,TextField.NUMERIC);
    public void commandAction(Command c, Displayable s )
    if ( ....... )
    int answer = Integer.parseInt(txtNum1.getString()) + Integer.parseInt(txtNum2.getString() );
         txtAns.setString(String.valueOf(answer));
    Implementation 2:
    public class myClass extends...... implements .... {
    private TextField txtNum1, txtNum2, txtAns;
    public void myFunctionAdd( )
    txtNum1 = new TextField("Number1 ","",10,TextField.NUMERIC);
    txtNum2 = new TextField("Number2 ","",10,TextField.NUMERIC);
    txtAns = new TextField("Answer","",10,TextField.NUMERIC);
    public void commandAction(Command c, Displayable s )
    if ( ....... )
    int answer = Integer.parseInt(txtNum1.getString()) + Integer.parseInt(txtNum2.getString() );
         txtAns.setString(String.valueOf(answer));
    What's seems to be the difference?
    Thanks for any kind reply....

  • Return two values from autosuggest

    hi i have inputtext with autosuggest,i what to return two values when i select the values for example if i select cityname i must return cityname and citypostacode for that city.this is how i did my inputtext autosuggest
    <af:inputText label="#{bindings.Cityname.hints.label}" columns="20"
                                            maximumLength="#{bindings.Cityname.hints.precision}"
                                            id="itc4" simple="true"
                                          value="#{pageFlowScope.orgDetailsBean.addressBean.city}"
                                          partialTriggers="it19" autoSubmit="true"
                                          shortDesc="Enter City Name Or Click Refresh To re-enter City Name">
                                <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.addressbean.oncitySuggest}"/>
                            <af:autoSuggestBehavior/>
                          </af:inputText>
        public List oncitySuggest(String searchCityName) {
        ArrayList<SelectItem> selectItems = new ArrayList<SelectItem>();
            searchCityName = searchCityName.toUpperCase();
        System.out.println(searchCityName);
        //get access to the binding context and binding container at runtime
        BindingContext bctx = BindingContext.getCurrent();
        BindingContainer bindings = bctx.getCurrentBindingsEntry();
        //set the bind variable value that is used to filter the View Object
        //query of the suggest list. The View Object instance has a View
        //Criteria assigned
        OperationBinding setVariable = (OperationBinding) bindings.get("setBind_city");
        setVariable.getParamsMap().put("value", searchCityName);
        setVariable.execute();
        //the data in the suggest list is queried by a tree binding.
        JUCtrlHierBinding hierBinding = (JUCtrlHierBinding) bindings.get("CityViewLOV1");
        //re-query the list based on the new bind variable values
        hierBinding.executeQuery();
        //The rangeSet, the list of queries entries, is of type
        //JUCtrlValueBndingRef.
        List<JUCtrlValueBindingRef> displayDataList = hierBinding.getRangeSet();
        for (JUCtrlValueBindingRef displayData : displayDataList){
        Row rw = displayData.getRow();
        //populate the SelectItem list
        selectItems.add(new SelectItem(
        (String)rw.getAttribute("Cityname"),
        (String)rw.getAttribute("Boxcode"),
        (String)rw.getAttribute("Citycode")));
        return selectItems;
        }

    KK-$$ wrote:
    Now I need 1 more column say, flag something like:
    open o_ref_cursor for select function_name( 2345) Emp_no ,  function_name_2 ( 2345) flag from table1 where x = y;But I don't want to define a new function function_name_2 to get flag value. Because emp_no and flag are both queried from the same table.
    So, Can you tell me how can I make 'function_name' to return two values using appropriate data-type ( or user defined data type?)?Your example could be solved like this (since it is in pl/sql):
    v_emp_no := function_name( 2345);
    v_flag := function_name_2 ( 2345);
    open o_ref_cursor for select v_emp_no Emp_no , v_flag flag from table1 where x = y;But I guess the example was still too simplicistic.

  • Disable Values from Relationship LOVs

    Hi,
    I would like to disable certain seeded values from the Lookup CONTACT
    For ex. I want to disable the value "Friend" from CONTACT
    If I try to uncheck the Enable flag, It says the field is protected against update.
    Can somebody provide a solution for this.
    Thanks in Advance.
    Ben

    It actually depends on what you need.
    If you have multiple localizations(locs) implemented in your Org, then un-checking the Enabled field, will not show the value for any of the locs.
    In which case you can use the Tag field, to work out according to your installed locs.
    If there is only 1 loc you're interested in, then both are the same.
    One small thing though -
    If the created_by is : 1     (AUTOINSTALL) or 2(INITIAL SETUP)
    then the system is not allowing you to change the Tag filed for the record from the UI(you can use Diagnostics -> Examine to change it)
    If the created_by is : 120(ORACLE12.0.0)
    then you can change the Tag, Enabled flag from the UI.
    So this might be a bug on the Lookup screen.
    You can check with Oracle and log a bug.
    Also, when you change values from Diagnostics -> Examine, just check what happens if you re-apply a patch or hrglobal.drv.
    If the patch is overwriting your modified values, then it might be an issue. You might have to change these every-time a patch is applied.
    Cheers,
    VB
    Edited by: VB on Jul 18, 2011 11:16 AM

  • Better display values from shuttle LOV in a report

    Hi,
    I have created a shuttle LOV in a form and then a report that shows (among other things) the values chosen from this shuttle LOV.
    If the user choose more than one value I don't like how they get displayed in the report (they have to go into a single cell) because
    the user sees a list of items separated by ":" .
    Is there a simple way to show them for example as a bullet point list or in some other nicer human readable format?
    Thanks,
    Antonella

    Hi user13140530,
    *1. I think you have colon separated data in your database.*
    //create one function
    create or replace function DISPLAY_FORMAT
        (L_ID in NUMBER)
        return VARCHAR2 is
    v_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
    val_list varchar2(4000) := '';
    val_list1 varchar2(4000) := '';
    begin
    SELECT SHUTTLE_VALUE INTO  val_list FROM YOUR_TABLE WHERE ID = L_ID;     // select shuttle value according to your table structure.
    v_selected := APEX_UTIL.STRING_TO_TABLE(val_list);
    FOR i IN 1..v_selected.count
    LOOP
        val_list1 := val_list1||i||'.'||v_selected(i)|| '<br>';
    END LOOP;
    RETURN val_list1;
    end;
    /*2. call the above function in your report as a column.*
    // suppose this is your report query
    select ID, NAME, DISPLAY_FORMAT(ID) from your table_name;Try the above code,hope this may helps you.
    Regards,
    Jitendra

  • How to get the values from a LOV

    Hi
    I have a LOV which can I have some times only one record , in this case I want when the user click on the boutton of the LOV , the informations of the record goes immediatly to the corresponding item in the block without showing the lov to the user
    Is it possible to do it ?
    thanks

    Hi,
    You can check whether that lov has only one record and then make that item dissable.

  • Getting two values from a vector

    Hello
    I have a string which when i print it out i get these values.
    hello
    hello
    hello
    hello
    hello
    hello
    hello
    bye
    bye
    bye
    and i want to be able to print out just one of each word
    hello
    ben
    How can i do this with using a vector?
    thanks
    bobby

    Something like this:
    Vector bigVectorOStuff; // declared elsewhere, this contains your Strings
    Vector uniqueEntries = new Vector();
    Enumeration enum = bigVectorOStuff.elements();
    String entry = null;
    while (enum.hasMoreElements())
        entry = (String)enum.nextElement();
        if (!uniqueEntries.contains(entry))
             uniqueEntries.add(entry);
    }That is, loop through the original Vector, getting each element out one at a time. Check to see if this element is in the other Vector, and if not, add it.

  • How to retrieve 2 values from a table in a LOV

    Hi
    I'm pretty new to APEX. I try to retrieve two values from a table using a LOV. I have a table named DEBIT with then columns SITE, NAME and KEY
    I want to display NAME to the user in a list. When the user select an item from the list, I want to retrieve the data of the SITE and KEY column of this item in order to launch an SQL command based on this two values.
    How to retrieve thes two values whant the user chooses an item from the list ?
    I apologize for my english, being french.
    Regards.
    Christian

    Christian,
    From what I understood about your requirement, you want a 'select list with submit' which displays "NAME" and based on the value selected, you want to get the corresponding values for "SITE" and "KEY" from the table.
    <b>Step 1: Create a select list with submit, say P1_MYSELECT </b><br><br>
    Use something like this in the dynamic list of values for the select list: <br>
    SELECT NAME display_value, NAME return_value
    FROM DEBIT<br><br>
    <b>Step 2: Create a page process of type PL/SQL block. Also create 2 hidden items P1_KEY and P1_SITE. </b><br><br>
    In the PL/sQL, write something like:
    DECLARE
      v_key DEBIT.KEY%TYPE;
      v_site DEBIT.SITE%TYPE;
      CURSOR v_cur_myvals IS
              SELECT KEY, SITE
              FROM DEBIT
              WHERE NAME = :P1_MYSELECT;
    BEGIN
      OPEN v_cur_myvals;
      LOOP
              FETCH v_cur_myvals
              INTO  v_key,v_site;
              EXIT WHEN v_cur_myvals%NOTFOUND;
    :P1_KEY := v_key;   
    :P1_SITE := v_site; 
      END LOOP;
      CLOSE v_cur_myvals;
    END; <br><br>
    Then you can use these values for whatever purpose you need to.
    Hope this helps.

Maybe you are looking for

  • Budget to Actual Variance Formula in Scenario Dimension help

    I am trying to calculate the Budget to Actual variance by using a member formula in the Scenario dimension. The formula I'm using is: @VAR("Final"->"Actual" -> &CurrentYear,"Budget"); This formula yields a value that equals the budgeted amount. The V

  • Zen Vision M or Zen V P

    I'm going to buy Creative mp3 player and i'm looking at these: Zen Vision M(30gb) or Zen V Plus(4gb). So I need advice which to buy. First I was thinking about Zen V Plus (4gb). I found that it cost 229$, but when I looked at Vision's price it was on

  • Installing 10G R2 on windows XP

    Hi I am trying to install 10G R2 on XP, on my D Drive. C drive has 2 valid different Oracle homes. The install goes fine, but when netca tries to create the listener it fails. Even if I add the relevant entries into all listener.ora and SQL.net files

  • Can Airport Extreme connect wirelessly to a printer

    I am trying to connect a wireless capable HP printer to Apple Airport extreme. HP computer shows that it connected to Airport Extreme, but my network computers connected wirelessly cannot seem to find the printer. Any suggestions for fix?

  • How do I rid my Iphone of duplicate contacts

    I synced my Iphone with Outlook. Previously I was syncing with my Yahoo.com account. Now I have many duplicates and there is no way I can find to delete them from the Iphone. Is there any way to manage the Iphone contacts from ITunes? How do I fix al