Deleting from a Collection Variable

Deleting from a Collection Variable

Hi All

I have a collection variable, obtained like this course_Options = Schedule_Courses[Start_Date_Time == time]; 

This give me a collection variable of courses starting at the above time.

If I wanted to remove one of the results from that collection variable, how would I go about that. Effectively I want to remove some undesired results before iterating through the course_Options and doing things with the remaining courses in the collection variable.

Is there a way to remove from a collection variable? I have tried:

for each course in course_Options
{
      if (course.ID == ID I want to remove)
      {
            course_Options.delete(course);
      }
}

I've also tried to delete with course.ID. 

I feel like there is something I am missing as I'm sure you'd be able to delete from a collection variable?

Thanks
Carl
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方