Hello,
Sorry for posting it as urgent as this is very urgent for me. I am working on this from two days and i am nowhere and the deadline is coming up. Please help.
I am creating monthly reports in excel.
Based on the search criteria I am getting the docuemnt collection and i am gettign the unique user&company name and storing this info in to templist but after that i don’t know how to iterate through each document based on this unique value to find each document field(3) values for each unique user and do the total and export it to excel?
Please provide some code to solve this.
here is the scenerio…
I have two forms A, B
user 1 created 10 documents with company X using form A (If same user+company name+form then I want just one company name but I need 10 document totals)
user 1 created 3 documents with company Y using Form B (three seperate entites in excel)
User 2 created 4 documents with company abc using Form A
user2 created 2 documents with company ghi using form B
I want to show the result in excel in this format
User Company check check1 check 2 Total
User1 X 5 10 6 21
user1 Y 1 1 1 3
user1 y 1 0 0 1
user1 y 0 1 1 2
user1 ToTal 7 12 8 27
user2 abc 4 2 4 10
user2 ghi 1 0 1 2
user2 ghi 1 1 1 3
user2 Total 6 3 6 15
Thanks
Sri