-
Converting Salesforce sobject List into string List
Hi all,
i wanted to get list of accounts name into a single string
List<account>acc=select name ,id,annualrevenue from account
i wanted to get a individual string list for each field .
like
List<string>name:- must have all accounts name
List<string>id:-must have all accounts id
thanks
-
This discussion was modified 9 years, 3 months ago by
Vikas Kumar.
-
This discussion was modified 9 years, 3 months ago by
Forcetalks.
-
This discussion was modified 9 years, 3 months ago by
Forcetalks.
-
This discussion was modified 9 years, 3 months ago by
Log In to reply.
Popular Salesforce Blogs
5 Things To Know Before Implementing Salesforce Sales Cloud
Salesforce Sales Cloud is a Customer Relationship Management (CRM) platform that helps enhance the efficacy of the sales team of an organization and increase sales revenue.…
Maximize Your Sales Outcomes With Salesforce High-Velocity Sales
Selling products and services encapsulates what your business is. The effort your Sales reps put into each call defines your firm’s growth and provides you…
Popular Salesforce Videos
An Introduction to Salesforce org Nonprofit Cloud
Did you know that over 30,000 nonprofit organizations use Salesforce? Salesforce.org’s premier product, NPSP, helps nonprofits drive greater impact by connecting everything they do. Learn…
Salesforce Pardot: 2020 Update
If you’re a current Salesforce user, you may be hearing a lot about Pardot these days. Perhaps you are using MailChimp, Campaign Monitor, or Constant…
Create Your First Salesforce App in 30 Minutes
In this session, we will design, build and deploy a Salesforce App in 30 minutes using the low code and Salesforce modern developer tooling. Presenter…