<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Looking for tips on mapping InfoPath control data to SQL Server fields</title><link>https://www.infopathdev.com:443/forums/thread/100007.aspx</link><pubDate>Tue, 11 Nov 2014 12:17:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100007</guid><dc:creator>Larry W. Virden</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100007</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;A co-worker is writing an InfoPath application. Within it, of course, there are a variety of controls. &lt;/p&gt;&lt;p&gt;The ones that I am wondering about&amp;nbsp;are the text entry controls.&lt;/p&gt;&lt;p&gt;Traditionally, SQL Server table columns are char or varchar type files. However, most InfoPath text controls allow the user to enter unlimited number of text. This results in applications where a user may paste in text that exceeds what is defined in the database, causing a SQL Server error when the insertion occurs.&lt;/p&gt;&lt;p&gt;In most of this application&amp;#39;s cases, there isn&amp;#39;t an intended limitation on the number of characters&amp;nbsp;for the information being gathered.&lt;/p&gt;&lt;p&gt;Some of the controls are single line text, and it is okay&amp;nbsp;to store&amp;nbsp;plain&amp;nbsp;ASCII upper and lower case type text. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Some of the controls, however, are multi line text that the requirements want Rich Text collected.&lt;/p&gt;&lt;p&gt;The developer has indicated that this&amp;nbsp;causes him to have to establish rules that copy the text from the control into an XML node, rather than simply associating the XML node to the control like other&amp;nbsp;situations.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This seems quite complicated to me.&amp;nbsp; I am wondering if&amp;nbsp;there are some tutorials on these topics that could be used to&amp;nbsp;gain a better understanding&amp;nbsp;of what is required to make these applications work better.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>