<?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>Qdabra Database Accelerator</title><link>https://www.infopathdev.com:443/forums/61.aspx</link><description>Qdabra Database Accelerator (DBXL) simplifies connecting InfoPath to SQL Server and SharePoint for codeless storage, permissions, workflow, and reporting on InfoPath forms. This forum also supports users of Qdabra's WSSP.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Form field values being written by DBXL to SQL database instead of display name</title><link>https://www.infopathdev.com:443/forums/thread/84552.aspx</link><pubDate>Mon, 19 Nov 2012 21:23:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84552</guid><dc:creator>DC Forms</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84552.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=84552</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;&lt;p&gt;I think you &lt;span style="font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;oversimplified &lt;/span&gt;your solution. If I create a new field and set its default value to that of the original &amp;quot;master&amp;quot; field then the new field is set to the ID value, not the display name of the lookup.&lt;/p&gt;&lt;p&gt;For anyone else reading this thread, I can use a second field&amp;#39;s default &lt;span style="font-size:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;value &lt;/span&gt;as described above if I set the default value to the display name field from the secondary data source that is my lookup list&amp;nbsp;and filter that field by the ID selected in the &amp;quot;master&amp;quot; field. &lt;/p&gt;&lt;p&gt;Another way to do it is to set an action on the field displayed in the form that sets the value of the secondary field. That approach is described in the thread at &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomizationlegacy/thread/ac0b3496-5ab7-41d5-920a-6aee6292d4cb"&gt;http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomizationlegacy/thread/ac0b3496-5ab7-41d5-920a-6aee6292d4cb&lt;/a&gt;. See &lt;a href="http://social.msdn.microsoft.com/profile/arylius/?ws=usercard-mini" target="_blank"&gt;Arylius&lt;/a&gt;&amp;#39;s step-by-step on setting up the filter.&lt;/p&gt;</description></item><item><title>Re: Form field values being written by DBXL to SQL database instead of display name</title><link>https://www.infopathdev.com:443/forums/thread/84062.aspx</link><pubDate>Wed, 31 Oct 2012 18:54:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84062</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=84062</wfw:commentRss><description>&lt;p&gt;So, in the XML, InfoPath will be storing the value. DBXL saves the XML field value to the database - in other words, DBXL is working off the XML. &lt;/p&gt;&lt;p&gt;When you open the XML from SharePoint, since the drop down control is configured with a display and a value, you see the display in the form - that is all based on the form template itself - it can find a display match for your value, thus displays it.&lt;/p&gt;&lt;p&gt;Unfortunately, the only way to capture those display values in SQL will be to also store them in the form and write them to the DB. You can use a calculated default value for the new field so that when the XML is opened or the drop down is changed, the calculated default will update to whatever the correct display is for the selected value - let me know if that doesn&amp;#39;t make sense or you need more info, okay?&lt;/p&gt;</description></item><item><title>Form field values being written by DBXL to SQL database instead of display name</title><link>https://www.infopathdev.com:443/forums/thread/84061.aspx</link><pubDate>Wed, 31 Oct 2012 18:29:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84061</guid><dc:creator>DC Forms</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=84061</wfw:commentRss><description>&lt;p&gt;I have forms that use SharePoint lists as lookup tables. The forms write to DBXL which then writes to a form library on SharePoint and a SQL Server database. The forms written to SharePoint work fine, but the data written to SQL Server for fields using name/value pairs is the value and not the display name.&lt;/p&gt;&lt;p&gt;How do I write the display name to SQL Server? My first guess is to alter the forms to set the field value to the display name column used in the SharePoint lookup. This seems less than elegant and I am afraid of breaking the lookup relationship when forms are later edited.&lt;/p&gt;</description></item></channel></rss>