<?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: Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/11007.aspx</link><pubDate>Fri, 02 Feb 2007 11:35:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11007</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11007</wfw:commentRss><description>One other thing to mention. The conditions are not limited to five conditions. When you use "The Expression" in the first drop down list you can actually have up to 30 statements within this expression line using xPath1Value = 1 OR xPath2Value = 2 AND xPath3Value = 0 and so on, just using AND/OR in between of the statements</description></item><item><title>Re: Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/11006.aspx</link><pubDate>Thu, 01 Feb 2007 15:13:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11006</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11006</wfw:commentRss><description>Another easier way to perform this logic is to use mutliplication.  If you set your checkboxes to set as 0/1 instead of Yes/No then you can use A * B * C to determine if all are set to true.  If all are 1 then output will be 1 (true), if any are 0, the output will be 0 (false).&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Re: Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/11005.aspx</link><pubDate>Wed, 31 Jan 2007 18:20:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11005</guid><dc:creator>troy0118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11005</wfw:commentRss><description>Thanks a lot. I will try it out.</description></item><item><title>Re: Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/11004.aspx</link><pubDate>Wed, 31 Jan 2007 18:12:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11004</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11004</wfw:commentRss><description>One more idea is to use SharePoint lists that have the values you should check and the result. That would make it easier to update the rule.</description></item><item><title>Re: Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/11003.aspx</link><pubDate>Wed, 31 Jan 2007 18:12:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11003</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11003.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11003</wfw:commentRss><description>Hi Troy0118,&lt;br /&gt;Yes, it's definitely a maintenance nightmare in InfoPath 2003. In 2007, you can use the new handy-dandy Logic Inspector. But anyway, you might be able to reduce the conditions by having extra fields with a layer of indirection between the fields you are checking and the actual values - in other words, set up an index for all states. That may require code though. Sounds like you need to write some code. Good luck!</description></item><item><title>Re: Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/11002.aspx</link><pubDate>Wed, 31 Jan 2007 14:46:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11002</guid><dc:creator>troy0118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11002</wfw:commentRss><description>That's what I am using, but I doubt if there is a smart way to do so.&lt;br /&gt;Let's say I have three fields to confirm. Each field has to have about 10 rules because it would be (A,B,C)=(Yes,Yes,No) or (Yes,No,Yes) or (No,No,Yes) and so on.&lt;br /&gt;If one of the conditions is true, then the field D will automatically be set as True.&lt;br /&gt;However, I think this is a dump way. Won't it slow down the performance of the form?</description></item><item><title>Re: Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/11001.aspx</link><pubDate>Tue, 30 Jan 2007 18:58:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11001</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11001</wfw:commentRss><description>In the Rules dialog there is a Condition button. Check that and add the conditions. Five fields are fine.</description></item><item><title>Business Logic - IF</title><link>https://www.infopathdev.com:443/forums/thread/6037.aspx</link><pubDate>Tue, 30 Jan 2007 15:31:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6037</guid><dc:creator>troy0118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6037</wfw:commentRss><description>How can I have a function like "if" in infopath?&lt;br /&gt;for example,&lt;br /&gt;I have three fields: A,B and C.&lt;br /&gt;If A is OK and B is OK, then automatically given OK to C field.&lt;br /&gt;&lt;br /&gt;I know I can use action to give field C a value when A field changes, but I won't be able to know the value in B field.&lt;br /&gt;&lt;br /&gt;I simplify the problem; actually I have to confirm five fields in order to give a value to a specific field.&lt;br /&gt;&lt;br /&gt;Please advice. Thanks.&lt;br /&gt;&lt;br /&gt;Troy</description></item></channel></rss>