function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SF Buzz VutukuriSF Buzz Vutukuri 

How to insert related opportunity for a contact

Hi, 
How to insert related opportunity for a contact through apex and soql. PLease help me in this.
Robert_StrunkRobert_Strunk
Can you be more specific?  Show us what you have tried so far.