<?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: Tie up Repeating table field with a non repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/100276.aspx</link><pubDate>Tue, 25 Nov 2014 14:59:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100276</guid><dc:creator>Ravik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100276</wfw:commentRss><description>Hi Patrick,

I should have done this in the first place. 

Please see the attached Xsn file.

I have created this form based on my original form.

The way the actual level should work is, its should look for the highest category if there is more than one Injury Category in the section and based on that i should get the validation error.

Thanks for your time, Patrick.

Regards,

Ravi</description></item><item><title>Re: Tie up Repeating table field with a non repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/100273.aspx</link><pubDate>Tue, 25 Nov 2014 14:18:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100273</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100273.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100273</wfw:commentRss><description>&lt;p&gt;Hi Ravik,&lt;/p&gt;
&lt;p&gt;Thank you for the detailed explanation.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m afraid I need to see the form template. Can you attach that?&lt;/p&gt;
&lt;p&gt;Thanks for your patience.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Tie up Repeating table field with a non repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/100270.aspx</link><pubDate>Tue, 25 Nov 2014 09:46:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100270</guid><dc:creator>Ravik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100270</wfw:commentRss><description>Hi Patrick,

Thanks for getting back. Please see my example below

Non-repeating field

Actual level which has L0, L1, L2, L3, L4, L5 as values where L5 being the maximum value.

Field in the Repeating Table

Type of Injury has L0 - Near Miss; L1 - First  Aid Case; L2 - Medical Treatment Case or Restricted Work Case; L3 - Lost Time Injury; L4 - Fatality; L5 - Multiple Fatalities.

My Current rule is if Type of Injury is Multiple Fatalities then the value in the Actual Level will change to L5 which is based on one repeating table

If there  is more than one repeating table for example

Type of Injury in table 1 is Lost Time Injury

Type of Injury in table 2 is Multiple Fatalities

How can i get the value in the actual level to be L5 based on the maximum value chosen in the Type of Injury.

Currently if i had more than one repeating table, the actual value is getting calculated based on the Type of Injury in the first table. Based on the above query, the value of the actual field is showing as L4 but actually it should be L5 because this is the maximum value.

If Type of injury is table 1 is First Aid Case

Type of injury in table 2 is  Medical Treatment Case or Restricted Work Case

Type of injury in table 3 is Lost Time Injury

Actual level should be L4

When there is multiple table like the above example, how can i get the maximum value?

Hope the above example makes sense than to my previous request.

Regards,

Ravi</description></item><item><title>Re: Tie up Repeating table field with a non repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/100235.aspx</link><pubDate>Mon, 24 Nov 2014 10:02:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100235</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100235</wfw:commentRss><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m guessing that you may need to use the current() xpath function to reference the current row in the repeating table. If you&amp;nbsp;are trying to set the target field based on a row in a repeating field, then you will have to use the current() function to select the correct value.&lt;/p&gt;&lt;p&gt;But, I could be wrong. Can you provide more detail?&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Tie up Repeating table field with a non repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/100216.aspx</link><pubDate>Fri, 21 Nov 2014 17:08:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100216</guid><dc:creator>Ravik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100216.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100216</wfw:commentRss><description>Hi All,

I have two dropdown fields, one in a repeating table and the other one is not.

Currently, the logic is , if i pick a value from the repeating table drop down field, the value in the non repeating field should change on the basics of the value that is picked. Which works fine if there is only one repeating table, but if there is more than one repeating table, how can i get this working. I basically need to check that particular dropdown field which is in a repeating table and compare it with the same field which is present in all the other repeating table and then get the highest value and based on that the field from the non repeating table should change.

Hope i have made it clear..

Any help would be greatly appreciated.

Regards,

Ravi</description></item></channel></rss>