function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hemant ranahemant rana 

As a recordlist is inserted through controller a mess should be displayed on vf page

As a recordlist is inserted through controller through insert command. Everytime a record is inserted in that list a mess should be displayed on vf page like say-----------------


in recordlist there is 3 record-
1) Hemant
2) sumit
3) Vishal

As hemant is inserted on vf it shows 1 record inserted
then when sumit is inserted it shows 2 record inserted
and at last 3 record insreted.................

is their any way plz help
Hargobind_SinghHargobind_Singh
Can you post your VF page and controller code ? Would be more easier to help you find a solution. 

hemant ranahemant rana
HI hargobind.....

Sorry i can't post the code.........

But can give a view of it let say-----

list<Account> Acc=[Select name from Account];
let say it returns 10 records.
then we do===>  insert Acc;
as Acc is a list it will insert that 10 records 1 by 1.
so as 1st record is inserted from that list the vf page should display---
"1 record inserted"
and when 2nd record is inserted instead of that message--
"2nd record inserted" and so on.

I hope you get a view what i am trying to say