Check list item

hi
is there any check list item (multi value lest item) in oracle forms 6i ......?

Hi
Full example and more* u can find here ..._
Re: Dependent drop down lists in forms 6i
Hope this helps...
Regards,
Amatu Allah.

Similar Messages

  • Check list item result field

    Hi ,
    Is somebody using chekclist in cProject?
    We need a question related with field 'result' in the checklist item . Standard system shows these values (Open, Ok, not OK, not relevant) . Is it possible to change these values for another ones?
    Thanks a lot,
    Sara

    Hi Lashan,
    yes, it is primarily for the reporting purposes, but not only.
    E.g. the value of the 'result' field  affect which status of an item can have.
    'Open' , status of 'Release' can only be changed to  'Set no relevant'
    'OK', status of 'Released'  can be changed to 'Set no relevant' or 'Finish'.
    Kind regards,
    Zhenbo

  • The workflow could not check out the list item.

    Hi Guys,
    I have a workflow enabled on document library and it needs to started manually.
    Whenever user starts workflow manually, gets following error:
    "the workflow could not check out the list item. Make sure the list item is not checked out." list item is not checked out & this workflow was working smoothly earlier.
    OutCome: The workflow operation failed because the workflow lookup found no matching item.
    I have gone through below links:
    https://christopherclementen.wordpress.com/2014/05/23/oob-approval-workflow-error/
    https://social.msdn.microsoft.com/Forums/office/en-US/f673d0f6-92eb-4057-95ff-ed3cb7790360/the-workflow-operation-failed-because-the-workflow-lookup-found-no-matching-item?forum=sharepointcustomizationprevious
    Any clue on this?
    Thanks, Nilesh

    maybe check out for editing documents setting is turned on so wokrflow needs doc to ce cheked out before proceding and user might not have permission to do that.
    please refer below link:
    http://sharepoint.stackexchange.com/questions/32399/workflow-error-the-workflow-could-not-update-the-item-possibly-because-one-or
    http://community.office365.com/en-us/f/154/t/243062.aspx
    http://stackoverflow.com/questions/1272957/document-checked-out-in-sharepoint-when-workflow-starts
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Checks if item field link exists into a custom list

    Hi;
    I have a custom list with 2 columns : Title and SITE (field link)
    Title (text) : 
    SITE (link) :   URL + DESCRIPTION
    I would like to write in programmming a code which allows to checks before to add a new item if this item exists or not into the list in using only the DESCRIPTION or URL field.
    Like this :
    if(DESCRIPTION !exists)
    {   add item }
    else{ show message : the site exists }
    Regards 

    Hi,
    We can use event receiver to achieve your requirement. The following code for your reference:
    using System;
    using System.Security.Permissions;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Utilities;
    using Microsoft.SharePoint.Workflow;
    namespace SharePointProject5.EventReceiver1
    /// <summary>
    /// List Item Events
    /// </summary>
    public class EventReceiver1 : SPItemEventReceiver
    /// <summary>
    /// An item is being added.
    /// </summary>
    public override void ItemAdding(SPItemEventProperties properties)
    base.ItemAdding(properties);
    if(properties.AfterProperties["SITE"]!=null)
    string linkField=properties.AfterProperties["SITE"].ToString();
    string urlValue = linkField.Split(',')[0];
    if (CheckItemExists(properties.List, null, urlValue))
    properties.Status = SPEventReceiverStatus.CancelWithError;
    properties.ErrorMessage = "The site exists.";
    private bool CheckItemExists(SPList list, SPFolder folder, string urlValue)
    SPQuery query = new SPQuery();
    if (folder != null)
    query.Folder = folder;
    query.Query = @"
    <Where>
    <Eq>
    <FieldRef Name='SITE' />
    <Value Type='Text'>" + urlValue + @"</Value>
    </Eq>
    </Where>";
    SPListItemCollection found = list.GetItems(query);
    return (found.Count > 0);
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • ECMA script for checking active workflows for an list item

    Hi i am having more than 1 workflow associated with the list if there is any workflow that is active for an item then i need to prevent starting another workflow for the same item. I am using the following code to achieve the same. Can anyone please provide
    me the ECMA object model equivalent for achieving the same.
        //Check for any active workflows for the document
            private void CheckForActiveWorkflows()
                // Parameters 'List' and 'ID' will be null for site workflows.
                if (!String.IsNullOrEmpty(Request.Params["List"]) && !String.IsNullOrEmpty(Request.Params["ID"]))
                    this.workflowList = this.Web.Lists[new Guid(Request.Params["List"])];
                    this.workflowListItem = this.workflowList.GetItemById(Convert.ToInt32(Request.Params["ID"]));
                SPWorkflowManager manager = this.Site.WorkflowManager;
                SPWorkflowCollection workflowCollection = manager.GetItemActiveWorkflows(this.workflowListItem);
                if (workflowCollection.Count > 0)
                    SPUtility.TransferToErrorPage("An workflow is already running for the document. Kindly complete it before starting a new workflow");
            }

    Hi,
    According to your post, my understanding is that you wanted to use ECMA script to check active workflows for an list item.
    You can use the Workflow web service "/_vti_bin/workflow.asmx"
    - GetWorkflowDataForItem operation in particular.
    Here is a great blog for you to take a look at:
    http://jamestsai.net/Blog/post/Using-JavaScript-to-check-SharePoint-list-item-workflow-status-via-Web-Service.aspx
    In addition, you can use
    SPServices. For more information, please refer to:
    http://sharepoint.stackexchange.com/questions/72962/is-there-a-way-to-check-if-a-workflow-is-completed-using-javascript
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Checked some items of multiple-selection list box when form loaded in infopath

    Hi
    I customize sharepoint list with infopath. I have multiple-selection list box and want to checked some items of that automatically when form loaded. how can do this?
    Thanks.

    Hi,
    According to your description, my understanding is that you want to pre-select some items in the Multiple-Selection List Box.
    I recommend to follow the steps below to achieve this goal:
    Click Default Values under Data tab in InfoPath, expand the dataFields and navigate to the Multiple-Selection List Box field.
    Set the Default Value of the Multiple-Selection List Box field.
    Right click the field under the Multiple-Selection List Box group, then select Add another Value Below and set the Default Value for this field.
    Repeat step3 based on the number of the items that you want to be pre-selected.
    More information are provided in the link below:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Populate the values  to  list item based on a check box

    Hi,
    How can i populate the values from a field on the form to one list item based on a check box,
    the pseudo code is like,
    if checkbox = checked then
    populate the particular field value to the list item;
    checkbox = unchecked;
    next_record;
    end if;
    Thanks
    Bcj

    To populate a Tlist item, do the following:
    1. Create a TLIST item in the EMP block. and give it a height to accommodate several names.
    2. Using the TLIST property pallete:
    a. Set the Column Name property to EMPNO
    b. Click on the Elements in List property. Delete each List Element and delete each List Item Value. If you don't do this you will get an error when you compile.
    3. Create a record group using this query:
    select ename, to_char(empno) from emp
    4. Create a WHEN-NEW-FORM-INSTANCE trigger, and place this code inside the trigger:
    Declare
    err_num number;
    Begin
    clear_list('YOUR_TLIST');
    err_num := populate_group('YOUR_RECORD_GROUP');
    If err_num = 0 Then
    populate_list('YOUR_TLIST', 'YOUR_RECORD_GROUP');
    Else
    message('Error populating Tlist');
    message('Error populating Tlist');
    End If;
    End;
    5. Compile and run the form. The ENAMEs will appear in the TList, and each ENAME will have a value equal to its EMPNO.

  • Check List Option can not allowed same item People Window

    Human Resource
    People windows > others > Checklist
    In checklist window system not appearing item once i have entered,now i need to re-enter same item for new record.
    Kindly help this regard & thanks allot in advance.
    Furqan Hussain

    Human Resource
    People windows > others > Checklist
    I am talking about Employee check list which navigation mentioned above rather the Life Event.
    Now problem is when enter item from the select of list is fine ,but after saving i enter same item with new record as well as status is not appearing in list.
    Kindly help this regard & thanks allot in advance.
    Furqan Hussain

  • Programatically Check if the logged in user matches with user in a list item

    Hi All, 
    I have a custom list with 1) title column 2) People column. 
    I simple need to check if the logged in user = user in the column 2, and if yes fill a List<> with column 1 value. 
    But when comparing, the value in list item is in different format than what we get by user.ToString() 
    Following is what I tried: 
    SPUser user = oWeb.CurrentUser;
    List<String> usergrps = new List<String>();
    foreach (SPListItem itemA in GrpSubsItems)
    if (itemA["SubscribedBy"].ToString() == user.ToString())
    usergrps.Add(itemA["Group"].ToString());
    itemA["SubscribedBy"].ToString() gives = 10;#Some Name
    where as user.ToString() gives = i:0#.w|domain\user 
    Kindly guide if my approach is not correct. Thanks. 
    Regards, Nayan

    Hi Nayan,
    Please modify the code like below:
    SPUser user = oWeb.CurrentUser;
    List<string> usergrps = new List<string>();
    foreach (SPListItem itemA in GrpSubsItems)
    string userName = itemA["SubscribedBy"] as string;
    SPFieldUserValue userA = new SPFieldUserValue(itemA.ParentList.ParentWeb, userName);
    if (userA.LoginName==user.LoginName)
    usergrps.Add(itemA["Group"].ToString());
    More information:
    http://ethan-deng.blogspot.com/2013/03/get-spuser-from-user-column-there-are.html
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Check box with list item

    hi ,
    i have items in the form , the user need to visible this item with him self , so i make all the items visible = no
    and make list item and but all the items in list value
    when list item chanched and the user select any item the item will visible = yes
    the form like that
    list item named = bank
    value in the list ( bank_name= 1
    bank_address = 2)
    and i have 2 items in the form
    bank_name
    bank_address
    both of them visible = no
    and i make trigger ( WHEN-LIST-CHANGED )
    if :bank =1      then
         SET_ITEM_PROPERTY('bank_name', VISIBLE , PROPERTY_TRUE);
    elsif :bank=2 then
         SET_ITEM_PROPERTY('bank_ADDRESS', VISIBLE , PROPERTY_TRUE);
    end if ;
    the qustion is
    when the item visible = yes after the user selected it from the list
    how can make this itme visible = no
    when the user selected the same item ?
    thank you

    Hello,
    One idea is to make that conrtol using one list item. Suppose you have two item names in the list then create two parameters/global variables in the form and use them like this...
    Trigger = WHEN-NEW-FORM-INSTANCE
    :PARAMETER.NAME_FIELD:='N';
    :PARAMETER.ID_FIELD:='N';Now in the WHEN-LIST-CHANGED trigger use the code as below...
    IF :list_name='NAME_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.NAME_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    ELSIF :list_name='ID_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.ID_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    END IF;HTH.
    -Ammad

  • How to check whether a list item is highlighted or not

    I have delete button.Have to alert the user if user does not select any itemin list
    Below is the code I have written in When Button Pressed Trigger:
    Begin
    v_currValue := NULL;
    v_currValue := Name_In('CONTROL.ENTITY_LIST');
    If (v_currValue is null) then
         v_alert_button := MSGBOX ('Select the entity type to be deleted.', 'STOP', 'Delete');
                   if v_alert_button = alert_button1 then
                        raise      v_exception ;
                             go_item('CONTROL.ENTITY_TYPE');
                   end if;
              End if;
    v_curlist_index     := Get_List_Index ('CONTROL.ENTITY_LIST');
    Delete_List_Element('CONTROL.ENTITY_LIST',v_curlist_index);
    End
    Above code works fine means alerts the user when there are no elements in the list.
    And if there are 4 elemnts
    emp
    dept
    sal
    loc
    when clicks delete button it alerts the user to select the item
    now v_currvalue = emp;
    after deleting list contains 3 values
    but v_currvalue still remains 'emp'
    even i keep vcurrvalue = null or ''
    it is still emp.
    Is there any way to solve this or there is any bug inmy code.
    Could anyone helpme in this?
    Thanks,

    b]/** First approach which didnt worked **/     
    Begin
    v_currValue := to_char(' ');
    v_currValue := Name_In('CONTROL.ENTITY_LIST');
    If (v_currValue is null) then
    v_alert_button := MSGBOX ('Select the entity type to be deleted.', 'STOP', 'Delete');
    if v_alert_button = alert_button1 then
    raise v_exception ;
    go_item('CONTROL.ENTITY_TYPE');
    end if;
    End if;
    v_curlist_index := Get_List_Index ('CONTROL.ENTITY_LIST');
    Delete_List_Element('CONTROL.ENTITY_LIST',v_curlist_index);
    End
    Above is my previous code
    I want to alert the user by using v_currvalue
    /** Second type of approachwhich worked **/     
         /* Retrieves the index of the current item in the list */
         v_curlist_index     := Get_List_Index ('CONTROL.ENTITY_LIST');
              /* Alert the user if list item is not selected */
         If( (     v_curlist_index = 0     ))then
         v_alert_button := MSGBOX ('Select the entity list item to be deleted.', 'STOP', 'Delete');
                   if v_alert_button = alert_button1 then
                             go_item('CONTROL.ENTITY_LIST');
                   end if;
         Else
                   /* Deletes the list item */
    Delete_List_Element('CONTROL.ENTITY_LIST',v_curlist_index);
         End if;
    Want to know why my first approach not working
    Thanks,

  • List item problem in oracle forms 6i

    Hello,
    I've 10 test filed, in-front of each text field there are 10 list item (separate list item)
    for each list item element list is given below
    Route
    Customer name
    Delivery date
    Delivery Time
    Delivery Session
    Expected received
    Actual Received
    Fresh Received
    Rate per liter
    Debit Amount
    On text fields I am fetching records from another file. User will map the list item with text item.
    What i want to check is, list item should not get repeated. i.e suppose I've run time display like this
    text item
    list item
    A
    ROUTE
    B
    DELIVERY DATE
    C
    DELIVERY TIME
    D
    DELIVERY DATE
    E
    EXPECTED RECEIVED
    F
    ACTUAL RECEIVED
    G
    FRESH RECEIVED
    H
    RATE PER LITER
    I
    DEBIT AMOUNT
    J
    DELIVERY SESSION
    on text filed B- DELIVERY DATE is assign and at text field D again DELIVERY DATE is assign. I want to avoid this thing and prompt the user regarding the same. How should I go about this? Should I design a button for validation, if yes then what should be the code? or should i go with WHEN-LIST-CHANGE? if so, then what should be the code?
    my design time display is like this
    text
    list item
    txt1
    lst1
    txt2
    lst2
    txt3
    lst3
    txt4
    lst4
    txt5
    lst5
    txt6
    lst6
    txt7
    lst7
    txt8
    lst8
    txt9
    lst9
    txt10
    lst10
    please suggest something
    Thank You
    Sam

    THe most user-friendly way would be to remove elements from all other lists when they are chosen once. You would have to have a WHEN-LIST-CHANGED-trigger on all listitem and populate the the listitems accordingly.

  • Unable to Read Calendar List Items through CAML

    Hi All,
    * I have created two columns in calendar one Year and other Month.When new event is added in calendar through (Item Added) event receiver I am setting the values to this columns as Name of Month to(February) and Year as(2014)  .So that I can fetch the
    data easily based on month and year
    * Through this Columns Secondly when I try to fetch the data to count number of items of particular month and year using caml query I am getting error as below .
    "Error:One or more field types are not installed properly. Go to the list settings page to delete these fields."
    *My below caml code is working fine if i applied to custom list,But not to calendar.Can any one help me for what reason I am unable to fetch data
    Code
     string year="2014";
     string month="February";
     SPSite mysite = SPContext.Current.Site;
     SPWeb myweb = mysite.OpenWeb();
    SPList mylist = myweb.Lists["Calendar"];
     SPQuery myquery = new SPQuery();
      myquery.Query = @"<Where>
                                          <And>
                                           <Eq>
                                             <FieldRef Name='Year'/>
                                             <Value Type='Text'>" + year + @"</Value>
                                          </Eq>
                                          <Eq>
                                             <FieldRef Name='Month' />
                                             <Value Type='Text'>" + month + @"</Value>
                                          </Eq>
                                         </And>
                                      </Where>";
     SPListItemCollection totaltiems = mylist.GetItems(myquery);
      Label1.Text= "Total Number of Items is "+" "+totaltiems.Count.ToString();
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .

    Hi,
    According to your post, my understanding is that you got an error when read calendar list items using CAML.
    I created two single line of text columns in the Calendar( Year and Month), then add items in the Calendar to check with your code. The CAML query worked well as below.
    string year = "2014";
    string month = "February";
    using (SPSite oSiteCollection = new SPSite("Your site URL"))
    using (SPWeb myweb = oSiteCollection.OpenWeb())
    SPList mylist = myweb.Lists["Calendar"];
    SPQuery myquery = new SPQuery();
    myquery.Query = @"<Where> <And> <Eq> <FieldRef Name='Year'/> <Value Type='text'>" + year
    + "</Value></Eq><Eq>+ "
    + " <FieldRef Name='Month' />+ "
    + " <Value Type='text'>" + month + "</Value>+ "
    + " </Eq> </And></Where>";
    SPListItemCollection totaltiems = mylist.GetItems(myquery);
    Console.WriteLine( "Total Number of Items is " + " " + totaltiems.Count.ToString());
    Console.ReadLine();
    Which type of the two columns in your Calendar? Were they text type?
    Are you sure the field name(<FieldRef Name='Year'/>,
    <FieldRef Name='Month' />) is same as internal name?
    We should only use internal name while refrencing columns in CAML query. If you have space In you column , replace it with "_x0020_", such as
    News_x0020_Category. 
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • Termstore changes are not getting reflected in the list items in SharePoint 2010 farm environment

    Hi,
    I had created managed metadata with termstores from central admin. Then I had created one list in which added a column of type managed metadata using the managed metadata which I had created. And also added few list items to this list.
    The problem is that after updating a termstore the changes are not reflecting in the list items which were added before the update.
    I have referred the following links:
    http://www.paulgrimley.com/2011/02/managed-metadata-changes-not-applied-to.html
    http://davidfrette.wordpress.com/2010/05/26/taxonomy-update-scheduler%C2%A0timer%C2%A0job/
    According to the links we need to run Taxonomy Update Scheduler on the server for updated termstore to get reflected. After running
    this scheduler on development environment changes are getting reflected but not working on the production environment.
    Kindly help!
    Regards, Shruti

    You should check the obvious.  You made the change in dev, but did you make the change in production too?  And, is the term you updated, actually the one that you are looking at in the list item?
    There is not much, if anything, that can go wrong with that timer job. so I'd guess that the term you are looking at is not the one you think you are updating.
    If you have double checked everything (the term is is in fact the same term id), then you may have something erroring in the update process.  In this case, you should check the ULS logs for any errors.
    Chris
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • Enable or disable particular record in list item based on a corresponding c

    Hi,
    How can i Enable or disable property of particular record in list item (multi record) based on a corresponding check box(multi record) ,
    e.g Form Structure:
    if press a button then record should populate where multi_post_query
    if my_check_box = 1 then
    my_list_item  disable to update;
    else
    my_list_item  enable to update;
    end if;
    now wanted result is like below
    my_check_box ---- my_list_item
    +----------------------enable
    +----------------------enable
    +----------------------enable
    _----------------------Disable
    _----------------------Disable
    Here "+" means checked,"_" means unchecked and "enable" means updatable "Disable" means not updatable
    the pseudo code is like,
    if my_check_box = 1 then
    my_list_item enable to update;
    else
    my_list_item disable to update;
    end if;
    Note: my_check_box is not updatable
    please tell me which trigger and where I should create
    Thanks
    Edited by: 838602 on Feb 21, 2011 11:12 PM
    Edited by: 838602 on Feb 22, 2011 1:40 AM

    Hi Abdetu,
    I created WHEN-NEW-RECORD-INSTANCE Trigger at data block level
    And I need should work like below pseudo code (sorry for previous pseudo code)
    if my_check_box = 1 then
    my_list_item  disable to update;
    else
    my_list_item  enable to update;
    end if;
    so change code as
    IF :MULTI.PROTECTED_FIELD = 1 THEN
    SET_ITEM_PROPERTY ('MULTI.ACTION',REQUIRED , PROPERTY_FALSE );
    SET_ITEM_PROPERTY('MULTI.ACTION',NAVIGABLE,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('MULTI.ACTION' ,UPDATE_ALLOWED,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('MULTI.ACTION' ,INSERT_ALLOWED,PROPERTY_FALSE);
    :multi.action := 0;
    ELSE
    SET_ITEM_PROPERTY ('MULTI.ACTION',REQUIRED , PROPERTY_TRUE);
    SET_ITEM_PROPERTY('MULTI.ACTION',NAVIGABLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('MULTI.ACTION' ,UPDATE_ALLOWED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('MULTI.ACTION' ,INSERT_ALLOWED,PROPERTY_TRUE);
    END IF;
    Sorry, still I am not getting desired o/p. even i check item (ACTION) level Trigger
    Note: my_check_box is not updatable
    that would assign at time of button press (post query) as i mentioned
    Edited by: 838602 on Feb 22, 2011 1:41 AM

Maybe you are looking for