Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Use our Google Custom Search for best site search results. Search More Search Options Page 4 of 6 (51 items) « First ... < Previous 2 3 4 5 6 Next > Re: Drop down List Box Hi Jennifer, We used the code 'If ([Me.New]) Then' and this works great! Now, when the form is submitted, the AD code doesn't change when the form is opened by another user! :) Thanks for ALL of your great advice! James Posted to InfoPath 2010 (Forum) by jaybranch on 03-04-2011 Re: Drop down List Box Hi Jennifer, Thanks for that. Would it matter that my AD info is pulled to the form on a loading event using code?? Would the rule over-ride the code? James Posted to InfoPath 2010 (Forum) by jaybranch on 03-03-2011 Re: Data in a submitted form changes! Hi Patrick, Thanks for the reply. I've set the fields to read only... but they still change when the form loads, even after it's been submitted to the library. The code we use to pull back the AD properties is in the 'form load' section (see above). Should I use some code at this point to say 'If code is in here, do ... Posted to General (Forum) by jaybranch on 03-03-2011 Re: Data in a submitted form changes! We use some VB code (On form load) which sets variables and then populates the boxes on the form with details from AD. I have attached the code for you to look at:Public Sub FormEvents_Loading(ByVal sender As Object, ByVal e As LoadingEventArgs) ' Get the user name of the current user.Dim userName As String = ... Posted to General (Forum) by jaybranch on 03-03-2011 Data in a submitted form changes! Hi all, Ok, we're nearly reaching the end of a form project... however, we have a slight issue! Our form is used to submit Purchase Reqs. So, end users initiate a new form (in Infopath 2010 client) and fill out the details. At the top of the form we have some code which pulls back AD information (Name, Dept, E-mail address ... Posted to General (Forum) by jaybranch on 03-03-2011 Re: Drop down List Box Hi Jennifer, Maybe you can help me again with a VERY quick question. My AD values are being pulled from AD on my form.... great! However, when a form is submitted to the library, when (lets say) an approver opens the form to approve it, HIS/HER Ad details replace the values that were on the form when it was submitted. For ... Posted to InfoPath 2010 (Forum) by jaybranch on 03-03-2011 Re: Drop down List Box Hi Jennifer, Thanks again for your replies, you have been extremely helpful! Kindest regards, James @jaybranch (Twitter) Posted to InfoPath 2010 (Forum) by jaybranch on 03-03-2011 Re: Drop down List Box Hi Jennifer, Thanks for your great replies. We did look at doing the concat of the Firstname and Surname fields, however we thought it might be better if we simply changed a field in AD (We picked IP Phone, which we know we will never use) and added the e-mail addresses manually. Luckily for us we only have 40 users! ... Posted to InfoPath 2010 (Forum) by jaybranch on 03-02-2011 Re: Drop down List Box Hi Jennifer, At the moment, when the form loads for a user the drop down is blank... so they have to choose an e-mail address from the list (This is until we can work out a way of getting the manager e-mail into this box automatically - any ideas?? I've been told we might be able to use a formula to concatenate the box above which ... Posted to InfoPath 2010 (Forum) by jaybranch on 03-01-2011 Re: InfoPath 2010 questions? Ask here. Hi Clayton, I have a drop down list box which contains e-mail addresses, taken from a list in Sharepoint. The user opens the form, fills out a few boxes and chooses their managers e-mail address - simple. Form submits ok, but when the manager goes into the form to approve it, the e-mail address field is blank! Thus, if the form is ... Posted to InfoPath 2010 (Forum) by jaybranch on 02-28-2011 Page 4 of 6 (51 items) « First ... < Previous 2 3 4 5 6 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.