<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: qrules - DateDiff - Use on more than one list?</title><link>https://www.infopathdev.com:443/forums/thread/91556.aspx</link><pubDate>Mon, 22 Jul 2013 23:19:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91556</guid><dc:creator>wapfunz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91556.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91556</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;&lt;p&gt;Got myself confused. All sounded clear - now not sure.&lt;/p&gt;&lt;p&gt;I have &amp;quot;Australian Public Holidays (Secondary)&lt;/p&gt;&lt;p&gt;Query and Data fields of : Date(dd/mm/yyyy), NSW, VIC, WA, QLD, ACT, SA, ID.&lt;/p&gt;&lt;p&gt;ID is the ID&lt;/p&gt;&lt;p&gt;I have the qRules as follows:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;DateDiff /date1=&amp;quot;, my:EndDate, &amp;quot; /date2=&amp;quot;, my:startDate, &amp;quot; /component=weekdays /dsnamehol=AustralianHolidays /xpathhol=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Date_x0028_dd_x002f_mm_x002f_yyy&amp;quot;)&lt;/p&gt;&lt;p&gt;The date field contains all holidays and each of the fields/columns NSW, VIC, WA, QLD, ACT, SA has a check if that state uses that holiday.&lt;/p&gt;&lt;p&gt;Xmas day 25th December would have a check in all fields, where as say Melbourne cup day is only checked in the VIC column..&lt;/p&gt;&lt;p&gt;First field on the form has, choose which state you are based in - thus if New South Wales - NSW is chosen.&lt;/p&gt;&lt;p&gt;Once selected, the groups to gather information show - so no selection - no information gathering groups.&lt;/p&gt;&lt;p&gt;So I want to filter all hoildays with NSW column checked and use the date in the Date(dd/mm/yyyy) column and jump over those that are not NSW.&lt;/p&gt;&lt;p&gt;Do I use the Query Fields and filter (Secondary) of Australian Public Holidays and how?&lt;/p&gt;&lt;p&gt;Or Have I just got things a wee bit confused as to how to go abaout it?&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>Re: qrules - DateDiff - Use on more than one list?</title><link>https://www.infopathdev.com:443/forums/thread/91490.aspx</link><pubDate>Thu, 18 Jul 2013 22:38:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91490</guid><dc:creator>wapfunz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91490.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91490</wfw:commentRss><description>&lt;p&gt;Thank you Hilary.&lt;/p&gt;&lt;p&gt;IP / Shp are both 2010, so I will use the query.&lt;/p&gt;&lt;p&gt;Thank you - very very much apreciated.&lt;/p&gt;</description></item><item><title>Re: qrules - DateDiff - Use on more than one list?</title><link>https://www.infopathdev.com:443/forums/thread/91471.aspx</link><pubDate>Thu, 18 Jul 2013 14:04:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91471</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91471</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What version of IP / ShP? If 2010, there are query fields in the list data connections. You&amp;#39;d want to add a column for State to your Holiday list, then in your query, you would set the State query field to the correct state for the user and then execute the query. If IP 2007, you can use the qRules FilterOwssvr command to the same effect, returning only the correct holidays for the user to the form. Make sense?&lt;/p&gt;</description></item><item><title>qrules - DateDiff - Use on more than one list?</title><link>https://www.infopathdev.com:443/forums/thread/91461.aspx</link><pubDate>Thu, 18 Jul 2013 01:56:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91461</guid><dc:creator>wapfunz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91461.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91461</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Say we look at Australia - many states with different movable holidays celebrated at different times.&lt;/p&gt;&lt;p&gt;One calendar list isn&amp;#39;t going to be able to accomidate a user from another state using the same leave application infopath form on the same libray - is there?&lt;/p&gt;&lt;p&gt;How could I successfully use one list that qrules looks up to filter (ah now there is an idea - but how?) out States and use the list to calulate a holiday?&lt;/p&gt;&lt;p&gt;How would you go about using one form to look at a list where different states celebrate a holiday at different times , yet be able to use qrules date diff to get the actual days on hoilday?&lt;/p&gt;&lt;p&gt;Cheers - my mind is whacked on this.&lt;/p&gt;</description></item></channel></rss>