<?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>Re: Generate numbers?</title><link>https://www.infopathdev.com:443/forums/thread/61450.aspx</link><pubDate>Tue, 16 Nov 2010 13:04:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61450</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61450</wfw:commentRss><description>&lt;p&gt;Hi AugustWind,&lt;/p&gt;
&lt;p&gt;Short answer: yes, but you need to design your form from XML and use a Web Service. &lt;/p&gt;
&lt;p&gt;Longer answer: you can create a unique key using a concatenation from your form fields that forms a unique string but if you designed your form from SQL, it&amp;nbsp;will ignore the field.&amp;nbsp;We have provided&amp;nbsp;a workaround to this limitation since 2004.&amp;nbsp;Our database accelerator (DBXL) Web Servuce allows you to set your&amp;nbsp;own unique IDs for your forms&amp;#39; primary key. Another option is to&amp;nbsp;create a GUID using code or qRules and specify this in the mapping but you&amp;#39;ll need Web Service or SQL code to make this a true primary key.&lt;/p&gt;
&lt;p&gt;Bottom line: you can do this with code and integration or using Qdabra&amp;#39;s off-the-shelf components. It is a best practice. Microsoft left this gap unfilled though and that&amp;#39;s why we created DBXL and qRules.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;</description></item><item><title>Re: Generate numbers?</title><link>https://www.infopathdev.com:443/forums/thread/61440.aspx</link><pubDate>Tue, 16 Nov 2010 07:49:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61440</guid><dc:creator>R&amp;#233;mi MATAYRON</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61440.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61440</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When I want to do that, i use a list in SharePoint to do the chrono. I increment an list item on each submit.&lt;/p&gt;
&lt;p&gt;With SQL, you can do some manage code to get the autoincrement value when you submit the form.&lt;/p&gt;</description></item><item><title>Generate numbers?</title><link>https://www.infopathdev.com:443/forums/thread/61430.aspx</link><pubDate>Mon, 15 Nov 2010 17:38:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61430</guid><dc:creator>augustwind</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61430.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61430</wfw:commentRss><description>&lt;p&gt;I have an InfoPath form, that is a department request form.&lt;/p&gt;
&lt;p&gt;I would like to have it autonumber, much like SQL Server does Identity. I&amp;#39;m actually storing all the information from the form in it&amp;#39;s own sql server, so technically, I could use the Identity field as the request number - - &lt;/p&gt;
&lt;p&gt;&amp;nbsp;So here are&amp;nbsp;the questions:&lt;/p&gt;
&lt;p&gt;Can InfoPath track numbers/generate sequential numbers and update with new forms?&lt;br /&gt;or, &lt;br /&gt;Can I submit the form to SQL - get the identity/id (@@ScopeID) and then, plug it in the InfoPath form?&lt;/p&gt;
&lt;p&gt;or - any other ideas?&lt;/p&gt;</description></item></channel></rss>