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 2 of 3 (21 items) < Previous 1 2 3 Next > Capturing Current View Name On Load Hello, Is there any possible way to capture the current view On Load? I know that the view object does not exist until after the Onload event occurs, but I would think that there has to be a way to know which view is active when the form loads. Any ideas? Posted to Views (Forum) by bwilbourne on 02-23-2007 View State using Rules Hello, Is there a way to figure out the View State without using custom code? For example, is there a way to figure this out using some sort of rule or expression? Thanks Posted to Views (Forum) by bwilbourne on 02-12-2007 Re: Concatinating Repeating Fields? Thanks! Posted to General (Forum) by bwilbourne on 01-12-2007 Re: Concatinating Repeating Fields? I thought it possible, but when I used the concat function, it required 3 parameters and I not sure how to make that work on 1 repeating field. concat(field1,field2,field3) If the repeating field (fieldA) has values, user1, and user2, I need another field to contain the values as such. fieldB contains user1;user2 So to use the concat function I ... Posted to General (Forum) by bwilbourne on 01-11-2007 Concatinating Repeating Fields? Hello, Is there any way in InfoPath to take value(s) from a repeating field and to put those values (whether 1 or many) in another field that is semicolon delimited without spaces? Posted to General (Forum) by bwilbourne on 01-10-2007 Faster Code or Rules? In InfoPath, what proves to be better for performance, using rules or using jscript code to do what is done in rules (if it can be done in code)? Posted to General (Forum) by bwilbourne on 11-10-2006 Re: Dates in SQL are appending a time stamp Thanks for the link, but I don't think that will help me out in this case. The value for the date is being set in InfoPath, and no matter how I change the format in InfoPath, the value stored in SQL is a date with a time appended, so I am not sure how to make the timestamp not get stored. For ex. In InfoPath, the date is set to be: 2006-08-10. ... Posted to SharePoint Integration (Forum) by bwilbourne on 08-07-2006 Dates in SQL are appending a time stamp Does anyone have any idea why SQL would be appending a timestamp to a date from InfoPath. The datepicker control in my IP form is set to only show just the date (mm/dd/yyyy). The dates show up correctly in SharePoint, but when I try to run a report in SQL, the same date will have the date with a time added to it (mm/dd/yyyy 5:00:00 AM) This ... Posted to SharePoint Integration (Forum) by bwilbourne on 08-04-2006 Re: Setting a date 5 days previous to today Actually, after digging and testing, this code works var d=new Date() d.setDate( d.getDate()-5 ); var day=d.getDate()+ ''/''; var month=(d.getMonth() + 1)+ ''/''; var year=d.getFullYear(); Posted to Code (Forum) by bwilbourne on 08-03-2006 Setting a date 5 days previous to today I am trying to capture the date and subtract 5 days from it. I thought that JScript would automatically roll back to a previous month automatically. My code does not seem to work, the value comes back as blank. Any ideas on what is wrong with this function? function showNextWeek(){ dtNextWeek = new Date(); dtNextWeek.setDate( ... Posted to Code (Forum) by bwilbourne on 08-03-2006 Page 2 of 3 (21 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.