You need to sign in to do that
Don't have an account?
SS Karthick
Creating multiple object
Hi folks,
Can anyone tell me how to create multiple object dynamically??
like Book__c b1=new Book__c(); (b2,b3 and etc)
Thanks in advance
Karthick
Can anyone tell me how to create multiple object dynamically??
like Book__c b1=new Book__c(); (b2,b3 and etc)
Thanks in advance
Karthick
All Answers
I wana like tis
integer coun=1;
Id parent=UserInfo.getUserId();
List<Test__Share> testShare= new List<Test__Share>();
for(Integer j=0;j<a.size();j++)
{
string ob='ts'+coun;
Test__Share ob= new Test__Share();
ob.ParentId = parent;
testShare.add(ob);
coun++;
}
Please Help!
I wanna create like ob1,ob2,ob3 and etc based on the size a