VB Code For InfoPath Form
Posted on 2011-03-03
Hello, I am an intern looking for a way to have a Infopath form hosted on a Sharepoint site manage who is allowed to see completed forms. The forms will be stored in a location with more secure permissions than the template. But I need a way for the individual who filled out the form to see his completed form in the event he/she needed to update it.
I am currently trying to use code in Infopath to find the current user and load said information from the site into the form. The whole idea behind this is to store information that is only visible, from user side, by the user who entered it to protect any sensitive data.
I'm not 100% positive on the code to find current user, and if I did would it be possible to use that variable field as a trigger for rules in the form.