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 Search More Search Options Page 1 of 1 (8 items) Re: Code for multiple rows in a repeating table (VB) One more question... right now I have it running in a sandboxed environment. This is great but all the postbacks take a second to send data to the server. Would publishing the form via 'admin-approved' method allow the code to run in full trust without having to send it to a controlled environment? Posted to InfoPath 2010 (Forum) by samauger on 03-26-2012 Re: Code for multiple rows in a repeating table (VB) Thanks so much for your help! I got it working :) Posted to InfoPath 2010 (Forum) by samauger on 03-23-2012 Re: Code for multiple rows in a repeating table (VB) So I should leave the handler as is when I create the changed event (AddHandler EventManager.XmlEvents("/my:myFields/my:Info/my:UserInput/my:HoursEntry/my:EndDate").Changed, AddressOf EndDate_Changed) or make the Xpath dynamic? Posted to InfoPath 2010 (Forum) by samauger on 03-19-2012 Re: Code for multiple rows in a repeating table (VB) That makes sense. What would a relative Xpath look like? Here's most of the code. Thanks for helping me out :) also: is there a way to insert line breaks or format for code in this forum? that looks terrible. Dim startDate, endDate As XPathNavigator Dim dayDifference As Integer Dim hours As String startDate = ... Posted to InfoPath 2010 (Forum) by samauger on 03-19-2012 Re: Code for multiple rows in a repeating table (VB) Hello, I'm writing this in VB. It runs when the second date changes, pulls InnerXML from each of the dates, runs it through a function I found on here that calculates the number of work days in a given range then multiplies it by 7.5 (because we're working with hours). If you'd like to see the actual code I can attach that. Posted to InfoPath 2010 (Forum) by samauger on 03-19-2012 Code for multiple rows in a repeating table (VB) Hello, I have a repeating table that users will use to enter their leave hours. I have fields for startDate, endDate, reason, and hours. I've gotten to the point where it checks the difference between the dates, multiplies the number of days take off by 7.5 (hours in a full work day) and sets the hours field to that number. The only ... Posted to InfoPath 2010 (Forum) by samauger on 03-14-2012 Re: Modifying date picker defaults Great! I was building a string in mm/dd/yyyy format and it wasn't taking it as a date. Now it's all working. Thanks! Posted to Browser Forms (Forum) by samauger on 03-14-2012 Modifying date picker defaults Is there a way (either programatically or not) to make the drop down date selector default to a month other than the current month? I can change the date that's there by default (1/1/2012, for example) but if the user clicks the date selector, the current month drops down. Any ideas? Posted to Browser Forms (Forum) by samauger on 03-12-2012 Page 1 of 1 (8 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.