<?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: Data validation on secondary data sources</title><link>https://www.infopathdev.com:443/forums/thread/26860.aspx</link><pubDate>Thu, 28 Feb 2008 22:11:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26860</guid><dc:creator>blackhawk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26860</wfw:commentRss><description>&lt;p&gt;Well, the way around it is to enable the &amp;quot;Data Validation&amp;quot; button!&lt;/p&gt;
&lt;p&gt;It seems as though secondary data sources are being used in ways that the developers did not originally expect, but I don&amp;#39;t see why it would be such a big issue to make that available.&amp;nbsp;&amp;nbsp; It sure would save me lots of time.&lt;/p&gt;
&lt;p&gt;Anyway, I appreciate your response.&amp;nbsp;&amp;nbsp; I was hopeful that there was a better way that someone figured out.&lt;/p&gt;
&lt;p&gt;P.S.&amp;nbsp; Doing a bulk move is not an option.&amp;nbsp; There are to many &amp;quot;gotchas&amp;quot; with that method.&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Data validation on secondary data sources</title><link>https://www.infopathdev.com:443/forums/thread/26858.aspx</link><pubDate>Thu, 28 Feb 2008 21:53:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26858</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26858.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26858</wfw:commentRss><description>&lt;p&gt;Yep that makes sense.&lt;/p&gt;
&lt;p&gt;Unfortunately&amp;nbsp;I do not believe their is anyway around it.&lt;/p&gt;
&lt;p&gt;Do you have both query fields and data fields generated in the data source?&lt;/p&gt;
&lt;p&gt;Probably you would want to look at using code to do a bulk move of the data. I believe Greg has some blogs on this.&lt;/p&gt;</description></item><item><title>Re: Data validation on secondary data sources</title><link>https://www.infopathdev.com:443/forums/thread/26857.aspx</link><pubDate>Thu, 28 Feb 2008 21:29:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26857</guid><dc:creator>blackhawk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26857</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s the deal:&lt;/p&gt;
&lt;p&gt;The secondary data sources are tied to an XML web service.&amp;nbsp; The XML web service also accepts the structure back to write back the data to the database, so it is a two-way secondary data source, if you will.&lt;/p&gt;
&lt;p&gt;I know I can tie one xml query to the main data source, but I have multiple, so therein lies the problem.&amp;nbsp; I need to have secondary data source information displayed on the form and then the user can make changes.&amp;nbsp;&amp;nbsp; I would rather not have to duplicate all the fields that are being used in the from (literally, several hundred) just to transfer information to and from these data sources.&lt;/p&gt;
&lt;p&gt;Does this make sense?&lt;/p&gt;</description></item><item><title>Re: Data validation on secondary data sources</title><link>https://www.infopathdev.com:443/forums/thread/26856.aspx</link><pubDate>Thu, 28 Feb 2008 20:31:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26856</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26856.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26856</wfw:commentRss><description>&lt;p&gt;Secondary data sources are temporary. They are loaded in to view or to be used in the main schema but the data is not saved with the form.&amp;nbsp; That is why there is no validation, because they are typically read only.&lt;/p&gt;
&lt;p&gt;So you would need to pull the data into your main schema and then manipulate it and submit it back if you are trying to create a form which manages these data sources.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What are you trying to do? Give me the scenario.&lt;/p&gt;
&lt;p&gt;Then&amp;nbsp;I can maybe help you with&amp;nbsp;possible solutions.&lt;/p&gt;</description></item><item><title>Data validation on secondary data sources</title><link>https://www.infopathdev.com:443/forums/thread/26854.aspx</link><pubDate>Thu, 28 Feb 2008 18:40:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26854</guid><dc:creator>blackhawk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26854.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26854</wfw:commentRss><description>&lt;p&gt;Apparently,&amp;nbsp;a secondary data source field cannot have data validation put on it, though, I am not sure why it is&amp;nbsp;disabled.&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Aside from creating main data source fields and then copying it back using code or rules to the secondary data source, is there a better way?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I literally have hundreds of fields that would have to operate this way, and it would be a major pain to be forced into this method.&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;What is the rationale behind only primary data fields needing validation?&amp;nbsp; Just because it is a secondary datasource, it doesn&amp;#39;t mean that it will not be used for data entry, in fact, the majority of my data entry fields are in secondary data fields.&lt;/p&gt;
&lt;p&gt;Perhaps someone&amp;nbsp;from the Microsoft InfoPath team is reading this?&amp;nbsp;&amp;nbsp; Hint hint.&amp;nbsp;&amp;nbsp; ;-)&lt;/p&gt;</description></item></channel></rss>