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

can we use soql query in set method
im just wan o control the dublicate in emails ids in the contacts in accoun so that i wan to use set method
can i write my query like this
set <contact> conids=[select id,email from contact where id=:accountid];
set <id> contactemail=new set<id>();
for(contact con:conids)
{
contactemail.add(con.id)
}
can i write like this
if any one knw help me in this
can i write my query like this
set <contact> conids=[select id,email from contact where id=:accountid];
set <id> contactemail=new set<id>();
for(contact con:conids)
{
contactemail.add(con.id)
}
can i write like this
if any one knw help me in this
https://developer.salesforce.com/forums/ForumsMain?id=906F00000009smQIAQ