<?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: Getting Unique Number From DB Table via DBXL</title><link>https://www.infopathdev.com:443/forums/thread/87603.aspx</link><pubDate>Fri, 01 Mar 2013 17:00:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87603</guid><dc:creator>RobSil1976</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=87603</wfw:commentRss><description>&lt;p&gt;Figured it out.&amp;nbsp; See here for an answer:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/25249/87602.aspx#87602"&gt;http://www.infopathdev.com/forums/p/25249/87602.aspx#87602&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Getting Unique Number From DB Table via DBXL</title><link>https://www.infopathdev.com:443/forums/thread/87527.aspx</link><pubDate>Thu, 28 Feb 2013 13:53:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87527</guid><dc:creator>RobSil1976</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87527.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=87527</wfw:commentRss><description>&lt;p&gt;Thanks Ernesto.&lt;/p&gt;&lt;p&gt;Still learning but I am close to solving this.&amp;nbsp; What I did was create a lookup table in SQL that keeps track of the &amp;quot;Current&amp;quot; index number for the Request ID.&amp;nbsp; Then I created a Stored Procedure on SQL Server that queries that table, increments by 1 and creates the base &amp;quot;AbsenceRequest&amp;quot; row using that Request ID and then returns the request ID.&amp;nbsp; In my InfoPath OnLoad I&amp;nbsp;have figured out how to set the fields value, and am just working on querying the stored procedure.&amp;nbsp; Found a blog of two that talks to it, just working through some bugs.&amp;nbsp; Will post some code soon.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thx,&lt;/p&gt;&lt;p&gt;Rob&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Getting Unique Number From DB Table via DBXL</title><link>https://www.infopathdev.com:443/forums/thread/87474.aspx</link><pubDate>Wed, 27 Feb 2013 15:05:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87474</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87474.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=87474</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;I have moved the question to the DBXL product forum. &lt;/p&gt;&lt;p&gt;DBXL maps data to SQL, and this mapping requires a unique key. Perhaps you have a unique ID in your data and can use that, or you can let DBXL assign one (such as the DocID) or you can let SQL assign one (such as an auto increment primary key).&lt;/p&gt;&lt;p&gt;Our free DBXL training modules go thru these options. The videos are all here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/playlist?list=PLUFfSqJwJ1hmlPdC3XoX2YOhBABLlXDIE&amp;amp;feature=view_all"&gt;http://www.youtube.com/playlist?list=PLUFfSqJwJ1hmlPdC3XoX2YOhBABLlXDIE&amp;amp;feature=view_all&lt;/a&gt;&lt;/p&gt;&lt;p&gt;And the step-by-step training labs are available here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/dbxl/default.aspx"&gt;http://www.infopathdev.com/files/folders/dbxl/default.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Hope these help!&lt;/p&gt;&lt;p&gt;If you&amp;#39;re more interested in database-bound forms, Microsoft might have some introductory tutorials, since it&amp;#39;s an out of the box feature in InfoPath.&lt;/p&gt;</description></item><item><title>Getting Unique Number From DB Table via DBXL</title><link>https://www.infopathdev.com:443/forums/thread/87454.aspx</link><pubDate>Tue, 26 Feb 2013 20:42:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87454</guid><dc:creator>RobSil1976</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=87454</wfw:commentRss><description>&lt;p&gt;Greetings all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am now 25 minutes into my learning for Infopath/DBXL and am starting to put some effort into designing my first form.&amp;nbsp; My goal is to figure out a way to pre-populate a read-only field with an &amp;quot;ID&amp;quot; number and have that ID number guaranteed to be unique for the form and also (preferably) to be selected from a range based upon username.&amp;nbsp; So babysteps first... how to get a form with a unique number from my DB Table?&lt;/p&gt;&lt;p&gt;&amp;nbsp;If I understand what i am reading correctly, I can use a straight to DB connection to mimic form to a table-row, but for anything more complex (e.g. multiple tables on 1 form, updates after the fact, workflow, etc.) it may be easier to use DBXL webservices.&amp;nbsp; Looking for someone that can jump start my VERY limited knowledge on how to do this?&lt;/p&gt;&lt;p&gt;Example of a student sick leave form that looks like:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;quot;Student Sick Leave Form&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;Request ID: &lt;strong&gt;41534&lt;/strong&gt;&amp;quot;&amp;nbsp;&amp;nbsp;&amp;lt;--- guaranteed unique request&amp;nbsp;ID and my PK in my &amp;quot;SickLeave&amp;quot; table.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;quot;Student Name: &amp;lt;blank to start&amp;gt;Joe Smith&amp;quot;&lt;br /&gt;&amp;quot;Teacher Name: &amp;lt;blank to start&amp;gt;Mr. Jones&amp;quot;&lt;br /&gt;&amp;quot;Absence Reason: &amp;lt;blank to start&amp;gt;Flu&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;DB Server: MYDBSERVER&lt;br /&gt;DB Name: AcademicForms (e.g.)&lt;br /&gt;Table Name: SickLeaveFormRequests (e.g.)&lt;br /&gt;Table Structure:&amp;nbsp; &amp;lt;Req_ID&amp;gt;|&amp;lt;StuID&amp;gt;|&amp;lt;StuName&amp;gt;|&amp;lt;TeachID&amp;gt;|&amp;lt;TeachName&amp;gt;|&amp;lt;AbsenceReason&amp;gt;|&amp;lt;AbsenceDate&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;How would I go about structuring this?&amp;nbsp; Do I need to create a complex query with table-locks to make sure the ID is always unique?  Do I have to configure my DBXL web service as a datasource to point to the table in a particular way?&amp;nbsp; Hoping someone can help me out with pointing me in the right direction so I don&amp;#39;t spend too much time going down the wrong path.&lt;/p&gt;&lt;p&gt;Thx,&lt;/p&gt;&lt;p&gt;Rob&lt;/p&gt;</description></item></channel></rss>