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 2 (16 items) 1 2 Next > Re: Conditional count() using dates Jimmy, Thanks. I'll insert that when they ask me for the next set of changes to that form. L Mac Posted to General (Forum) by L Mac on 02-23-2014 Re: Counting a repeating table with conditions For those interested - the solution was: Set all date formats to yyyy-mm-dd (you may need to change the format saved when using Access DB tables) Convert date to integer in a second field using : number(concat(substring(string(xdDate:AddDays(xdDate:Today(), -365)), 1, 4), substring(string(xdDate:AddDays(xdDate:Today(), -365)), ... Posted to General (Forum) by L Mac on 02-21-2014 Re: Conditional count() using dates For those interested - the solution was: Set all date formats to yyyy-mm-dd (you may need to change the format saved when using Access DB tables) Convert date to integer in a second field using : number(concat(substring(string(xdDate:AddDays(xdDate:Today(), -365)), 1, 4), substring(string(xdDate:AddDays(xdDate:Today(), -365)), 6, ... Posted to General (Forum) by L Mac on 02-21-2014 Counting a repeating table with conditions I have a repeating table containing employees timecard details. I need to count the number of absences in the last 12 months for a particular employee. The count is bound to the employee ID field. I can count absences ("A") for a chosen employee, but I have a problem when I introduce a date filter. Please ... Posted to General (Forum) by L Mac on 02-17-2014 Re: Access Database to InfoPath Merrile, Yes you can receive data, and write data to either MS SQL databases or MS Access Databases, and create a separate data connection to send out as an e-mail. Posted to Newbie Questions (Forum) by L Mac on 01-27-2014 Re: Conditional count() using dates I think that I have found the issue...... I have one date in Format : dd/mm/yyyy and the other is yyyy-mm-dd Now that I have that part straight in my head can anyone help with the concat( substring-before and substring-after) to reverse the first date?? Then I can translate() to get a ... Posted to General (Forum) by L Mac on 01-27-2014 Conditional count() using dates I am having issues with counting data returned from an Access DB Table using InfoPath 2010. The data source (Timecards) is secondary. I need to filter out all data greater than 12 months old. So far I have xPath as follows: count(xdXDocument:GetDOM("Timecards")/dfs:myFields/dfs:dataFields/d:Timecards[@NotesMon = ... Posted to General (Forum) by L Mac on 01-25-2014 Display Repeating Section multiple times based on variable from form I have a form to log temperatures of various pieces of equipment in several areas of operation. I want the form to display the Repeating Section the appropriate number of times, based on the area that you choose at the top of the form. I have a count that returns the number of times I need the section displayed. Any ideas on how to make the ... Posted to General (Forum) by L Mac on 01-18-2014 Re: Count filtered results in a repeating table Thanks Hilary, I had made the assumption that absolute was needed as i was working in two data sources, and I had already had the count bound to the field where the value for @Project came from. Issue is now resolved. Thanks for your assistance. L Mac. Posted to Newbie Questions (Forum) by L Mac on 01-16-2014 Re: Count filtered results in a repeating table Hilary, Same count in a different form, this time the data source is secondary. Using rules I set the following Count: count(xdXDocument:GetDOM("Maintenance")/dfs:myFields/dfs:dataFields/d:Issues[xdXDocument:GetDOM("Maintenance")/dfs:myFields/dfs:dataFields/d:Issues/@Project = . and ... Posted to Newbie Questions (Forum) by L Mac on 01-16-2014 Page 1 of 2 (16 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.