<?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: Applying values to numerous fields based upon three user inputted fields</title><link>https://www.infopathdev.com:443/forums/thread/51330.aspx</link><pubDate>Tue, 02 Feb 2010 22:50:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51330</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51330.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51330</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;and welcome to the InfoPath Dev forums.&lt;/p&gt;
&lt;p&gt;I think the idea of needing to create 672 rules in InfoPath is going to be a big issue for you.&amp;nbsp; There is likely to be potential huge performance issues with that many rules not to mention what if you need to change something in each rule?&amp;nbsp; Debugging will also be very hard potentially.&lt;/p&gt;
&lt;p&gt;I think what you want to do is probably best written in code.&amp;nbsp; Qdabra does a lot of InfoPath consulting work and I would suggest discussing using one of our&amp;nbsp;InfoPath MVP&amp;#39;s to take a look at your form and see what we can do to help you.&amp;nbsp; Our consulting page is located here: &lt;a href="http://www.qdabra.com/en/consulting.aspx"&gt;http://www.qdabra.com/en/consulting.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ted&lt;/p&gt;</description></item><item><title>Applying values to numerous fields based upon three user inputted fields</title><link>https://www.infopathdev.com:443/forums/thread/50787.aspx</link><pubDate>Wed, 20 Jan 2010 15:52:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50787</guid><dc:creator>bcltl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50787</wfw:commentRss><description>&lt;font face="Calibri"&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;I am new to posting to a forum so let me know if I do anything out of the norm.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I have a challenging project and thought to reach out and see if anyone has a more efficient approach in InfoPath. This is going to be a long post, there is a lot to try and explain.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Project background:&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt; The goal of the project is to keep detailed real time tracking of each employee’s schedule in a department to give management a big picture of staffing for a particular week. The project consists of 2 InfoPath forms, 2 Access Databases and an Excel file. The first InfoPath form is only used to collect default profile data from each staff member when they join the department or when something in their profile changes permanently. This default data InfoPath form (form #1) submits to an Access database (DB #1). Then the second InfoPath form (form #2) pulls the default data and then is used by each employee to forecast their schedule for a week in advance. They also can update their schedule real time with edits and re-submittals. These submittals go to Access database (DB #2). Finally, there is an Excel file that is pointed to the database that is used for reporting and charting real time.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The forms, databases and excel file all work perfect together in regards to functionality. &lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Issue:&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt; The schedule is tracked in 30 minute increments for 24 hours a day for 7 days (Sun-Sat). This creates a huge amount of fields (336).&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Each field is a dropdown list with status category choices. This means an individual has to select a value for each 30 minute field that they work when filling out the default profile (form #1) and then any changes in the weekly form (form #2).&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I want to create a method for batch inputting. I have created a test form using an InfoPath form and two Access databases to accomplish this. The form pulls some fake default data from the first database. There are 3 drop down lists (category value, start time and number of hours (input can be up to 11 hours)), check boxes for the day(s) the value(s) apply and a button to apply/initiate the changes. Then fields are populated based on filtering values from the second database for different input scenarios. I did this instead of writing code to account for each of input scenarios and time values. This all works perfectly, however, I will have to create a ridiculous amount of rules and conditions to cover each 30 minute increment for each day of the week. I have two rules for each time slot in my test file attached to the button so I would end up having at least 672 rules. These are necessary so the default values aren’t erased and only new values applied when/if button is pressed, etc. I am not even sure if InfoPath would hold this many rules or if performance would become an issue. &lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Request: &lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Is there a way to write code to apply a value to a field and then more fields that follow in succession in a group to avoid&amp;nbsp;using so many rules/conditions?&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;E.G.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Category is &lt;b style="mso-bidi-font-weight:normal;"&gt;meal/break&lt;/b&gt;, the start time is &lt;b style="mso-bidi-font-weight:normal;"&gt;12:00&lt;/b&gt;, the number of hours is &lt;b style="mso-bidi-font-weight:normal;"&gt;1.0&lt;/b&gt; hour and &lt;b style="mso-bidi-font-weight:normal;"&gt;Monday&lt;/b&gt; is checked. According to this scenario, the fields for Monday 00:00 to 00:30, 00:30 to 01:00 should both receive a value of meal/break.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I tried to map things out the best I could here in text format. I hope it creates a good enough overall picture of things. I can attach the test form and database files&amp;nbsp;for reference, they total a bit over 3 mgs. Let me know if you need more information/clarification. Thanks in advance.&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt;</description></item></channel></rss>