Hi All,
I had struct in between one problem of infopath form, so i thought might be you can help me out in this.
Problem :
I had a Infopath form with more than 15 fields on it, there are two date
pickers called up "To Date" and "From Date". And on the basis of these
two fields selection the autocalculated field called "Total days" will
come.
These entire process is working very fine, But now the problem is that i
had puted a two box in the top of the infopath form called as "Assigned
Leave in a year" and "Used Leave in a year". So that once the user will
apply for the leave he/she can able to know their total no of leaves
assigned them in a year and till date used leave in a year available.
Now the problem is once i had applied for the leave and let it be if the
total no of assigned leve in a year is "25" and out of that i had used
"10" now the total will be "15", so once the other employee login to the
portal and open the infopath form then it shows "15" for that user too,
where as he/she will not applied for a single leave till date, its just
taking the value of the previous employee who had applied for the
leave.
So could you please help me out and let me know the solution for the
same that when the other user will open the ifnopath form it will show
them the toltal no of leave assigned "25" and the pending leave "0" in
the respective txtbox of the infopath form 2010.
Please let me know how to achive this.
Thanks & Regards
Shailesh