+ Start a Discussion
mallikharjunarao gundamallikharjunarao gunda 

duplicate names

hai hall

ihave a two account records with the same name but when i try to diaplay those records on vfpage avoid the duplicate names 
 how we can achieve please helpme
Hi  mallikharjunarao,

You can try like create a map of String and account means Map<String,Account> and in constructor try to iterate the list of account and construct the map by adding name to the key and record to the value and use map in vf page .

Check below link which wil help you to use map in Vf page .
Let me know if it helps !!!