You need to sign in to do that
Don't have an account?

i need to store the records in my custom object how can store the records on my custom object
i am having vf page and having 6 fields to select the fields are coming after selection of object then i have button called Query then according field selection we are getting selected object recrods then after this records i need to store in my cutom object how can i store can any one please help it it very urgent i and i am stuck on it..
please see below scrren shot of vf page with results

please see below scrren shot of vf page with results
Once you have the list of record displayed in the results table, you can have a button called "Save to Custom Object". Once clicked, you can create the records using below sample:
Do share if you need any help or more guidance on it.
*Please mark it as "Best Answer" so that any more user can refer this sample code