<?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: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68837.aspx</link><pubDate>Fri, 29 Jul 2011 20:03:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68837</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68837.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68837</wfw:commentRss><description>&lt;p&gt;I ended up not using the SQL based solution, and instead did the following to number my contracts sequentiually:&lt;/p&gt;
&lt;p&gt;-Created a new list called NumberedList&lt;/p&gt;
&lt;p&gt;- Upon submit, the form does the following via a rule:&lt;/p&gt;
&lt;p&gt;1)Query NumberList &lt;/p&gt;
&lt;p&gt;2)Set the Contract Number&amp;nbsp;to Max(ID)+1 (max id in the numberlist)&lt;/p&gt;
&lt;p&gt;3)Create a new item in Numberlist using CAML (followed this tutorial: &lt;a href="http://blogs.msdn.com/b/infopath/archive/2007/03/26/submitting-to-a-sharepoint-list.aspx"&gt;http://blogs.msdn.com/b/infopath/archive/2007/03/26/submitting-to-a-sharepoint-list.aspx&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;4)Submit the form to the library&lt;/p&gt;
&lt;p&gt;This solution will work good enough for me as the only chance for overlapping numbers is if items are submitted at the same time (highly unlikley given we only do a few contracts a week)&lt;/p&gt;
&lt;p&gt;Thanks very much hilary for all your help with this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68821.aspx</link><pubDate>Thu, 28 Jul 2011 20:06:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68821</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68821</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using 2008...It appeared to be a firewall issue. Now I am getting a login failed for user error...lol, I can&amp;#39;t win! Edit: I think I understand. I&amp;#39;m using Win Authentication, so it won&amp;#39;t take any other credentials but what I&amp;#39;m logged in as. &lt;/p&gt;
&lt;p&gt;I thought I would be able to use any Active directory login, but it doesn&amp;#39;t like it. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is going to present an issue where&amp;nbsp;everyone who is using the form needing to have access to the db. But I think I can work through that. &lt;/p&gt;
&lt;p&gt;One last question-If I wanted to run the code in the tutorial you linked (thank you by the way)&amp;nbsp;from a rule, (instead of&amp;nbsp;on save as you have in that)&amp;nbsp;how do I do this? &lt;/p&gt;
&lt;p&gt;Or, Using submit code? The code you provided doesen&amp;#39;t appear to work....I get all kinds of problems when I try to paste it into where it says &amp;quot;put your submit code here&amp;quot;. &lt;/p&gt;
&lt;p&gt;What am I doing wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68820.aspx</link><pubDate>Thu, 28 Jul 2011 19:57:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68820</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68820</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms345415.aspx"&gt;Here&amp;#39;s&lt;/a&gt; a tutorial from MSDN - for SQL 2005, not sure what version you are using?&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68819.aspx</link><pubDate>Thu, 28 Jul 2011 19:47:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68819</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68819.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68819</wfw:commentRss><description>Awesome! Thanks Hilary!

I am just having an issue with one part. When I try to connect to the sql database (to create the data connection) I get a server does not exist or access denied error. Strange, because I&amp;#39;m using the correct credentials. I&amp;#39;ll keep fooling with it.</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68814.aspx</link><pubDate>Thu, 28 Jul 2011 17:21:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68814</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68814.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68814</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2008/11/21/fun-with-sequential-form-ids-sql-and-sprocs.aspx"&gt;Here&amp;#39;s&lt;/a&gt; one approach for sequential numbering.&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68812.aspx</link><pubDate>Thu, 28 Jul 2011 17:17:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68812</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68812.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68812</wfw:commentRss><description>&lt;p&gt;No change with a new view =(&lt;/p&gt;
&lt;p&gt;I actually have another issue i&amp;#39;m trying to overcome, and I seem to remember seeing your name on one of the forum posts regarding this- I&amp;#39;m trying to get sequential numbering for my forms. I understand the most reliable way to do with is to use an SQL database to store and retrieve the numbers....do you have any thoughts/suggestions on this? Or any articles you know of they explains how to do this?&lt;/p&gt;
&lt;p&gt;If I&amp;#39;m mistaken, and it wasn&amp;#39;t you, then please disregard =)&lt;/p&gt;
&lt;p&gt;Thanks again for all your help. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68811.aspx</link><pubDate>Thu, 28 Jul 2011 16:35:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68811</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68811</wfw:commentRss><description>&lt;p&gt;Try a clean view in the form. Add a new view, just copy in your section w/ the categories and other drop down... just on the off chance it is something else in the view causing this. &lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68809.aspx</link><pubDate>Thu, 28 Jul 2011 16:26:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68809</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68809.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68809</wfw:commentRss><description>Hilary,

Repeating groups would be great, but I&amp;#39;m actually taking values from this form and generating a word doc, and I didn&amp;#39;t know how to retrieve values from specific rows in a repeating table, so I just did this.

My secondary source is not large at all, it only has maybe 50 entries. 

Converting to dropdown had no effect. 

I really, really appreciate all the thought and time you&amp;#39;ve put into trying to help me. I think I may just be stuck with the lag.

Thanks again for trying to help!</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68807.aspx</link><pubDate>Thu, 28 Jul 2011 15:42:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68807</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68807.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68807</wfw:commentRss><description>&lt;p&gt;Does the rule work on the drop down in the client? If so, you need to adjust your postback settings on the control. But you are right, this type of scenario won&amp;#39;t work in a repeating section, or a set up like I see in your form, where you have multiple drop downs bound to the same data source (by the way - next time, you may just want to use a repeating group.... you can set how many instances are included by default in the default values if you need 9).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m starting to wonder if your secondary data source is very large? Lots of rows?&lt;/p&gt;
&lt;p&gt;Otherwise, I&amp;#39;m about out of ideas, I&amp;#39;m afraid..... What happens if you change those combo boxes to drop down boxes - any change? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68805.aspx</link><pubDate>Thu, 28 Jul 2011 14:57:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68805</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68805</wfw:commentRss><description>&lt;p&gt;Hilary, I figured it out (see my edits above) For whatever reason the rule to query data isn&amp;#39;t working on the dropdown. &lt;/p&gt;
&lt;p&gt;I made a button to do the query, and that does work, however it causes the same flash/lag we were trying to avoid in the first place. &lt;/p&gt;
&lt;p&gt;I also realized that your method (while brilliant) won&amp;#39;t work for this application, because I have several lines of the same dropdowns. (my fault for not mentioning that) The reason I am not using a repeating table for these is an even more complicated story, but suffice it to say I can&amp;#39;t use a repeating table for this particular application. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It appears that the reason for the flash/lag is the query. Why that is, I don&amp;#39;t know. =( &lt;/p&gt;
&lt;p&gt;I would be happy to attach the form so you could take a look, and it would be very much appreciated!&lt;/p&gt;
&lt;p&gt;Please note that only the first set of dropdowns are using your method, the rest are using my old method. &lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68803.aspx</link><pubDate>Thu, 28 Jul 2011 14:36:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68803</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68803.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68803</wfw:commentRss><description>&lt;p&gt;Drag the data nodes from your secondary data connection on your second list onto your form so that you can see what data is returned. You won&amp;#39;t want any filtering on your dropdown with this method - in theory, you should be returning &amp;quot;pre-filtered&amp;quot; data from you list. If you would like me to take a look at your form, just attach it under the options tab to a reply.&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68799.aspx</link><pubDate>Thu, 28 Jul 2011 13:37:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68799</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68799</wfw:commentRss><description>&lt;p&gt;Hilary, I&amp;#39;ve done your suggestion, however the second&amp;nbsp;dropdown (service description)&amp;nbsp;field does not have anything in it. I&amp;#39;m not sure if I did it right, here is what i did: &lt;/p&gt;
&lt;p&gt;-Category Dropdown uses Data Connection 1 &lt;/p&gt;
&lt;p&gt;-When the Catagory dropdown changes, a rule says to set the query field for &amp;quot;category&amp;quot; in Data Connection 2 to what is currently in the category dropdown, then to query data connection 2. &lt;/p&gt;
&lt;p&gt;-The Service description dropdown is set to use data connection 2, and is set to display the Service description data field. &lt;/p&gt;
&lt;p&gt;Did I set this up right? &lt;/p&gt;
&lt;p&gt;I should point out that both the data connections point to the same list....is this going to be a problem?&lt;/p&gt;

&lt;p&gt;EDIT: Nevermind, even with two separate lists (one with just categories) the second dropdown still has nothing in it. But, it&amp;#39;s obviously filtering in some way, just not correctly =(&lt;p&gt;
&lt;p&gt;Thank you again for taking the time to help!&lt;/p&gt;

&lt;p&gt;Another edit: I figured out the issue. when I change the filed, it&amp;#39;s not querying. If I set a button to do the query, the filtering works. (though the form still flashes)&lt;p&gt;

&lt;p&gt;Any ideas why the query rule isn&amp;#39;t working? This is like pullin teeth =(&lt;p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68694.aspx</link><pubDate>Mon, 25 Jul 2011 16:56:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68694</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68694.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68694</wfw:commentRss><description>&lt;p&gt;So, you&amp;#39;d have one data connection that your category drop down uses - and another data connection is used by the drop down with the service descriptions.&lt;/p&gt;
&lt;p&gt;You&amp;#39;d set the Category field in the query fields for the new data connection to the value of Category in your main data source (this is going to be in rules on the Category field in your main data source). And then run the query. And the data fields from that second data connection should be used for the drop down options in your Service Desccription - your instinct is correct.&lt;/p&gt;</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68687.aspx</link><pubDate>Mon, 25 Jul 2011 14:21:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68687</guid><dc:creator>johnnyr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68687.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68687</wfw:commentRss><description>Hilary,

Thank you for the suggestion, but I&amp;#39;m a little unclear on how this should work. 

So I should set a rule on the Category dropdown box, so that when it changes, to set the query field for the second data connection to....what? 

And I should use the second data connection for the Service Description dropdown, but use the data fields?

Thanks for taking the time to help!</description></item><item><title>Re: Cascading Dropdowns using Filtered Data from sharepoint - causes form to flash/lag?</title><link>https://www.infopathdev.com:443/forums/thread/68647.aspx</link><pubDate>Sat, 23 Jul 2011 13:04:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68647</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68647</wfw:commentRss><description>&lt;p&gt;SharePoint 2010, right? There are query fields in list connections now.... so you may want to try a second connection to the list to return the Service Description data. Don&amp;#39;t run it on load. When Category changes, set the query field in your list connection to the Service Description to that value, then query the data source. Oh, and set the Service Description drop down to use the new data source.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve not actually tried this before - but I remember using a list connection to ShP 2010 and being surprised by the presence of query fields - can&amp;#39;t imagine why they&amp;#39;d be there if not for dynamic queries.... Another option for dynamic ShP 2010 queries is a REST connection to the OData ListData.svc, but I&amp;#39;d try the list data connection first, since you have a straightforward &amp;quot;=&amp;quot; scenario.&lt;/p&gt;</description></item></channel></rss>