<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/82386.aspx</link><pubDate>Thu, 06 Sep 2012 15:50:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82386</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82386.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82386</wfw:commentRss><description>&lt;p&gt;Hi - what are you talking about? The thread is about using the built in InfoPath List data connections, not the SharePoint web services. I don&amp;#39;t understand what &amp;quot;Flex 2&amp;quot; or &amp;quot;Flex 3&amp;quot; have to do with the topic at hand - can you elaborate?&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80283.aspx</link><pubDate>Fri, 06 Jul 2012 16:49:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80283</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80283</wfw:commentRss><description>&lt;p&gt;I removed them both - have a great weekend!&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80270.aspx</link><pubDate>Fri, 06 Jul 2012 14:00:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80270</guid><dc:creator>Mary Ann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80270</wfw:commentRss><description>&lt;p&gt;Thanks again for your help Hilary.&amp;nbsp; I&amp;#39;ll give it a try.&amp;nbsp; Could you possibly remove the template form from your last post?&amp;nbsp; I&amp;#39;ve saved it locally.&amp;nbsp; Thanks.&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80259.aspx</link><pubDate>Thu, 05 Jul 2012 21:39:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80259</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80259.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80259</wfw:commentRss><description>&lt;p&gt;Okay - added a rule to your button that sets three of the fields. You&amp;#39;ll note I removed the default values from those three fields. You may want to disable that button after the form has been submitted - have a status field or something to track that. Oh, and you&amp;#39;ll need to save this file locally, right click and select Design to open in design mode.&lt;/p&gt;
&lt;p&gt;-- Template removed at poster&amp;#39;s request&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80258.aspx</link><pubDate>Thu, 05 Jul 2012 21:29:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80258</guid><dc:creator>Mary Ann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80258</wfw:commentRss><description>&lt;p&gt;The fields which are populated from the secondary data source are those in the gray area.&amp;nbsp; The &amp;quot;filter&amp;quot; between the main and the secondary data source is the &amp;quot;ID&amp;quot; field.&amp;nbsp; Thanks very much for your help.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80257.aspx</link><pubDate>Thu, 05 Jul 2012 21:23:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80257</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80257</wfw:commentRss><description>&lt;p&gt;Again, as I said above - form load rules may not be the right place, since you&amp;#39;ve said that use a value in the form to filter your SharePoint list data. I&amp;#39;d probably set the rules on whatever main data source field is used to filter the the list data in the default values.&lt;/p&gt;
&lt;p&gt;First, if the SharePoint data source has not been queried, you&amp;#39;d need an action to query it. I think you could use a condition to check for the presence of one of its nodes.&lt;/p&gt;
&lt;p&gt;Then, you&amp;#39;d use rule actions that set field values - that&amp;#39;s the goal, use rules to set main data source field values rather than depend on the presence of secondary data and defaults (which is what is causing you to have blanks). Feel free to attach your form template to the Options tab if you would like me to add rules to show what I mean a bit better.&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80255.aspx</link><pubDate>Thu, 05 Jul 2012 21:17:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80255</guid><dc:creator>Mary Ann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80255.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80255</wfw:commentRss><description>&lt;p&gt;OK.&amp;nbsp; I&amp;#39;m using 2010.&amp;nbsp; So when I am in Form Load/New/Action rule, which action do I select:&amp;nbsp; &amp;quot;Set a field&amp;#39;s value&amp;quot; or &amp;quot;Query for data&amp;quot; or &amp;quot;Show the value of a field or formula&amp;quot;?&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80254.aspx</link><pubDate>Thu, 05 Jul 2012 21:07:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80254</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80254.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80254</wfw:commentRss><description>&lt;p&gt;Yup - you are using default values. Which means if the user doesn&amp;#39;t have access to the data, you are going to have &amp;quot;disappearing&amp;quot; data - the store data for use when offline is used if the user is actually offline - yours aren&amp;#39;t - they just don&amp;#39;t have access.&lt;/p&gt;
&lt;p&gt;Instead, I think you should add form load rules. In InfoPath 2010, those are on the data tab of the ribbon - in IP 2007, under Tools / Form options.&lt;/p&gt;
&lt;p&gt;Then, as I said above, you&amp;#39;d want to use conditions on your rules - you don&amp;#39;t want to go setting those fields unless the form is new - you&amp;#39;d need to make sure those fields are blank. Let&amp;#39;s pretend that one of the fields you are setting is called Product, just so I have something concrete to talk about.&lt;/p&gt;
&lt;p&gt;When the form is opened, you&amp;#39;d have open rules that would have the condition:&lt;/p&gt;
&lt;p&gt;Product is blank&lt;/p&gt;
&lt;p&gt;Then the rule actions would:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Query the data connection&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Set the Product field&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Based on what you&amp;#39;ve said above, however, you may need to put the rules to set fields on the field that is providing you with your ID - you say your default values are using filters, so I imagine the user is selecting &lt;em&gt;something &lt;/em&gt;in the form that you are basing your filters on. Hope that makes sense.&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80252.aspx</link><pubDate>Thu, 05 Jul 2012 20:20:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80252</guid><dc:creator>Mary Ann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80252.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80252</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m pretty new to this so may not be using the best language to describe nor the best methods...&amp;nbsp;&amp;nbsp;&amp;nbsp; So I have text boxes and in the Text Box Properies window&amp;nbsp;Default Value box entered a formula directing to a specific field in the secondary data source (SharePoint) filtered by the ID in each data source.&amp;nbsp; The &amp;quot;refresh value when formula is recalculated&amp;quot; box is checked.&amp;nbsp; The Data Connection is set up to &amp;quot;Store a copy of the data in the form template&amp;quot; but the &amp;quot;automatically retrieve data when form is opened&amp;quot; box is not checked.&amp;nbsp; The action rule, &amp;quot;Query for data using a data connection&amp;quot; is applied to a button.&amp;nbsp; Data is retrieved when the button is clicked.&amp;nbsp; Are you referring to a different way of applying rules?&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80248.aspx</link><pubDate>Thu, 05 Jul 2012 19:38:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80248</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80248</wfw:commentRss><description>&lt;p&gt;I guess I may not understand what you mean by &amp;quot;data retrieved from SharePoint&amp;quot;. Here&amp;#39;s what I was assuming - that you had default values that rely on data not all users have access to.&lt;/p&gt;
&lt;p&gt;If you are using rules to set main data source fields with values from your secondary data source that not all users have access to - well, the main data fields should still have the data in them. Unless your rules are running even when the user doesn&amp;#39;t have access? How did you set up your rules?&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80247.aspx</link><pubDate>Thu, 05 Jul 2012 19:30:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80247</guid><dc:creator>Mary Ann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80247</wfw:commentRss><description>&lt;p&gt;OK looks like I&amp;#39;m closer.&amp;nbsp; I changed to retreive the data using rules and a button.&amp;nbsp; The data is retrieved, I email the form on to the next user who does not have SharePoint access, they are able to open the form, but the data that was retrieved from SharePoint is missing.&amp;nbsp; &amp;quot;Store a copy of the data in the form template&amp;quot; is checked in the data connection wizard.&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80241.aspx</link><pubDate>Thu, 05 Jul 2012 17:36:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80241</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80241</wfw:commentRss><description>&lt;p&gt;Well, generally, what I think is that since your first user has access to the lists, instead of running the data connection on load, you should run it in open rules. Check one or more of the fields that are populated via this data connection - if they are blank you could perhaps assume the form was new, query the data connection and fill in the form fields using rules. Then the data connection is only executing when the first user fills out a new form.&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80225.aspx</link><pubDate>Thu, 05 Jul 2012 12:18:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80225</guid><dc:creator>Mary Ann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80225</wfw:commentRss><description>&lt;p&gt;I would still need the secondary data source to retrieve the values even if they were retrieved with a rule.&amp;nbsp; Do you think this would change the access issue?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80184.aspx</link><pubDate>Tue, 03 Jul 2012 23:09:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80184</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80184.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80184</wfw:commentRss><description>&lt;p&gt;Sounds like you are using default values that require the secondary data source - can you replace those with rules?&lt;/p&gt;</description></item><item><title>Convert data retrieved with a formula to a value</title><link>https://www.infopathdev.com:443/forums/thread/80104.aspx</link><pubDate>Mon, 02 Jul 2012 21:59:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80104</guid><dc:creator>Mary Ann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80104.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=80104</wfw:commentRss><description>&lt;p&gt;I have a form that moves via email to sequential users to perform actions.&amp;nbsp; The first user retrieves data from a SharePoint list using formulas.&amp;nbsp; This user has access to the SharePoint list but subsequent users do not and may not have access.&amp;nbsp; The form is then sent to a second user (who does not have access to the SharePoint list) and this user is unable to open the form because they don&amp;#39;t have access to the list.&amp;nbsp; Is there a way to resolve this issue?&amp;nbsp; OR is there a way for the first user to easily replace the formulas in multiple fields with the values returned to the form.&amp;nbsp; Would this eliminate the error regarding access?&amp;nbsp; The data connection would still exist but would not be needed by the second and following users.&amp;nbsp; &lt;/p&gt;</description></item></channel></rss>