<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118710.aspx</link><pubDate>Fri, 06 Apr 2018 13:01:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118710</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118710.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118710</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Hi Hilary, I think I&amp;#39;m giving up on this because I&amp;#39;ve
thought of a couple of problems with this button approach.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;Firstly (and for the first instance of the Repeating
Section) you can successfully filter the repeating secondary data source OK once
you click the button - great - however what then becomes clear is that when you
choose an alternative drop-down options which might use a different
OverallLevel number, of course it has the results from that same Keywords List data
source but only has the value of the filtered elements to choose from, and of
course it fails turning the OverallLevel field blank.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;I overcame that by adding two extra rules
onto the OverallNumber field to reset the filter of Query to blank and re-ran
the Keywords before the calculation.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp;
&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;That fixed it nicely and when I created a second repeating section both
Number and Level fields ran independently and OK.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;Success.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;&lt;font face="Arial" size="2"&gt;B&lt;/font&gt;ut.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;Reverting to
look at the &amp;#39;Button&amp;#39; at this point, if both OverallLevel numbers in their
respective sections were different, and the button was pressed, it failed so I
took your advice and removed the repeating secondary data source entirely, and
re-added the entire set of fields as a repeating section, just to see what was
happening.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;I did include a filter on the
section such that if &amp;#39;Field&amp;#39; is NOT = &amp;#39;Matrix&amp;#39; then hide and this limited the elements
to just those Keyword options.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;&lt;font size="3"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;However I&amp;#39;ve identified a black hole I think here which
is that if the value of the fields in total is set correctly by the button,
then unfortunately it doesn’t only affect the &amp;#39;Icon&amp;#39; field in the repeating
section in which that button resides, it refreshes the values of the Icon
fields for the whole form, and therefore the &amp;#39;Icon&amp;#39; field in every other
sections also get altered.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;&lt;font size="3"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri" size="3"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Either way, I&amp;#39;ve decided enough is enough at this
point.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;Aaarrrgghhh.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;I&amp;#39;ve now stopped bashing my head against the
wall and it is great!!!!!&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;&lt;font size="3"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri" size="3"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri" size="3"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;I might revert to a much simpler method I used before which
was to hold the secondary data Keyword images in a number of separate sections
(numbered 1 through 10) and have specific &amp;#39;hide whens&amp;#39; on each section to reflect the thresholds
directly.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;This worked but was a clunky
design but so be it.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Thanks very much for all your help.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;
&lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;Alan C.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 0pt;"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;p&gt;&lt;font face="Calibri"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118704.aspx</link><pubDate>Thu, 05 Apr 2018 21:37:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118704</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118704.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118704</wfw:commentRss><description>So - query fields are only equivalence in the list data connection. You could add a show hide button that would set Field (in the list query fields) to Matrix and your new simple string field to the OverallLevel (be sure this control is inside the repeating group) and then run the query. This will return just the items that match on those two fields. I added a button on your form with some rules - save the attached file locally, right click and select design to open in design mode. I&amp;#39;m setting the query Query field to the OverallLevel - you&amp;#39;ll change that to whatever field has the exact match. Note that I set the query fields then execute the query - that returns matches. If it doesn&amp;#39;t, put the whole secondary data source on your form and add a button to query it so you can experiment with the correct values for the query fields.</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118701.aspx</link><pubDate>Thu, 05 Apr 2018 17:40:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118701</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118701.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118701</wfw:commentRss><description>&lt;p&gt;Hi, I&amp;#39;m using two elements to filter the &amp;#39;Keywords&amp;#39; secondary data source.&amp;nbsp; The first is if a field named &amp;#39;Field&amp;#39; has an entry called &amp;#39;Matrix&amp;#39;, the second is if the value in the OverallLevel contains the value in the Text03 field which as you correctly say is a multi-line XHTML field.&amp;nbsp; That field (Text03 ) is only used in a couple of places, and not for anything fancy so I could convert it to a straight text field and then use an &amp;#39;equals&amp;#39; instead of &amp;#39;contains&amp;#39;.&amp;nbsp; Is that likely to work?&amp;nbsp; If it is I shall be very happy but very cross at the same time!!!&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;Regards Alan C.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118700.aspx</link><pubDate>Thu, 05 Apr 2018 17:21:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118700</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118700.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118700</wfw:commentRss><description>In your list with images, what is the field that relates back to the user&amp;#39;s selections? Right now you are trying to compare on a multiline text field with contains. Could there instead be a regular text field in the list that exactly matched something selected in the repeating section so that we could use query fields to get back just the rows that match?</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118699.aspx</link><pubDate>Thu, 05 Apr 2018 17:14:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118699</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118699.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118699</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Hi Hilary, and sorry for not explaining about the
show/hide side of things.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;Basically the
current form I attached doesn’t have any of that in it as I tested things and
it just wouldn’t work so I pulled that out of the template. &lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;To a certain extent I&amp;#39;m floundering at the
edge of my capabilities with repeating fields (beyond!) and attempting anything
which will only display the Icon Image relevant to the selected OverallNumber
value.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;To try and answer your last question -&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;&amp;quot;Is there a specific value in the parent
repeating section that could be used for an equivalence query to get back just
the images for this specific section&amp;quot;&lt;/font&gt;&lt;font size="3"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;
&lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;-&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp;
&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;when a user chooses the relevant options from the drop-downs and the
values get set in the &amp;#39;OverallNumber&amp;#39; and &amp;#39;OverallLevel&amp;#39; fields, both are
unique within that repeating section.&lt;/font&gt;&lt;font size="3"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;The next repeating section could have
different choices, and therefore different values in the Number and Level
fields. &lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;So for each instance of a
repeating section (which in my form is grouped under Group2) the unique value
would be held in that section&amp;#39;s &amp;#39;OverallLevel&amp;#39; field.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;I&amp;#39;m not trying to be thick, but does that
answer your question?&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;R&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;egards,&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;Alan C.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118695.aspx</link><pubDate>Thu, 05 Apr 2018 14:56:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118695</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118695.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118695</wfw:commentRss><description>Thank you for the additional explanation - I understand the issue and I also understand why conditional formatting doesn&amp;#39;t work here (it is because you have a repeating section bound to different data source inside another repeating section - so &amp;quot;current()&amp;quot; won&amp;#39;t work for us to get the parent repeating section values). What I am still asking about was an earlier statement you made that you were trying to use query fields to get back just the data for a specific section, using show / hide for the query. I don&amp;#39;t see anything like that in this latest sample template. Is there a specific value in the parent repeating section that could be used for an equivalence query to get back just the images for this specific section?</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118694.aspx</link><pubDate>Thu, 05 Apr 2018 09:02:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118694</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118694.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118694</wfw:commentRss><description>&lt;p&gt;To the end user, the image displayed in the Icon field should be that which 
is associated with the number in the OverallLevel field.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div&gt;As it is not possible to copy &amp;amp; paste images etc using rules, the only 
way to display just the correct Icon image is by using a filter on the 
&amp;#39;Keywords&amp;#39; secondary data source.&amp;nbsp; If you look at the&amp;nbsp;Rules associated with 
the&amp;nbsp;Icon section on the design form, you can see it does two &amp;#39;checks…&amp;#39;, the 
second check&amp;nbsp;filters out everything except where the value of the OverallLevel 
field is the same as&amp;nbsp;the value held in a field called Text03 in the secondary 
data source.&amp;nbsp; It is that rule which I believe doesn’t correctly reflect things.&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;The problem comes because if you look at the main data source, you will see 
that most fields (including OverallNumber) are in a repeating section (called 
group2) which is needed to repeat the multi-levelled approach&amp;nbsp;required for&amp;nbsp;this 
aspect of the form.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;All is OK when there is only the original repeating section,&amp;nbsp;but when a 
user creates a second / third repeating section, the form&amp;nbsp;only ever&amp;nbsp;displays the 
image in the Icon field&amp;nbsp;related to the number in the&amp;nbsp;original&amp;nbsp;OverallLevel 
section.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;In comparison, the Guidance field is a field which pulls back text&amp;nbsp;using 
Rules from the same &amp;#39;Keywords&amp;#39; secondary data source - see the second Rule 
linked to the OverallNumber field.&amp;nbsp; Here there is no problem with&amp;nbsp;the repeating 
section as the values of each Guidance field sets correctly from the value 
in the OverallNumber (and OverallLevel).&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;So I&amp;#39;m getting the Rules correct for Guidance, but wrong when filtering the 
Icon field.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Thanks very much for staying with me over this.&amp;nbsp; Alan C.&lt;/div&gt;</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118692.aspx</link><pubDate>Wed, 04 Apr 2018 21:06:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118692</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118692.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118692</wfw:commentRss><description>So - in your prior post you talked about just querying for the data you need to show via query fields and show / hide buttons. I don&amp;#39;t see that in this sample. What field in the main data source has a value we could use to query back just the data you need from the secondary data source for a given main data source section?</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118680.aspx</link><pubDate>Tue, 03 Apr 2018 09:51:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118680</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118680.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118680</wfw:commentRss><description>&lt;p&gt;Hi Hilary, thanks for following up and apologies for the delay in responding.&amp;nbsp; I&amp;#39;ve attached a new form I created with the same problem as the original form is very complicated, has loads of different Views etc and is a bit messy so I&amp;#39;ve recreated the problem in this one.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I&amp;#39;ve explained the problem as I see it on the top part of the design form.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thanks in advance.&amp;nbsp; Alan C.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118633.aspx</link><pubDate>Wed, 28 Mar 2018 16:22:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118633</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118633</wfw:commentRss><description>Actually, show / hide is how we usually handle something like this, where we have a repeating section bound to a different data source inside the main ds. Attach your form with this attempt under the options tab &amp;amp; I&amp;#39;ll take a look.</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118625.aspx</link><pubDate>Wed, 28 Mar 2018 08:17:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118625</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118625</wfw:commentRss><description>&lt;p&gt;Hi and thanks for trying things.&amp;nbsp; Basically my images will display in preview and when published.&amp;nbsp; The problem as I understand it is that InfoPath can&amp;#39;t use the Rules logic to pull back just a specific image (basically copy it out of one field and into another), so filtering is the only option left.&amp;nbsp; However when filtering you need to have both the object and the filter mechanism&amp;nbsp;already in the secondary data source and of course in this situation we don&amp;#39;t.&lt;/p&gt;&lt;p&gt;If picture buttons can&amp;#39;t be set using a derived value&amp;nbsp;from a field, then that blows that idea.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I did&amp;nbsp;attempt&amp;nbsp;something though with unfortunately again no success but I&amp;#39;d like your thoughts on that.&amp;nbsp; Basically I used a button and tried to seed the secondary data source with a value, then doing the query data connection (which is parameterized) and stopping at that.&amp;nbsp;&amp;nbsp;My thinking was&amp;nbsp;because I&amp;#39;ve&amp;nbsp;done&amp;nbsp;the query&amp;nbsp;with the secondary data source that should rebuild the items being displayed in the section. &amp;nbsp; As this is a very busy form I already have the fields, images and other stuffed in a series of hide-when sections which I show &amp;amp; hide using clickable tabs (buttons) which only display when pressed (and set a hidden &amp;#39;DisplayTab&amp;#39; field) so I shoved the&amp;nbsp;setting and query&amp;nbsp;data connection into that.&amp;nbsp; Clicking the button (setting the show section option) worked OK, and I proved I&amp;#39;d set the parameter, but it didn&amp;#39;t work - but it might just have been my bits were&amp;nbsp;not correctly set.&amp;nbsp; Any thoughts on using that as a method?&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m probably going to give up on this pretty soon as it is taking far too much time - yours and mine - but I&amp;#39;ll plod on a bit today with it just in the hope.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thanks again and regards,&amp;nbsp; Alan C.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118624.aspx</link><pubDate>Tue, 27 Mar 2018 21:38:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118624</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118624.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118624</wfw:commentRss><description>You can&amp;#39;t use a field for the picture on a button. I tried setting up a repro with a list on my Office 365 site, but the picture isn&amp;#39;t displayed at all in my form in preview in the secondary data connection. Does yours display in preview, or do you have to publish and view in the browser?</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118614.aspx</link><pubDate>Mon, 26 Mar 2018 16:07:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118614</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118614.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118614</wfw:commentRss><description>&lt;p&gt;Hi Hilary, thanks for the response.&amp;nbsp; I did go a bit mad at first when I was trying to&amp;nbsp;work out what was and wasn&amp;#39;t possible&amp;nbsp;regarding the copying of rich text via rules.&amp;nbsp; A text element in an RTF seems to come across OK, but looses all the formatting, but if there is an&amp;nbsp;image involved then simply nothing happens.&amp;nbsp; Of course that is the worst because you think you&amp;#39;ve got something wrong in your code which might not be the case - whereas it would never copy anyway!&lt;/p&gt;&lt;p&gt;As to the filtering of the secondary data source, I&amp;nbsp;used &amp;#39;contains&amp;#39; but&amp;nbsp;I could use &amp;#39;is equal to&amp;#39; instead if you think that might make a difference.&amp;nbsp; In terms of the version, this is currently 2010 but it could be switched to 2013 again if that might make a difference.&amp;nbsp; The initial end user of this system will be a customer on Office 365 so if there is a way of making it work in 2013 I&amp;#39;ll adopt that.&lt;/p&gt;&lt;p&gt;Something I was wondering about was if I could use a picture button to display the image?&amp;nbsp; The button side of things would do nothing of course but if I could get the picture to be option dependent I was wondering if that might work.&amp;nbsp; I&amp;#39;ve not played with those at all so any experience you can offer around that as a possible method would be appreciated - as always!&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thanks again.&amp;nbsp; Alan C.&lt;/p&gt;</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118611.aspx</link><pubDate>Mon, 26 Mar 2018 14:58:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118611</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118611.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118611</wfw:commentRss><description>Yeah, copying rich text via rules isn&amp;#39;t supported OOB. And the issue with the filter on your repeating section is that it will always reference the first instance of the repeating main data source group. I&amp;#39;m not sure if there is a way around that - we often use show / hide in these cases and just query for the data we need, but doesn&amp;#39;t sound like it would work here, since you are using &amp;quot;contains&amp;quot;. What version of SharePoint is this? I&amp;#39;ll try to set up a little repro today or tomorrow &amp;amp; see if I can find a work around.</description></item><item><title>Re: Filtering Secondary data source based on Field value in a Repeating Section - with a twist in the tail!</title><link>https://www.infopathdev.com:443/forums/thread/118607.aspx</link><pubDate>Fri, 23 Mar 2018 16:05:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118607</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=118607</wfw:commentRss><description>&lt;p&gt;HI Hilary, and thanks very much for coming back to me,  I am still having a problem, but have realised I&amp;#39;ve over-complicated aspects of the question, have actually got half of the thing working, and really am now stuck on just one aspect. &lt;/p&gt;&lt;p&gt; 

It boils down to can you use a &amp;#39;Set a field&amp;#39;s value&amp;#39; Action in a Rule to take the value of an image (held in my situation in a RTF of a Keyword document in a List which I access through the Secondary data source), and get that displayed in a Rich Text field on my document?  I think the answer is &amp;#39;No&amp;#39; using the OOB rules in InfoPath.  I&amp;#39;ve got text values (and numbers) being pulled back from the secondary source data connection OK, and those are fine for each of the repeating sections.  But images just don&amp;#39;t want to play by the same method.
&lt;/p&gt;&lt;p&gt;
Is this correct?

Thanks a lot, Alan C.&lt;/p&gt;&lt;p&gt;(If&amp;nbsp;pulling an image into a field is possible using rules I&amp;#39;ll do that please!.)&amp;nbsp;&lt;/p&gt;&lt;p&gt;EDITED&amp;nbsp;-&amp;nbsp;below&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Please find attached a&amp;nbsp;reworked version of the form which I&amp;#39;ve prepared to show the problem as it presents.&amp;nbsp; Your help is appreciated.&amp;nbsp; Alan C.&lt;/p&gt;</description></item></channel></rss>