<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/46872.aspx</link><pubDate>Fri, 11 Sep 2009 16:51:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46872</guid><dc:creator>apc3usa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46872.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=46872</wfw:commentRss><description>&lt;p&gt;no, you do not need a trigger to update a record.&amp;nbsp; infopath should update the record automatically...&amp;nbsp; i use the trigger to create a log, and start procedures...&lt;/p&gt;</description></item><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/46871.aspx</link><pubDate>Fri, 11 Sep 2009 16:42:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46871</guid><dc:creator>jhill@virginia.edu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46871.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=46871</wfw:commentRss><description>&lt;p&gt;Great. I am new to using triggers. Do you have to use one when trying to update a record in SQL Server from an InfoPath form? I am able to insert a record but when I try modify the record it states that their is already a record with that primary key.&lt;/p&gt;</description></item><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/46869.aspx</link><pubDate>Fri, 11 Sep 2009 16:22:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46869</guid><dc:creator>apc3usa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46869.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=46869</wfw:commentRss><description>&lt;p&gt;yes, i did get it figured out... it had to do with my automating of the email after the trigger.&amp;nbsp; i had to change the permissions of who was sending out the email to match the person who is writing the infopath form.&lt;/p&gt;</description></item><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/46868.aspx</link><pubDate>Fri, 11 Sep 2009 16:15:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46868</guid><dc:creator>jhill@virginia.edu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46868.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=46868</wfw:commentRss><description>&lt;p&gt;Patrick,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Did you ever get this figured out?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;John&lt;/p&gt;</description></item><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/46163.aspx</link><pubDate>Mon, 24 Aug 2009 06:52:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46163</guid><dc:creator>KidCarson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46163.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=46163</wfw:commentRss><description>&lt;p&gt;Hi, I am using the triger and it all works fine. It fires on the &amp;quot;UPDATE/INSERT&amp;quot; event...&lt;/p&gt;&lt;p&gt;Do you have some master - detail tables? There could also be problem with primary key (a don&amp;#39;t see any problems if you use identity option in the sql table - otherwise you have to somehowe provide primary key...&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Marko &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/46103.aspx</link><pubDate>Thu, 20 Aug 2009 19:59:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46103</guid><dc:creator>apc3usa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=46103</wfw:commentRss><description>&lt;p&gt;I am running into the same kind of problem.&amp;nbsp; i am running InfoPath 2007 and SQL 2008, my trigger works within SQL, but once i open the form and write to the table, the form says it submits correctly, but when i look up the SQL Table, nothing has been inserted???&amp;nbsp; any suggestions would be greatly appreciated.&amp;nbsp; -Patrick&lt;/p&gt;</description></item><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/31622.aspx</link><pubDate>Thu, 21 Aug 2008 10:10:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31622</guid><dc:creator>cduwel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31622.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=31622</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;As far as I can tell it does a complete insert of all the fields I ask it to.&amp;nbsp; Some are null but I left them that way.&amp;nbsp; I have tried it different ways and the one time it did work I think I did fill in all fields, but I haven&amp;#39;t been able to get it to work again all fields or no.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/31499.aspx</link><pubDate>Sun, 17 Aug 2008 15:03:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31499</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31499.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=31499</wfw:commentRss><description>&lt;p&gt;Does it matter if all of the fields are completed?&lt;/p&gt;
&lt;p&gt;Does InfoPath only submit a partial record or leave some blank? I would try some testing with that.&lt;/p&gt;</description></item><item><title>SQL Server 2000 Trigger doesn't work</title><link>https://www.infopathdev.com:443/forums/thread/31464.aspx</link><pubDate>Thu, 14 Aug 2008 18:37:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31464</guid><dc:creator>cduwel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31464.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=31464</wfw:commentRss><description>&lt;p&gt;I am appending records to an SQL Server 2000 database using InfoPath 2007.&amp;nbsp; I made a trigger on the table the form is based on but when I append a new record the trigger never fires.&amp;nbsp; The trigger works fine if I append a new record using Query Analyzer.&lt;/p&gt;&lt;p&gt;I first assumed it just would not work due to some limitation of InfoPath but I&amp;#39;ve found references to people using trigger (successfully) but no help on why one would not work at all.&amp;nbsp; There is no error message and the data is appended to the table but the trigger seems to be asleep.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any ideas please.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;8/15&lt;/p&gt;&lt;p&gt;An update - The trigger actually worked once.&amp;nbsp; I had given up and I was going to try to find a way to do what I needed with out using a trigger.&amp;nbsp; When I first tried the new form and submitted it the trigger worked and did what it was supposed to do.&amp;nbsp; I then removed some of the fields from the from the form and tried again and the trigger went back on strike.&amp;nbsp; I put the fields back and it still won&amp;#39;t work.&amp;nbsp; It did once so that&amp;#39;s a little better - But why???&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>