<?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: Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/24501.aspx</link><pubDate>Fri, 16 Nov 2007 12:16:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24501</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24501</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think this is becuase it sorts by the first record in the field list so put the username before the userID and that shoudl work fine if my understanding is correct.&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;</description></item><item><title>Drop Down List</title><link>https://www.infopathdev.com:443/forums/thread/24251.aspx</link><pubDate>Thu, 08 Nov 2007 16:57:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24251</guid><dc:creator>JeffTangen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24251.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24251</wfw:commentRss><description>&lt;p&gt;I have a form that I use to collet billing information.&amp;nbsp; I have 3 drop down lists in the form that is filled using a secondary data source.&amp;nbsp; I created the data connection with the following information:&lt;/p&gt;
&lt;p&gt;1. &lt;a href="https://myserver/qdabrawebservice/databaseenumerationservice.asmx?WSDL"&gt;https://MyServer/qdabrawebservice/databaseenumerationservice.asmx?WSDL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. GetColumnsForRows&lt;/p&gt;
&lt;p&gt;3. (ns1:database&amp;nbsp;= PIMS) and ( ns1:table = Infov_Therapist)&lt;/p&gt;
&lt;p&gt;TheInfov_Therapist is a list of Therapist along with their UserID (Primary Key). The view&amp;nbsp;sorts correctly when the columns are in the following order:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOP (2147483647) UserName, UserName + &amp;#39; ( &amp;#39; + Title + &amp;#39;)&amp;#39; AS TherapistUserName, UserID, EmailAddress, Title, First + &amp;#39; &amp;#39; + Last AS FullName&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbo.Users&lt;br /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Title LIKE &amp;#39;%PT%&amp;#39;) OR&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Title LIKE &amp;#39;%OT%&amp;#39;) OR&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Title LIKE &amp;#39;%MT%&amp;#39;)&lt;br /&gt;ORDER BY UserName&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxlerrors/images/24250/500x375.aspx" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The view&amp;nbsp;sorts&amp;nbsp;Incorrectly when the columns are in the following order:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOP (2147483647) UserID, UserName, UserName + &amp;#39; ( &amp;#39; + Title + &amp;#39;)&amp;#39; AS TherapistUserName, EmailAddress, Title, First + &amp;#39; &amp;#39; + Last AS FullName&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbo.Users&lt;br /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Title LIKE &amp;#39;%PT%&amp;#39;) OR&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Title LIKE &amp;#39;%OT%&amp;#39;) OR&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Title LIKE &amp;#39;%MT%&amp;#39;)&lt;br /&gt;ORDER BY UserName&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxlerrors/images/24249/500x375.aspx" alt="" /&gt;&lt;a href="http://www.infopathdev.com/photos/dbxlerrors/images/24249/500x375.aspx"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>