<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50622.aspx</link><pubDate>Thu, 14 Jan 2010 23:55:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50622</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50622.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50622</wfw:commentRss><description>&lt;p&gt;So this kind of takes us back to my first thought -- modify your data source to contain an additional field you can use for your &amp;#39;selected&amp;#39; checkbox. Did you create the web service?&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50561.aspx</link><pubDate>Wed, 13 Jan 2010 12:47:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50561</guid><dc:creator>David Fingerhut</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50561.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50561</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Yes, the final web service returns a new dataset based on selected employees.&amp;nbsp; Currently that web service looks like this:&lt;/p&gt;
&lt;p&gt;public DataSet GetPersonTableFromPersonStringTable(personstring[] myRepTable).&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The original data does come in as a dataset.&amp;nbsp; From that I pull out the personstrings above and use them in the multi-select box as you said above. What I&amp;#39;d prefer to do is present the user with several columns of the dataset as a &amp;quot;multi-select table&amp;quot; and let them choose from that.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50538.aspx</link><pubDate>Wed, 13 Jan 2010 01:59:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50538</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50538</wfw:commentRss><description>&lt;p&gt;Hi, Dave:&lt;/p&gt;
&lt;p&gt;What does the final web service do? Return a new data set based on the selected employees? What does it take for parameters? Do you have to query it for each employee name (if it is, indeed, returning data)?&lt;/p&gt;
&lt;p&gt;If you are returning a list from a web service, you could use it as a data source for a multi select list box (bound to a repeating main data source node)... but a lot depends on the parameters for your final web service.&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50479.aspx</link><pubDate>Sun, 10 Jan 2010 23:06:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50479</guid><dc:creator>David Fingerhut</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50479</wfw:commentRss><description>&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;Hilary,&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;The problem could be that I came up with a solution which is a bad solution and that&amp;#39;s why I&amp;#39;m having so much difficulty.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;So here’s what I’m really doing:&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;I have a sql database of employees.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I have a web service that returns some of them as a dataset. I want to display these to the user, let the user select some of them, and return that new subset to another web service.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The web services are all secondary data connections.&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;So, without getting into how I am attempting to do this, how should it be done?&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;Dave&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50470.aspx</link><pubDate>Fri, 08 Jan 2010 23:53:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50470</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50470.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50470</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m officially confused.&lt;/p&gt;
&lt;p&gt;I had thought you were saying:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Data from SQL is brought into the form via a secondary data connection and displayed in my form&lt;br /&gt;I want users to select rows from this secondary data connection and do something with them&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It sounds like what you mean is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There is a repeating node in my main data source for my form&lt;br /&gt;I want users to select rows from this main data source and do something with them&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If the data you want users to be able to select is in your main data source, simply add another field with a data type of boolean in the same group as the rest of the data. Add the field to your repeating table as a checkbox. Your qRules command can then be filtered to use only the selected rows.&lt;/p&gt;
&lt;p&gt;Is the query field in your web service connection repeating?&lt;/p&gt;
&lt;p&gt;And, I&amp;#39;m sorry, but are you really wanting to select rows in a repeating table, or to use a multi select list box? I&amp;#39;m confused by that, too. :)&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50467.aspx</link><pubDate>Fri, 08 Jan 2010 21:37:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50467</guid><dc:creator>David Fingerhut</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50467.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50467</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, except I&amp;#39;m copying them to the queryfields of a secondary data source.&amp;nbsp; So, it&amp;#39;s not a sql connection, it&amp;#39;s a web service connection.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;So, I put up a list of items in a multi-select listbox, let the user choose some, then send the selected items in a repeating table to the web service.&amp;nbsp; I have to use qrules copytable to move them from my main datasource to the secondary one.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50451.aspx</link><pubDate>Fri, 08 Jan 2010 17:25:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50451</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50451</wfw:commentRss><description>&lt;p&gt;And, so you know, I&amp;#39;m not trying to nitpick on the details, but I am curious as to what you intend to do with the rows once they have been &amp;#39;selected&amp;#39;? That may have something to do with the best approach. You have been trying qRules, I know that from the other thread we&amp;#39;ve been chatting in -- are you going to copy your &amp;#39;selected&amp;#39; rows into your main data source? &lt;/p&gt;
&lt;p&gt;I&amp;#39;d modify my SQL connection to include a dummy field for &amp;#39;SelectedRow&amp;#39; as mentioned above. If you walk through the data connection wizard again, you&amp;#39;ll see on the screen that shows your SQL tree a button that says something about SQL (I don&amp;#39;t remember the exact wording) and if you click it you can see the SQL InfoPath is using to return the data. Add another field as I mentioned above, and you should be good to go. &lt;/p&gt;
&lt;p&gt;Then, for your source for your copy table command, you can select just the rows where SelectedRow = true.&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50423.aspx</link><pubDate>Fri, 08 Jan 2010 03:20:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50423</guid><dc:creator>David Fingerhut</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50423.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50423</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I guess what I&amp;#39;m looking for is a multiselect table as opposed to a multiselect listbox.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;It&amp;#39;s a SQL connection.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50412.aspx</link><pubDate>Thu, 07 Jan 2010 23:13:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50412</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50412.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50412</wfw:commentRss><description>&lt;p&gt;Is this a SQL connection? Access? XML? What do you want to have happen after the record is selected?&lt;/p&gt;
&lt;p&gt;Sometimes in SQL, I add a dummy field to a view that I then bind a checkbox to: CAST(0 AS BIT) AS SelectedRow for my new field, for example. If your data source is an XML file, simply modify the XML file to include an element for selection.&lt;/p&gt;</description></item><item><title>How to present a table to user to make a selection</title><link>https://www.infopathdev.com:443/forums/thread/50285.aspx</link><pubDate>Mon, 04 Jan 2010 13:03:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50285</guid><dc:creator>David Fingerhut</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=50285</wfw:commentRss><description>&lt;p&gt;I have a secondary data connection which returns a DataSet of employee information.&lt;/p&gt;
&lt;p&gt;I want to display the records in a table and allow the user to choose 1 (or more) records from the table.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there a way to do this?&amp;nbsp; What control(s) would I use?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>