<?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>Microsoft Access</title><link>https://www.infopathdev.com:443/forums/141.aspx</link><description>Qdabra is committed to answering InfoPath questions. However, we do not support Microsoft Access. For non-Access questions, please use the other boards.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23317.aspx</link><pubDate>Thu, 27 Sep 2007 18:18:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23317</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23317.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23317</wfw:commentRss><description>&lt;p&gt;Was having the Data Source and manifest helpful to solve the problem?&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23296.aspx</link><pubDate>Wed, 26 Sep 2007 19:40:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23296</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23296</wfw:commentRss><description>&lt;p&gt;The manifest is attached.&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23295.aspx</link><pubDate>Wed, 26 Sep 2007 19:39:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23295</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23295.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23295</wfw:commentRss><description>&lt;p&gt;I have included my Manifest and 4 shots of my Data Source.&amp;nbsp; Thanks again for all of your help!&amp;nbsp; I am trying to get&amp;nbsp;go into producrion asap and this is the last thing to get working.&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23294.aspx</link><pubDate>Wed, 26 Sep 2007 19:09:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23294</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23294</wfw:commentRss><description>&lt;p&gt;Under the options Tab when replying you can attach your XSN or any other files.&amp;nbsp; Sample to look at might help.&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23293.aspx</link><pubDate>Wed, 26 Sep 2007 18:59:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23293</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23293</wfw:commentRss><description>&lt;p&gt;Could I email someone what my data sources look right so I can get the right syntax?&amp;nbsp; The row number is stored in @AUTONUMBER, DetailId or DetailId2. &lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23292.aspx</link><pubDate>Wed, 26 Sep 2007 18:51:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23292</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23292</wfw:commentRss><description>&lt;p&gt;Apparently until I&amp;nbsp;get the syntax right it will not work...but I have tried a dozen different ways. Is there a way I can get someone to help me get the syntax right?&amp;nbsp; The field with the row number in it shows up on he form correcly...I hope it is getting passed the way I think it is.&lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:calculatedField target=&amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary/@NOW_ETC_HRS&amp;quot; expression=&amp;quot;../../../my:FormData/my:NOW_ETC_HRS_USER_INPUT_TOTAL[../my:DetailId2 = ../../dfs:dataFields/d:LaborSummary/@AUTONUMBER]&amp;quot; refresh=&amp;quot;onChange&amp;quot;&amp;gt;&amp;lt;/xsf:calculatedField&amp;gt;&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23289.aspx</link><pubDate>Wed, 26 Sep 2007 16:34:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23289</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23289</wfw:commentRss><description>&lt;p&gt;When I add&amp;nbsp;&amp;nbsp; /dfs:myFields/my:DetailID&amp;nbsp; as the filter&amp;nbsp;my default value is removed&amp;nbsp;on the NOW_ETC_HRS field.&amp;nbsp; I have it getting its value from the NOW_ETC_HRS_USER_INPUT_TOTAL field.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My DetailID value is correct.&lt;/p&gt;
&lt;p&gt;I think /dfs:myFields/my:DetailID&amp;nbsp;&amp;nbsp; is the right syntax but&amp;nbsp;I do not know why the default value&amp;nbsp;is removed from my NOW_ETC_HRS field after I make the change to the manifest file. &lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23288.aspx</link><pubDate>Wed, 26 Sep 2007 16:12:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23288</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23288</wfw:commentRss><description>&lt;p&gt;Ok.&lt;/p&gt;
&lt;p&gt;1 thing would be to double check detailID is 2 or has the proper value. I am assuming so but always a good thing to check when debugging.&lt;/p&gt;
&lt;p&gt;I think what you need is the full name for the DetailID field.&amp;nbsp; the ../../ is relative to the positino and for the filter you may need /dfs:myFields/my:DetailID although I think you may have one more group inbetween but try putting in the full path on the target filter.&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23286.aspx</link><pubDate>Wed, 26 Sep 2007 15:55:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23286</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23286</wfw:commentRss><description>&lt;p&gt;I am trying to get a Total Line (NOW_ETC_HRS_USER_INPUT_TOTAL)&amp;nbsp;from a Repeating table and update one row (NOW_ETC_HRS) that has Summary information for the same Control Account record on an Access database table.&lt;/p&gt;
&lt;p&gt;Below&amp;nbsp;is the line that updates the NOW_ETC_HRS field but also updates every row in the table...&lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:calculatedField target=&amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary/@NOW_ETC_HRS&amp;quot; expression=&amp;quot;../../../my:FormData/my:NOW_ETC_HRS_USER_INPUT_TOTAL[../../my:DetailId = ../../dfs:dataFields/d:LaborSummary/@AUTONUMBER]&amp;quot; refresh=&amp;quot;onChange&amp;quot;&amp;gt;&amp;lt;/xsf:calculatedField&amp;gt;&lt;/p&gt;
&lt;p&gt;I have tried the following filters...&lt;/p&gt;
&lt;p&gt;../../my:DetailId - used to store the AUTONUMBER from the&amp;nbsp;row to switch views.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Looks like this - &amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary[../../my:DetailId]/&lt;a&gt;@NOW_ETC_HRS&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;../../dfs:dataFields/d:LaborSummary/@AUTONUMBER - contains the row number.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Looks like this - &amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary[../../dfs:dataFields/d:LaborSummary/@AUTONUMBER]/&lt;a&gt;@NOW_ETC_HRS&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In my test, I am trying to update row number 2 which works when I hard code the number but I will need to update any number of rows in production&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23285.aspx</link><pubDate>Wed, 26 Sep 2007 14:55:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23285</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23285</wfw:commentRss><description>&lt;p&gt;Can you post the text for the one that worked but set all rows to the same total?&lt;/p&gt;
&lt;p&gt;In the lst filter line it would need the ../../ before my:FormData probably.&lt;/p&gt;
&lt;p&gt;I am still confused on what exactly you are trying to do. Maybe you could give some more high level details.&lt;/p&gt;
&lt;p&gt;The user gives some input, selects a row of information or something, and then you are trying to set a total and update that same record correct?&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23282.aspx</link><pubDate>Wed, 26 Sep 2007 13:59:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23282</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23282</wfw:commentRss><description>&lt;p&gt;I already added the filter and tried to copy it but I still must be missing something or have the wrong syntax.&amp;nbsp; The filter value comes from a data source so I used the following as the filters...&lt;/p&gt;
&lt;p&gt;../../dfs:dataFields/d:LaborSummary/[@AUTONUMBER]&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&amp;nbsp;my:DetailId&amp;nbsp; - I set this value to @AUONUMBER when&amp;nbsp;I switch views.&amp;nbsp; When I use this it deletes my reference to the NOW_ETC_HRS_USER_INPUT_TOTAL value and does not update. &lt;/p&gt;
&lt;p&gt;Here is the entire line...&lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:calculatedField target=&amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary[../../dfs:dataFields/d:LaborSummary/@AUTONUMBER]/@NOW_ETC_HRS&amp;quot; expression=&amp;quot;../../../my:FormData/my:NOW_ETC_HRS_USER_INPUT_TOTAL[../../my:DetailId = ../../dfs:dataFields/d:LaborSummary/@AUTONUMBER]&amp;quot; refresh=&amp;quot;onChange&amp;quot;&amp;gt;&amp;lt;/xsf:calculatedField&amp;gt;&lt;/p&gt;
&lt;p&gt;Here is the filter line in the form...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;my:FormData/my:NOW_ETC_HRS_USER_INPUT_TOTAL[../../my:DetailId = ../../dfs:dataFields/d:LaborSummary/[@AUTONUMBER]&amp;quot; &lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23280.aspx</link><pubDate>Wed, 26 Sep 2007 13:17:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23280</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23280</wfw:commentRss><description>&lt;p&gt;Ok, well at least you are making progress.&lt;/p&gt;
&lt;p&gt;The key is the filter value for the target (1st occurenc) not what it is set to (2nd).&amp;nbsp; I am guessing it is not always row 2 that you wish to update.&lt;/p&gt;
&lt;p&gt;The second issue is that you need to use the complete field reference. It cannot interpret @AutoNumber and therefore the filter is unsuccessful. It should at least be my:FormData/@AUTONUMBER or something but you would need to check.&lt;/p&gt;
&lt;p&gt;What I would recommend is to go into designer and set it up there first.&amp;nbsp; Modify the rule to set @NOW_ETC_HOURS to NOW_ETC_HRS_USER_INPUT_TOTAL and then use the filter button to add the filter RecordID = @AUTONUMBER.&amp;nbsp; Then you can go in and copy this filter to where your first 2 is. I would think you do not really need a filter on your value that you are setting but you I think had this working before.&amp;nbsp; This at least will give you the proper syntax for the filter.&lt;/p&gt;
&lt;p&gt;Good Luck&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23279.aspx</link><pubDate>Wed, 26 Sep 2007 12:25:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23279</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23279</wfw:commentRss><description>&lt;p&gt;When I supply the row number directly it works great!&amp;nbsp; But when I pass it a filter value it does not.&amp;nbsp; I must have the wrong syntax.&amp;nbsp; I will show you both ways I am trying it.&lt;/p&gt;
&lt;p&gt;This works...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:calculatedField target=&amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary[2]/@NOW_ETC_HRS&amp;quot; expression=&amp;quot;../../../my:FormData/my:NOW_ETC_HRS_USER_INPUT_TOTAL[../../my:DetailId = ../../dfs:dataFields/d:LaborSummary/[2]&amp;quot; refresh=&amp;quot;onChange&amp;quot;&amp;gt;&amp;lt;/xsf:calculatedField&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This does not.&amp;nbsp; @AUTONUMBER is the filtervalue.&amp;nbsp; It is the key on the Access database. &lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:calculatedField target=&amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary[2]/@NOW_ETC_HRS&amp;quot; expression=&amp;quot;../../../my:FormData/my:NOW_ETC_HRS_USER_INPUT_TOTAL[../../my:DetailId = ../../dfs:dataFields/d:LaborSummary/[@AUTONUMBER]&amp;quot; refresh=&amp;quot;onChange&amp;quot;&amp;gt;&amp;lt;/xsf:calculatedField&amp;gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DO YOU KNOW THE RIGHT SYNTAX&amp;nbsp; TO PASS A FILTER VALUE?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23271.aspx</link><pubDate>Tue, 25 Sep 2007 16:54:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23271</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23271</wfw:commentRss><description>&lt;p&gt;Have you tried it yet?&lt;/p&gt;
&lt;p&gt;I would think your filter would go at the /d:LaborSummary[RecordID = Field]/@NOW_ETC_HRS.&amp;nbsp; I would be calculating the rowID that needs to be updated. Place that in a field or put the calculation in the filter are there.&lt;/p&gt;
&lt;p&gt;Typically you will have to test a bit till you get it the way you need it.&lt;/p&gt;</description></item><item><title>Re: Saving a field back to a data a source(Access)</title><link>https://www.infopathdev.com:443/forums/thread/23270.aspx</link><pubDate>Tue, 25 Sep 2007 16:48:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23270</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=23270</wfw:commentRss><description>&lt;p&gt;Could someone help with how I would make the code below work with saving a field back to a data source without saving it to all the records?&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looks like&amp;nbsp;this is the line I need to change...&lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:calculatedField target=&amp;quot;/dfs:myFields/dfs:dataFields/d:LaborSummary/@NOW_ETC_HRS&amp;quot; expression=&amp;quot;../../../my:FormData/my:NOW_ETC_HRS_USER_INPUT_TOTAL[../../my:DetailId = ../../dfs:dataFields/d:LaborSummary/@AUTONUMBER and ../../dfs:dataFields/d:LaborSummary/@DIST_NONDIST = &amp;amp;quot;Non-Dist&amp;amp;quot;]&amp;quot; refresh=&amp;quot;onChange&amp;quot;&amp;gt;&amp;lt;/xsf:calculatedField&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My filters are AUTONUMBER...the key on the access database and the DIST_NONDIST field.&amp;nbsp; I need to filter on the Key field and DIST_NONDIST&amp;nbsp; = Non_Dist.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So&amp;nbsp;I woiuld take the Greg&amp;#39;s example code.../Root/Table/Row[FilterField = &amp;#39;FilterValue&amp;#39;]/Field = &amp;quot;value&amp;quot; and update the code above?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>