• Bhaskararao
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

how can we retrive custom object records through Visualforce and modification through visualforce

Hello

 

I'm trying to use an apex trigger to update the value of a picklist field on a related object. The trigger will execute when a custom object is inserted and then retrive a list of all the Tasks associated with the custom object.

 

I then want to change the 'Status' field (which is a picklist field) on the tasks.

 

Does anyone have any sample code for changing picklist field values in Apex?

 

Thank you.