<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: preceding-sibling xpath formula in repeating table infopath access database to calculate value</title><link>https://www.infopathdev.com:443/forums/thread/105748.aspx</link><pubDate>Tue, 08 Mar 2016 23:42:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105748</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105748.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105748</wfw:commentRss><description>I&amp;#39;d think as a default in Temp_Vac: ../preceding-sibling::d:Vacation_Info[1]/@Used_Vac_Hrs</description></item><item><title>Re: preceding-sibling xpath formula in repeating table infopath access database to calculate value</title><link>https://www.infopathdev.com:443/forums/thread/105747.aspx</link><pubDate>Tue, 08 Mar 2016 23:34:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105747</guid><dc:creator>iengineer86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105747.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105747</wfw:commentRss><description>Yes i am putting in temp_vac as default.

My goal is to use the previous value from used_vac_hrs so that in the access databae i can store the total hours used and then can subtract from the total to show the remaining hours</description></item><item><title>Re: preceding-sibling xpath formula in repeating table infopath access database to calculate value</title><link>https://www.infopathdev.com:443/forums/thread/105719.aspx</link><pubDate>Tue, 08 Mar 2016 15:47:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105719</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105719.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105719</wfw:commentRss><description>Where are you putting this formula? In Temp_Vac as a default?</description></item><item><title>preceding-sibling xpath formula in repeating table infopath access database to calculate value</title><link>https://www.infopathdev.com:443/forums/thread/105705.aspx</link><pubDate>Sun, 06 Mar 2016 15:26:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105705</guid><dc:creator>iengineer86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105705</wfw:commentRss><description>Hi Guys,

I have two tables in access database Employee Info(Parent) and Vacation Info(child).
With in vacation info I have 2 fields Used_Vac_Hrs and Temp_Vac ------------------------------------                                                                                         


I want to copy the previous row value of Used_Vac_Hrs into Temp_Vac field . -----------------------------
I tried formula like :                                                        

&amp;quot; preceding-sibling::Vacation_Info[1]/Used_Vac_Hrs &amp;quot;                   -------------------                    

&amp;quot; ../preceding-sibling::dfs:dataFields/d:Employee_Info/d:Vacation_Info[1]/@Used_Vac_Hrs &amp;quot;                               ----------------------                                                           

 nothing is working for me . All shows error message &amp;quot; does not point to a valid location path of a field or group&amp;quot;                   --------------------------           

Xpath for Field Used_Vac_Hrs  is : /dfs:myFields/dfs:dataFields/d:Employee_Info/d:Vacation_Info/@Used_Vac_Hrs&amp;quot;                  ---------------------------------------------------    
Xpath for Field Temp_Vac is : /dfs:myFields/dfs:dataFields/d:Employee_Info/d:Vacation_Info/@Temp_Vac&amp;quot;                              -----------------------------------

I also attached the screen shot for hierarchy of my fields .

Please help...

note: I am creating this form on shared network drive NO sharepoint etc.

THANK YOU Friends..</description></item></channel></rss>