<?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: Using SQL statement to add up budget for depts.</title><link>https://www.infopathdev.com:443/forums/thread/17406.aspx</link><pubDate>Tue, 07 Nov 2006 16:14:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17406</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17406.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17406</wfw:commentRss><description>Patrick,&lt;br /&gt;         What type of code will I have to enter in the OnAfterChange event handler.....I guess VBScript or VB.net.....help please</description></item><item><title>Re: Using SQL statement to add up budget for depts.</title><link>https://www.infopathdev.com:443/forums/thread/17405.aspx</link><pubDate>Tue, 07 Nov 2006 16:09:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17405</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17405</wfw:commentRss><description>Patrick,&lt;br /&gt;&lt;br /&gt;         I tried a rule, but I couldn't figure it out. Could you get me started?</description></item><item><title>Re: Using SQL statement to add up budget for depts.</title><link>https://www.infopathdev.com:443/forums/thread/17404.aspx</link><pubDate>Tue, 07 Nov 2006 14:51:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17404</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17404.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17404</wfw:commentRss><description>How much does the Database Accelerator Suite cost?</description></item><item><title>Re: Using SQL statement to add up budget for depts.</title><link>https://www.infopathdev.com:443/forums/thread/17403.aspx</link><pubDate>Tue, 07 Nov 2006 03:58:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17403</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17403.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17403</wfw:commentRss><description>Hi Michael,&lt;br /&gt;&lt;br /&gt;You could add an OnAfterChange event handler (code) that gets called when they select the department. Or, you could add a rule that fires when a value changes and the rule could query the database based on the value. This is tricky and will require some hardcoding because the query strings don't support passing parameters. &lt;br /&gt;&lt;br /&gt;The other possibility is to use our Database Accelerator Suite which will allow you to do this without writing any code. &lt;br /&gt;&lt;br /&gt;Good luck!</description></item><item><title>Using SQL statement to add up budget for depts.</title><link>https://www.infopathdev.com:443/forums/thread/16855.aspx</link><pubDate>Mon, 06 Nov 2006 16:26:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16855</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16855</wfw:commentRss><description>I have 6 different departments and all of them have a different department budget. I'm storing their budget information in a database. How do I query just for one department and add that department budget up when a user openings up a form. Example....&lt;br /&gt;&lt;br /&gt;the user clicks a drop down box that says: Application Department&lt;br /&gt;&lt;br /&gt;but I have 6 other department in the same database and their monthly budget report. How and where do I write a query statement to query just that department and sum up all of its previous budget data for that year.</description></item></channel></rss>