<?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: unique ID in infopath form.</title><link>https://www.infopathdev.com:443/forums/thread/24815.aspx</link><pubDate>Fri, 30 Nov 2007 01:55:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24815</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24815.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24815</wfw:commentRss><description>&lt;p&gt;Hi InfoPathStartup,&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t trying to sell our product. Sorry it came across that way. We host this forum for the community. We may recommend free tools and products from time to time because they are a much better alternative than doing it yourself. However, in this case, Clay is correct: you can do it yourself without too much trouble. I alluded to how this might be done. We&amp;#39;re busy trying to stay in business so we can&amp;#39;t always spend hours replying to every post. I hope you understand. &lt;/p&gt;</description></item><item><title>Re: unique ID in infopath form.</title><link>https://www.infopathdev.com:443/forums/thread/24799.aspx</link><pubDate>Thu, 29 Nov 2007 17:08:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24799</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24799</wfw:commentRss><description>&lt;p&gt;What you are describing can be done. If you want a web service, then you would either have to build it yourself or get it via an installed package.&amp;nbsp; I understand how hard it can be to get software approved and installed but either way to do what you describe you would need server access.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;You can connect to SQL as a secondary data connection without it being a web service and might get what you need.&lt;/p&gt;
&lt;p&gt;Sorry we are not more help.&lt;/p&gt;</description></item><item><title>Re: unique ID in infopath form.</title><link>https://www.infopathdev.com:443/forums/thread/24798.aspx</link><pubDate>Thu, 29 Nov 2007 16:53:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24798</guid><dc:creator>infopathstartup</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24798.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24798</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I would like to stay away from third party products. My organization has a long process of approving software purchases. Any internal infopath solutions you can think of? This forum is useless if you are only using it to sell your product.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: unique ID in infopath form.</title><link>https://www.infopathdev.com:443/forums/thread/24782.aspx</link><pubDate>Thu, 29 Nov 2007 06:56:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24782</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24782.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24782</wfw:commentRss><description>&lt;p&gt;Hi InfoPathStartup and welcome to our forum!&lt;/p&gt;
&lt;p&gt;Clay forgot to mention that the Web service we provide (which is free for developers) actually supports exactly the functionality that you need out of the box. We call it RefID support. You can specify a static code UR followed by an xpath to a field that receives the concatenated string. The Web service controls this when you submit the form. &lt;/p&gt;
&lt;p&gt;The simplest solution is to increment this on submit since that&amp;#39;s the time when the data is stored. If you try to increment this on load of the form, the user could go offline, or close the form which produces a gap in the ids or some dummy data. My recommendation would be to do this on submit. After the initial form is submit, you can refer to the ID on your form since the form is now stored in SQL or SharePoint or wherever.&lt;/p&gt;
&lt;p&gt;If UR doesn&amp;#39;t change, I recommend having a field that concatenates the ID with UR on load, but only if the form is loaded from an existing location (i.e., it&amp;#39;s not new). There is a IsNew method in the InfoPath OM that you can use. We have some code lying around that also uses SharePoint. SharePoint sits on top of SQL but limits access to the database. However, you can still get the ID from the data exposed in SharePoint. If you would like to send us a $100 support pack, we can spend an hour and dig&amp;nbsp;up this code.&lt;/p&gt;
&lt;p&gt;Hopefully, this gave you more ideas.&amp;nbsp;&amp;nbsp;If not, please reply and I&amp;#39;ll try again. :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: unique ID in infopath form.</title><link>https://www.infopathdev.com:443/forums/thread/24780.aspx</link><pubDate>Thu, 29 Nov 2007 02:11:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24780</guid><dc:creator>infopathstartup</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24780</wfw:commentRss><description>&lt;p&gt;Thank you for the reply. But it does not answer my question. &lt;/p&gt;</description></item><item><title>Re: unique ID in infopath form.</title><link>https://www.infopathdev.com:443/forums/thread/24779.aspx</link><pubDate>Thu, 29 Nov 2007 01:56:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24779</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24779</wfw:commentRss><description>&lt;p&gt;Welcome to the forum.&lt;/p&gt;
&lt;p&gt;If you are going to make an enterprise solution I recommend using the Database Accelerator. &lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry19957.aspx" target="_blank"&gt;Qdabra Database Accelerator Suite Version 2.1 - Developer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It includes a web service for querying SQL tables plus has lots of other benefits.&lt;/p&gt;</description></item><item><title>unique ID in infopath form.</title><link>https://www.infopathdev.com:443/forums/thread/24778.aspx</link><pubDate>Thu, 29 Nov 2007 00:32:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24778</guid><dc:creator>infopathstartup</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24778.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24778</wfw:commentRss><description>&lt;font face="Times New Roman"&gt;Hope all is well. I am building my first enterprise InfoPath solution with work flow and MOSS. I have a unique requirement. I am not sure how to do this. Maybe you could help me. When the form first loads we would like to give it a unique ID. The unique ID maybe something like UR2811070001. The last four digits may come from a custom sql table. When the form loads the last four digits would increment by 1. The&amp;nbsp;code UR will be&amp;nbsp;static and the date piece will obviously change based on the day.&amp;nbsp;I was thinking of using a web service method to do the above which would&amp;nbsp;concatenate the&amp;nbsp;output. . Do you have&amp;nbsp;any suggestions or code snippets I could use.Thank you.&amp;nbsp;&amp;nbsp;&lt;/font&gt;</description></item></channel></rss>