<?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: How to flag a form if the value of a field exists in a SQL table?</title><link>https://www.infopathdev.com:443/forums/thread/29037.aspx</link><pubDate>Thu, 29 May 2008 16:46:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29037</guid><dc:creator>cjlangham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=29037</wfw:commentRss><description>&lt;p&gt;Perfect! Thanks Clay! That did the trick! I also set another rule where if the user went back and changed the field and the value was not in SQL table the status field was changed back to a non-flagged status.&lt;/p&gt;</description></item><item><title>Re: How to flag a form if the value of a field exists in a SQL table?</title><link>https://www.infopathdev.com:443/forums/thread/29033.aspx</link><pubDate>Thu, 29 May 2008 15:51:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29033</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29033.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=29033</wfw:commentRss><description>&lt;p&gt;On the field the user enters the data.&lt;/p&gt;
&lt;p&gt;Add a rule&lt;/p&gt;
&lt;p&gt;Add a condition&lt;/p&gt;
&lt;p&gt;field = select enter formula&lt;/p&gt;
&lt;p&gt;add a field&lt;/p&gt;
&lt;p&gt;Navigate to the secondary data source&lt;/p&gt;
&lt;p&gt;select the coresponding SQL field&lt;/p&gt;
&lt;p&gt;Ok that&lt;/p&gt;
&lt;p&gt;Then add an action to set a field value&lt;/p&gt;
&lt;p&gt;select status field&lt;/p&gt;
&lt;p&gt;and then put the text &amp;quot;flagged&amp;quot; or what ever you want.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then once they enter a value and leave the cell if that value is found in the SQL data the field will be updated otherwise it will remain unchanged.&lt;/p&gt;
&lt;p&gt;Play with this.&lt;/p&gt;</description></item><item><title>Re: How to flag a form if the value of a field exists in a SQL table?</title><link>https://www.infopathdev.com:443/forums/thread/29029.aspx</link><pubDate>Thu, 29 May 2008 14:48:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29029</guid><dc:creator>cjlangham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29029.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=29029</wfw:commentRss><description>&lt;p&gt;I have the secondary connection set up. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you be more specific? I&amp;#39;m new to InfoPath and not sure were the filter or conditional rule&amp;nbsp;goes. Do you have step by step instructions or an example somewhere to look at? Thanks.&lt;/p&gt;</description></item><item><title>Re: How to flag a form if the value of a field exists in a SQL table?</title><link>https://www.infopathdev.com:443/forums/thread/29005.aspx</link><pubDate>Wed, 28 May 2008 18:38:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29005</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=29005</wfw:commentRss><description>&lt;p&gt;I would assume you would have the SQL data in a secondary data connection.&lt;/p&gt;
&lt;p&gt;You would do a filter on the SQL data and check your field validation.&lt;/p&gt;
&lt;p&gt;This would be a conditional rule, probably triggered by entry in the control in the form where the user would enter.&lt;/p&gt;
&lt;p&gt;If true then it would set your status field to &amp;quot;flagged&amp;quot; or whatever and that would be promoted in SP.&lt;/p&gt;</description></item><item><title>How to flag a form if the value of a field exists in a SQL table?</title><link>https://www.infopathdev.com:443/forums/thread/28995.aspx</link><pubDate>Wed, 28 May 2008 17:00:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28995</guid><dc:creator>cjlangham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28995.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=28995</wfw:commentRss><description>&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;"&gt;I have a form that users are going to submit to a workflow in a SharePoint document library. I&amp;#39;m not sure how to approach the following situation.&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:5pt 0in;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;"&gt;A user enters a value in a field. The value that the user has entered is then validated against a column in a SQL table. If the value the user enters is in the SQL table set another field to &amp;quot;Flagged&amp;quot;. I will then use this &amp;quot;Flagged&amp;quot; field in my workflow to determine the route this submitted document will take.&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:5pt 0in;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;"&gt;How do I accomplish the above scenario? Thanks in advance for your help!&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>