<?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: Sort repeating section</title><link>https://www.infopathdev.com:443/forums/thread/10214.aspx</link><pubDate>Wed, 09 Aug 2006 17:32:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10214</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10214.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10214</wfw:commentRss><description>Glad to have helped!</description></item><item><title>Re: Sort repeating section</title><link>https://www.infopathdev.com:443/forums/thread/10213.aspx</link><pubDate>Tue, 08 Aug 2006 00:11:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10213</guid><dc:creator>Carlos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10213.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10213</wfw:commentRss><description>I have done the sort in SQL which solved the problem.  Many thanks.&lt;br /&gt;&lt;br /&gt;Carlos</description></item><item><title>Re: Sort repeating section</title><link>https://www.infopathdev.com:443/forums/thread/10212.aspx</link><pubDate>Mon, 07 Aug 2006 17:20:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10212</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10212</wfw:commentRss><description>Go to your data connection wizard, and there's a place where you can Edit SQL... this will allow you to place an ORDER BY statement in the SQL code so that your rows are ordered by the database before you ever get them in the form.</description></item><item><title>Re: Sort repeating section</title><link>https://www.infopathdev.com:443/forums/thread/10211.aspx</link><pubDate>Mon, 07 Aug 2006 11:48:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10211</guid><dc:creator>Stavi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10211</wfw:commentRss><description>If you setup a button to save new entries and query main connection in one go then the records would be re-sorted as per your data connection</description></item><item><title>Sort repeating section</title><link>https://www.infopathdev.com:443/forums/thread/5761.aspx</link><pubDate>Sun, 06 Aug 2006 02:57:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5761</guid><dc:creator>Carlos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5761</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I have a form (based on SQL 2000) which has fields from a table and also another repeating section within that repeating section.  Below is what SQL is looks like:&lt;br /&gt;&lt;br /&gt;Project - Project_ID, Person_ID, etc&lt;br /&gt;     Person table - Person_ID, Project_ID, name, role_id, RL_ID,&lt;br /&gt;                    other fields&lt;br /&gt;          Related_Project table - RP_ID, Project_ID, Project_Name&lt;br /&gt;&lt;br /&gt;Now I need to sort the Person table (on page load is fine) on the role-id field.  This field contain a number as the key field. So, when creating multiple persons, each will have a role, some of the records have same role. What I want to do is resort so that they are grouped together, rather than having different roled mixed up as they are entered on the day, as its very hard to find a role this way.&lt;br /&gt;&lt;br /&gt;So, my forms are VBSCRIPT, and just needing some direction as to what code would be required to do this, if it can be done at all.&lt;br /&gt;&lt;br /&gt;Many thanks,&lt;br /&gt;</description></item></channel></rss>