<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119023.aspx</link><pubDate>Wed, 16 May 2018 00:47:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119023</guid><dc:creator>DarthBrute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119023.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119023</wfw:commentRss><description>Everything works thank you very much!</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119020.aspx</link><pubDate>Tue, 15 May 2018 23:51:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119020</guid><dc:creator>DarthBrute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119020.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119020</wfw:commentRss><description>I think so but only after I played around for a bit. What ended up working was I removed the formula in default value of ACOST / #QI from the field. Then set #QI to do the math based on its own value. =0 then make NCPQI blank, if #QI is blank then make NCPQI blank. But it works on the preview I&amp;#39;ll see if it works on the SharePoint.</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119016.aspx</link><pubDate>Tue, 15 May 2018 22:55:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119016</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119016.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119016</wfw:commentRss><description>Instead of using a default for NRD CPQI, you should put rules on Actual Cost and #QI. The rules will check if #QI is equal to zero - if it is not, set NRD CPQI to Actual Cost / # QI. I would also add rules to both Actual Cost and # QI to clear NRD CPQI. So, on each rule, the first rule would have no conditions and would set NRD CPQI either to blank or zero (whatever makes sense in your form). The second rule would have a condition to check the value of # QI and if it is greater than 0, set NRD CPQI to Actual Cost / # QI. Does that make sense?</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119014.aspx</link><pubDate>Tue, 15 May 2018 22:22:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119014</guid><dc:creator>DarthBrute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119014</wfw:commentRss><description>I see what you are saying. That worked perfectly! I just had to modify the rules a bit too. Also, when a field (NRD CPQI) is for currency only how do I bypass the error when the field returns &amp;quot;Infinity&amp;quot; and has a red dashed border? I tried rules to replace it but that isn&amp;#39;t working. That is happening when ACTUAL COST is being divided by 0 in the #QI field.</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119012.aspx</link><pubDate>Tue, 15 May 2018 19:56:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119012</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119012.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119012</wfw:commentRss><description>Your rules are on the field you wish to set (this is a common mistake, I used to do this all the time!) and they need to be on the fields that will be changing. That is, rules fire when a field changes, so you don&amp;#39;t want them on your target. Instead, put the rules on NRD CPQJ.</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119011.aspx</link><pubDate>Tue, 15 May 2018 19:49:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119011</guid><dc:creator>DarthBrute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119011</wfw:commentRss><description>Attached. Be aware it does have a connection to my sharepoint and it may ask for credentials. You should be able to cancel on that. The GOOD, BAD, and OK fields are hidden but lay at the bottom of the form.</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119010.aspx</link><pubDate>Tue, 15 May 2018 19:33:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119010</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119010.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119010</wfw:commentRss><description>If you are using a browser other than IE, or typing things up in some other application and pasting in that may cause the issue. If you attach a copy of your form under the Options tab in a reply, I&amp;#39;d be happy to give you a hand.</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119008.aspx</link><pubDate>Tue, 15 May 2018 19:30:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119008</guid><dc:creator>DarthBrute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119008</wfw:commentRss><description>I had everything typed up. But not everything appears when I post it here. I continued my question over at msdn. https://social.msdn.microsoft.com/Forums/office/en-US/d6c608f4-a88d-495c-b095-b8e6c0e5ae3e/display-text-based-on-field-value?forum=sharepointcustomizationlegacy#d6c608f4-a88d-495c-b095-b8e6c0e5ae3e</description></item><item><title>Re: Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119006.aspx</link><pubDate>Tue, 15 May 2018 17:27:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119006</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119006</wfw:commentRss><description>So - are you looking to create a calculated column in a SharePoint list that reflects this formula? Or are you working on an InfoPath form and need help with the logic to set the field? If this is in InfoPath, you&amp;#39;d use rules with conditions to accomplish this. If you attach your form under the Options tab in a reply, with some info on what fields are the same as C26, H26 and so on, I&amp;#39;d be more than happy to help you.</description></item><item><title>Display text based on Value</title><link>https://www.infopathdev.com:443/forums/thread/119005.aspx</link><pubDate>Tue, 15 May 2018 17:08:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119005</guid><dc:creator>DarthBrute</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119005</wfw:commentRss><description>Really new to Infopath. I did do some searching and I found rules as there is no IF statement for xpath.

What I am trying to do is move a spreadsheet to SharePoint. One of my cells for calculation has this formula: =IF(C26&amp;gt;=H26,&amp;quot;BAD&amp;quot;,IF(C26&amp;gt;=G26,&amp;quot;OK&amp;quot;,IF(C26= BAD  (Set a fields Value: BAD)
NCPQI &amp;gt;= OK  (Set a fields Value: OK)
NCPQI</description></item></channel></rss>