Calculate DropDown List items values

I have 7 DDLists for the availability of the employees for 7 days the week.
DD1, DD2, DD3, DD4, DD5, DD6, DD7
The list items for all are the same:
Day, Evening, Night, N/A(Not Available)
How I can calculate  in a field  the Total Days of Availability
and in a separate field Total Days N/A?
Thank you

Hi,
A few things to correct
1) You must use square brackets -- My Fault -- not sure how that one got past me!
          DDLday[i]
2) DDLs can't have values the same for the items meaning change them to:
     0 = N/A, 1= Day, 2= Eve, 3= Nite
3) You only need the 1 script --don't place script on the NumNA field--delete that whole script
4) At the end of the script, you must reference the N/A Field correctly. You're not using the name you gave it--you're using the name I gave it so it can't find it.
     NumNA = notAvailable  //Either rename the NA field to NumNA  or change the script but putting the field name you're using
5) Finally, I don't remember coming accross this before, but the script needs to have the last 2 lines switched. It seems to matter.
var available = 0
var notAvailable = 0
for i = 0 upto 6 do
     if(DDLday[i] > "0")then    //square brackets
          available = available + 1
          continue
     else
          notAvailable = notAvailable + 1
          continue
     endif
endfor
NumNA = notAvailable     //NumNA is the other field
$ = available                       // this must be the last line
So, 2 of the problems were my fault.
That should do it.
Stephen

Similar Messages

  • Open tabbed panels from dropdown list option value

    I have about 10 tabbed panels on my page.
    I created a dropdown list, <option value></option value>.
    I need to open the specific panel when an option is selected from the dropdown list.  I know how to open tabbed panels by URL, a button, and a link on the same page.  But how do i open a tabbed panel from a dropdown list.  The <option value> in IE does not allow for onclick events in IE. 

    Yes and I have been trying to find that.  Right now I have it setup where the onchange event is "location = this.options[this.selectedIndex].value;">
    and then I have each<option> in the dropdown list with teh value=http://URL.com?tab=3#tabbedpanels1.
    It works but it isn't as dynamic as I would like.  When i select each option in the dropdown, it refreshes the page and opens the correct tabbed panel. Then the dropdown list is reset to the default value because the page refreshed.  I wanted to do this without the page refreshing, that way the dropdown list item remains at what I selected to open the tabbedpanel. and plus, I didn't want the page to refresh everytime but to just open the tabbedpanel the same way as if i made a button to open it.

  • How to send a list item value to URL to open data related to item value

    Hi,
    Iam using Apex4.0 and iam facing some problem. Iam unable to send selected list item value to the url specified in the HTMl region.
    Here i want to open the data related to list item value in other page.
    List item - :Familyp
    i want to pass this selected value to the url and when ever user selected the list item and clicks on the url, then it should display the item value related data in new page.
    I tried with &FamilyP in url but it's not working. Any one help me plz.
    Regards
    Vamsi.Tata

    Is it a normal Select list or Multi Select list?
    If you have select list that allows you to select multiple options then you cannot pass it through URL. Multi-select /Shuttle keep colon separated list in the item, and this confuses Apex because the Apex URL uses colons for a different purpose. No escaping or URL encoding will help.
    If it is normal select list that allows selection of only one option then you can pass through the url. Unless of course the data has a colon in it.
    For multi-select, and when the value contains colon, the only way is to save the value in session state, same page item or any other place like Application Item, and then reference it at the other end. Never pass through the URL.
    Regards,

  • How to add Gap between dropdown List Items - ComboBox in MFC VC++

    How to add Gap between dropdown List Items - ComboBox in MFC VC++

    Did you tried SetItemHeight() inside your App .
    Thanks
    Rupesh Shukla

  • Custom draw dropdown list items

    Hi all,
    I'm working on porting some plugins from CS6 to CC 2014.
    One issue I'm stumped upon, is that with CS6, I'm able to customize the drawing behavior of items inside a dropdown, by overriding the methods in "IOwnderDrawItem", that was aggregated on "kDropDownListWidgetBoss".
    But it seems that with CC SDK,
      - The "IOwnerDrawItem" is no longer aggregated to "kDropDownListWidgetBoss", and
      - The "IOwnerDrawItem" no longer has the "DrawItem" method.
    The porting guide does not seem to provide a solution for this. So I'm looking for help about how I can achieve this with CC.
    Thanks a lot.
    -Jeff

    I think I have found the solution/workaround for this. Just posting back here as I do see there are quite some viewers, and hope this would help others that run into this same issue.
    Basically, I think the previous SDKs allowed "DrawItem" that essentially provided a quick shortcut to allow custom drawing of items inside a string-content dropdown list. And inside the method implementation, you would need to grab the string content of the item, retrieve the more domain specific data based on the string, and draw things out.
    And with CC SDK, it seems that it wants to discourage this shortcut, and promote encapsulation of dropdown list items. So now, you'll have to declare a custom widget type (extending "kBaseWidgetBoss"), that aggregates a custom implementation of "IID_ICONTROLVIEW", which does the custom drawing. And when populating the dropdown, you'll need to create instances of the custom widget type, and put them into the dropdown list via dropdown controller.
    And for the dropdown list itself, you might want to declare your custom type by extending "kOwnerDrawDDListWidgetBoss", where you can then provide custom implementation of "IID_IOWNERDRAWITEM", to achieve specific item measuring needs.
    I think all of this is good intent and cleaner, just that I wished there were clearer instructions in the porting guide.
    -Jeff

  • Update existing list item value in sharepoint using web service code

    I have the below code which I am trying to run for updating the list item value. "Settings" is the list name and the item in this list is having index of 1.
    Main()
            ListsSoapClient client = new ListsSoapClient();           
            client.ClientCredentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials;
            client.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation;
            string strListName = "Settings";          
            client.Open();          
            XElement listData = client.GetList(strListName);  
            string listID = listData.Attribute("ID").Value;
            string version = listData.Attribute("Version").Value;
            // string version = listData.Attribute("View").Value; Doesnt work
            // Method 1 : Make the call to SharePoint
            var listItems = client.GetListItems(strListName, null, null, null, null, null, null);
            List<XElement> results = listItems.Descendants().ToList();
            XElement updateItem = results[1];
            updateItem.SetAttributeValue("ows_Value", "value to update");
            client.UpdateListItems(strListName, updateItem); //Didnt work
            // Method 2 : Make the call to SharePoint
            string strBatch = "<Method ID='1' Cmd='Update'>" +
                            "<Field Name='ID'>1</Field>" +
                            "<Field Name='Title'>" + "999" + "</Field></Method>";
            XmlDocument xmlDoc = new System.Xml.XmlDocument();
            System.Xml.XmlElement elBatch = xmlDoc.CreateElement("Batch");
            //elBatch.SetAttribute("OnError","Continue"); //Not mandatory ?
            //elBatch.SetAttribute("ListVersion","1"); //Not mandatory ?
            //elBatch.SetAttribute("ViewName", "00F85842-35AD-4AED-8DF7-0F903FB850BE"); is it mandatory ?
            elBatch.InnerXml = strBatch;
            client.UpdateListItems(strListName, XmlElementToXelement(elBatch)); //doesnt work
            client.Close();
       public static XElement XmlElementToXelement(XmlElement e)
            return XElement.Parse(e.OuterXml);
    How do we get the ViewName value of the list using code ? why is it not mandatory in Method 2. At the end of the method1 i am getting the below exception.How do I fix this ?
     Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

    you can get view name using below links:
    http://stackoverflow.com/questions/14857811/sharepoint-web-services-getlistitems-view-name
    http://www.a2zmenu.com/Blogs/SharePoint/Get-selected-view-name-of-a-SharePoint-List.aspx
    you can use SPList.getview method.

  • How to Get the required List Item values by using Where Clause

    I have two tables named "TAX_RULES","BILL"
    1. " Tax_Rules" (Sub_Head_Code,Tax_ID,Tax_Percentage)
    { While "Sub_Head_Code" field is unique,
    Tax_ID describes that there are two kinds of Tax_IDs based on Tax_percentage which is 6% for some Sub_Head_Codes and 3.5% for the remainng Sub_Head_Codes. I have given Tax_ID 1 for 6% and Tax_ID 2 for Sub_Head_codes having 3.5%. }
    2. "BILL" (Bill_ID,Sub_Head_Code,Tax_ID,Bill_Amount)
    {While "Bill_ID" describes unique Bill Identification Number,
    Sub_Head_Code and Tax_ID are behaving like composite foreign key from Tax_Rules table}
    I have design form for both tables.
    In BILL form i am trying to get values of Tax_ID from Tax_Rules table at run-time by using WHEN-NEW-FORM-INSTANCE.
    For this whenever i select a Sub_Head_Code in Bill Form, all the Tax_IDs that i have recorded against each Sub_Head_Code which is either 1 or 2 against 6% and 3.5% respectively.
    But I want that whenever i select a "Sub_Head_Code", Only that Tax_ID which is associated with that Sub_Head_Code ahould come in the LIST ITEM.
    I have used WHERE clause but that is useless.
    Following is the Code that i have applied in the WHE-NEW-ITEM-INSTANCE Trigger at FORM LEVEL
    <CODE>
    DECLARE
         rg_n1 VARCHAR2(40) :='TAX_ID';
         rg_idn1 RecordGroup;
         gc_idn1 GroupColumn;
         errcode NUMBER;
    BEGIN
         CLEAR_LIST('BILL.TAX_ID');
         rg_idn1 := Find_Group(rg_n1);
    IF      Id_Null(rg_idn1) then
              rg_idn1 := Create_Group(rg_n1);
         gc_idn1 := Add_Group_Column(rg_idn1,'EXPLAIN',CHAR_COLUMN,60);     
              gc_idn1 := Add_Group_Column(rg_idn1,'TAX_ID',CHAR_COLUMN,3);
         END IF;
         errcode := Populate_Group_With_Query(rg_idn1,'select TAX_ID,TAX_ID from TAX_RULES');
         POPULATE_LIST('BILL.TAX_ID',RG_IDn1);
    END;
    </CODE>

    In the Tax Rules table, you state:
    "Sub_Head_Code" field is unique
    In the Bill table, you state:
    Sub_Head_Code and Tax_ID are behaving like composite foreign key from Tax_Rules table
    If the Sub_Head_Code is unique, then it's acting as a primary key, so Sub_Head_Code and Tax_ID in the Bill table are not behaving like a composite foreign key. The Sub_Head_Code is a foreign key, and the Tax_ID is irrelevant as far as keys are concerned.
    It is not clear what it is you want to do.
    If you want to display the Tax_IDs from the Bill table when you select a Sub_Head_Code from the Tax_Rules table, then change your query to:
    select TAX_ID, TAX_ID from BILL where Sub_Head_Code = :Tax_Rules.Sub_Head_Code
    If you want to display the Tax_IDs from the Tax_Rules table when you select a Sub_Head_Code from the Bill table, then change your query to:
    select TAX_ID, TAX_ID from TAX_RULES where Sub_Head_Code = :Bill.Sub_Head_Code
    If this is not what you want, then clarify what it is you want to do. Don't say:
    "I want that whenever i select a "Sub_Head_Code", Only that Tax_ID which is associated with that Sub_Head_Code"
    because it is not clear what tables you are referring to.

  • How to refresh list item values before report is run?

    We have two SELECT LIST items (drop boxes) on our report. One SELECT LIST has values of "World Region" (e.g. NORTH AMERICA, SOUTH AMERICA, EUROPE, ASIA)
    the other SELECT LIST has values of "Subregion" (e.g. NORTHERN EUROPE, SOUTHERN EUROPE, SOUTHEAST ASIA etc...)
    The values in the Subregion list are dependent on the value that is chosen from the "World Region" List. Can someone tell up how to update the values in the Subregion list BEFORE we submit the page? We can get these values to update (via sql query) when the page is submitted but that is only happening after the report gets run- which is not what we want. We want the user to select a Region from one SELECT LIST and then see all the qualifying Subregions for that Region in the Subregion SELECT LIST. Only after both Region and Subregion have been selected do we want to run the report. Thank for any help on this.

    hey john--
    john) things like Scott's reference to "The name of the LOV Item". What does this really mean?
    raj) in htmldb there's a concept of items at the page and at the app level. page level items have ui component associated with them. in scott's explanation above, he's talking about using a page-level item with a "Display as" type of "select list w/submit" for your first select list. in that case, he's suggesting you have one select list item drive the values of another. when the self-submitting select list submits the page, it sets an htmldb built-in variable called :REQUEST to the name of the self-submitting select list item. in your follow-up post's example, that'd be "REGION_LIST". scott was explaining how you could control the functionality on your page by adding conditions to things like...
    :REQUEST = 'REGION_LIST'
    ...or using declarative Condition options like "Request = Expression 1" and then putting the string "REGION_LIST" in that Expression1 field. so in your case, you have a report region that you don't want displayed until the user's done selecting from your Subregion list. an easy way to handle that would be to add a hidden item (where "Display as" is set to "Hidden") to your page, for example :P1_LAST_REQUEST, to store the last value of :REQUEST. put a Computation on your page that populates :P1_LAST_REQUEST with :REQUEST each time the page is submitted. then put a Condition on your report region that makes it only render when :P1_LAST_REQUEST != 'REGION_LIST'. so this way your users can select a Region and have the page submit itself. the page will then redraw with the values of subregion list correctly populated (you'd presumably use :REGION_LIST in your subregion LOV query to achieve the filtered values) w/o your report region displayed. the user would then select a correct subregion and click some sort of "run my report" button. this time when the page redraws, :P1_LAST_REQUEST would be set so something other than "REGION_LIST" (it'd be set to whatever you named your "run my report button") and so your report region would display as desired.
    hope this helps,
    raj

  • Dropdown list default value  in Visual Composer

    Hi all  ,
    i have dropdown list in my Visual composer layout  i have values coming like 2001 to 2014 ,everything is fine . i need to display default value in the dropdown list should be curent year like 2009when i deploy the application by default the current year should be displayed in input field.

    Hi Venkatp,   
    To Assign the function into the dropdown inputfield DSTR(NOW(),'YYYY') and you can to display the current year
    Followings links are available to display the dateformat,
    http://www.sdn.sap.com.ngrs.net/irj/scn/index?rid=/library/uuid/60535002-571c-2c10-58b6-cc27faa7be4d&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/7556c6b7-0e01-0010-878b-cbf4dbe859eb&overridelayout=true
    Regards,
    Prabha

  • SP Designer - Update list item value error

    Hi,
    I'm making holiday requests with SP designer, and my workflow works well, however, when the manager validation task is created, I would like to add the holiday request's details (such as start date, end date, Employee ID, etc).
    So I have a list called "Holiday request" and an associated task list where all the validation tasks are stored.
    What I tried was to use the "Update list item" function to update the Employee ID value (in the validation task column I created) with the holiday request's Employee ID value. So what I did was this :
    (I initially posted a picture but I cannot, apparently)
    The list I work on is the associated task list. I chose the field "Employee ID" and set the value to "Current item : Employee ID".
    In my lookup, I've set the associated content field and in the value : "Current Item:Title"
    I have also tried to use the Current Item:ID (which would be the Holiday request's ID), but it didn't work either. I've been testing a lot and wanted to know if you guys had any suggestions ?
    Thanks a lot.
    Cheers

    Below are steps need to performed to update custom fileds in task form
    1. Create custom task content type using SharePoint 2013 workflow task.
    2. Add your fields here (start date, end date, Employee ID etc).
    3. Make sure this custom task content type is associated with workflow task list.
    4. In the assign task activity change the Task content type to your custom task content type.
    5.From the single task activity properties uncheck "Wait for Task completion".
    The below screenshot i have updated Empid in task form with current list Item id. You can update them according to your requirement.
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Fill another textbox based on list item value

    I have a list_item with option1, option2, option3 and 'N/A' with values 1,2,3,4. There is another text field called startdate of date type format FMMM/DD/RRRR. I would like to display date '01/01/1900' in the text box whenever user select 'N/A' in the list item.
    I used varuious trigger - WHEN-LIST-CHANGED or POST_CHANGED with following code.
    if :block1.options = 'N/A' then          
    :block1.startdate := '11/11/1111';
    else
    :block1.startdate := :block1.startdate ;
    end if;
    On both triggers, I am getting error when I select 'N/A' in a list item
    FRM-40735: WHEN-LIST-CHANGED trigger raised unhandled exception ORA-01843.
    -1403: ORA-01403: no data found
    Could you please help me with this? I will really appreciate it.
    Thanks,
    user7954680

    Hi,
    You might want to check this
    ORA-01843 is caused coz of the following reasons
    Cause: A date specified an invalid month. Valid months are: January-December, for format code MONTH, and Jan-Dec, for format code MON.
    Action: Enter a valid month value in the correct format.
    -Nisar

  • Filter List Item Values

    Hi,
    I am new to Oracle. Keeping in view the simple "EMP" table. I made a form that displays all the records in tabular form and the attribute "MGR" being displayed as "List Item". I am able to convert the "MGR" from Text Box to List Item and the values are being displayed properly and all the operations are sucesful.
    The problem is: I want to Filter the List Item against every row. I do not want the Name of the selected employee to be visible in List Box. As a person can not be his own Manager.
    Waiting for a reply,
    Aqeel.

    Table mh_category has 2 columns---
    column1 contains these values- a,a,a,a,b,b,c,c
    and column2 contains the corresponding values 1,2,3,4,5,6,7,8
    User sees A only once.
    when-new-item-instance trigger of list_item is calling a procedure shown below ....
    PROCEDURE list_type IS
         rg_name     varchar2(60) := 'RG';
         rg_id     RecordGroup;
         errcode     NUMBER;     
    BEGIN
         rg_id := Find_Group(rg_name);
         IF Id_Null(rg_id) THEN
              rg_id := Create_group_From_Query(rg_name,'SELECT distinct mh_type as column1, mh_type as column2 FROM mh_category order by 1');
         END IF;
         errcode := Populate_Group( rg_id );
         Clear_List ('mh_category.mh_type');
         Populate_List('mh_category.mh_type', rg_id);
    END;
    Edited by: 831050 on Jan 31, 2011 11:24 AM

  • Changing dropdown list selected value in JSP

    I would like a dropdown list to load with all values in a database table, which is no problem. But, I would then like it to display a selected text value from that list, depending on the value returned by a SQL query. As an example, say I was looking-up someone's personal data and there was a dropdown list that listed all the possible hair colors. If this person had been entered as having blonde hair, I want the dropdown list to display blonde at page load, but give the user the option to select another color if a change is needed.
    Thanks in advance for ur help.

    <option value="<c:out value="${currentchoice}"/>"
        <c:if test="${currentchoice=='db_value'}">     
            SELECTED 
        </c:if>
    >

  • How to change List item value

    Hi All,
    The scenario is like this....
    I have two list item Country and State.....Now when I select a specfic country from the list item.....corresponding state will come in the State list item....
    Plz Help me to solve the issue....
    Thanks in Advance.
    T.Halder

    Halder,
    In the WHEN-LIST-CHANGED trigger of the country list item write,
    DECLARE
         Num_Temp           NUMBER;
         RG_Group_ID RECORDGROUP;
    BEGIN     
         RG_Group_ID := CREATE_GROUP_FROM_QUERY('RG_STATE', 'SELECT STATE_NAME, STATE_CODE FROM STATE_TABLE WHERE COUNTRY_CODE = ''' || :CB_COUNTRY || '''');
         Num_Temp           := POPULATE_GROUP(RG_Group_ID);
         CLEAR_LIST('CB_STATE');
         POPULATE_LIST('CB_STATE', RG_Group_ID);
         :CB_MODULE := GET_LIST_ELEMENT_VALUE('CB_STATE', 1);
         DELETE_GROUP(RG_Group_ID);
    END;Replace the field names, table and and control name as per your requirement.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Missing dropdown list items?

    I have tried the following two ways to get the string corresponding to the selected value from a dropdown box.
        public void dropDown1_processValueChange(ValueChangeEvent event) {
            financewebapp.SessionBean1 sb = (financewebapp.SessionBean1) getBean("SessionBean1");
            Long pid = (Long) event.getNewValue();
            String tmp = new String("");
            com.sun.webui.jsf.model.Option[] options = (com.sun.webui.jsf.model.Option[]) dropDown1.getItems();
            int count = options.length;
            com.sun.webui.jsf.model.Option opt = null;
            for (int i = 0 ; i < count ; i++) {
                opt = options;
    if (pid == opt.getValue()) {
    tmp = opt.getLabel();
    break;
    java.util.Iterator iter = dropDown1.getListItems();
    String tmp = new String("");
    while(iter.hasNext()) {
    com.sun.webui.jsf.model.list.ListItem opt = (com.sun.webui.jsf.model.list.ListItem) iter.next();
    if(opt.getValue().equals(this.dropDown1.getValue().toString())) {
    tmp = opt.getLabel();
    break;
    Getting the value is easy, and the code shown for obtainig it from the event works fine (I get the correct, non-null value).
    *However, with the code that is not commented out, options always has a value of null, and with the code that is commented out, iter is non-null, but iter.hasNext() always returns false.* 
    How is this possible?
    The control is populated using a data provider, and *when the page is displayed, all of the expected items appear!*  There are several dozen of them. 
    So how is it possible that I get all the right items being displayed, and the correct VALUE returned for processing within the change event handler, but neither way I have tried to access the corresponding  string works?  It is as if both of these functions (dropDown1.getItems() and iter.hasNext()) do not know about items in the control.
    What makes this especially baffling is that nearly identical code (changes only relating to the page the controls are on and the names of the controls) with other dropdowns on other pages works just fine.
    Any ideas as to why this particular instance is giving me grief?  And, more importantly how to fix it?
    Thanks
    Ted                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I used to say the same. But I got hooked on visual editors with Borland's C++ Builder when I used a visual editor to create a DB interface prototype with more than 10,000 LOC in two weeks (didn't sleep much during, and too much after, but I was much younger then). That was a dream that made working with MFC feel like a nightmare! Yes, I'll admit I started with C++ long before I started with Java, and I still use it for high performance computing. As interesting as JSF is, it doesn't feel as mature or robust as VCL or .NET or Swing, but in time ....
    But with this problem, there are trade-offs. A backing map is fine if you have a small number of items that are not likely to change much. But the cost of such a map can get large if there is a selection of, or from, a large number of items: wasteful use of memory and/or bandwidth connecting to the RDBMS start becoming concerns. I do, in fact, use a number of backing sets and maps in this application, but this is one context where they may not be as appropriate. It isn't so much that I can't work around this, but rather that the dropdown component isn't working as advertized in this instance.
    Thanks
    Ted

Maybe you are looking for

  • Making a book in iBook Author is very easy, but...

    When Apple launched iBooks Author I was very happy with the simple way in which you can make your own book. In my book there are about 500 photos, 44 movies and it contents 150 pages. Now, several months later, I am very disappointed because it is im

  • Bc4juix:RenderValue does not display value

    After migrating to OAS 10.1.3 and JDev 10.1.3 we encoutered strange problem: in one table in TableDetail section we get empty cells. Everything works in JDev's embedded server and on one instance of cluster, but never on the other instance, and only

  • Socket programming usin nio package

    hello frens i m new to socket programming i come to know that nio packaage provides more sophisticated and efficient API to deal with socket programming issue I need to know where i can get tutorial about socket programming using nio pacakage

  • I am trying to scan a document into PDF format but PDF is not coming up as an option. What can I do?

    I am trying to scan a document into PDF format but PDF is not coming up as an option. What can I do?

  • Playhead issue

    How do i synchronize the playhead in the viewer with the playhead on the time line. I have selected in the viewer a sound clip. I found exactly the spot i want to split the clip but the playhead in the timeline hasnt moved to the same spot - hence th