<?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: Copy details and create new record using InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/74536.aspx</link><pubDate>Wed, 25 Jan 2012 06:49:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74536</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74536.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74536</wfw:commentRss><description>&lt;p&gt;Hi Howard,&lt;/p&gt;
&lt;p&gt;Thank you for posting and welcome to InfoPathDev!&lt;/p&gt;
&lt;p&gt;Perhaps it has something to do with the SQL ID. If you want to create a new record, you have to create a new ID. So you probably need code for that.. &lt;/p&gt;
&lt;p&gt;If you want a codeless solution, you should check out DBXL.&amp;nbsp;See&amp;nbsp;Hilary&amp;#39;s blog &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/10/13/use-dbxl-submit-with-existing-sql-data.aspx"&gt;Using&amp;nbsp;DBXL Submit with Existing SQL&amp;nbsp;Data&lt;/a&gt;&amp;nbsp;as an example.&lt;/p&gt;
&lt;p&gt;There is a free evaluation of DBXL and you can download a trial &lt;a href="http://www.qdabra.com/en/products/download/dbxl.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Copy details and create new record using InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/74340.aspx</link><pubDate>Fri, 20 Jan 2012 18:44:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74340</guid><dc:creator>PHXHoward</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74340.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74340</wfw:commentRss><description>Hi INFOPATHdev community. Quick question on the possibility of using InfoPath to do a couple of things with SQL Server.

I have already created a simple form that allows me to update a single table in a SQL Server database. The table is an inventory of certificates with name, contact information, expiration date, active/inactive status etc...

Using Infopath, I am able to select a certificate by name and exp date using a drop down list and then update the details, and submit it back to SQL Server.

An additional feature I&amp;#39;m interested in would be a renew option that would generate a new record for a certificate while keeping the old record for historic purposes. It would be really nice to pick a certificate from the drop down list and then click a &amp;quot;renew&amp;quot; button that would mark the certificate as inactive and create a new record with the name, description, and other details filled in. The operator could then enter a new expiration date, contact name, and service request number and then submit the new record.

Is it possible that Infopath can do this?  If so, is it a VB script option, and is there a tutorial somewhere?

Thanks for reading,

Howard</description></item></channel></rss>