<?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: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3253.aspx</link><pubDate>Wed, 18 Oct 2006 15:28:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3253</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3253.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3253</wfw:commentRss><description>I'm a little slow at this....I have a ytdExpenses text box displaying data, but when I submit to the database it do not update right then and there on the form. Could you pleae give me a few steps to get me started.....</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3252.aspx</link><pubDate>Wed, 18 Oct 2006 13:33:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3252</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3252.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3252</wfw:commentRss><description>Hi Michael,&lt;br /&gt;From what I understand, as soon as u submit to the database,u need the new total to be updated in ur form.&lt;br /&gt;&lt;br /&gt;U can accomplish this by doing the following.&lt;br /&gt;On clicking the submit button, u need to do 2 things.&lt;br /&gt;&lt;br /&gt;1)Submit the new data to the database&lt;br /&gt;2)Retrieve the new total from the database.For this u need to requery the retrieve dataconnection that u already use when the form opens.&lt;br /&gt;&lt;br /&gt;Now regarding the following statement made by u..&lt;br /&gt;"I know you asking about the repeating table, but will that cause my form to have a lot of rows on the form?"&lt;br /&gt;&lt;br /&gt;U dont have to display the repeating table in ur form.Any way the repeating data is nothing but ur secondary data connection. So dont display the repeating rows.&lt;br /&gt;Just display the ytdExpenses.&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3251.aspx</link><pubDate>Tue, 17 Oct 2006 18:08:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3251</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3251.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3251</wfw:commentRss><description>the monthlyExpenses are pulling from a SQl server database and so is the ytdExpenses. I know you asking about the repeating table, but will that cause my from to have a lot of rows on the form? I was thinking I could just write a trigger on the SQL database and whenever someone submits data to the database it updates that one text box with the ytdExpenses = SUM(monthlyExpenses). However this do not work, because as soon as I submit to the database it should add that data or amount and update the total right than and there. Is it a better and easy way of doing this, and not have &lt;b&gt;rows all down my form. &lt;/b&gt; Thanks Michael</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3250.aspx</link><pubDate>Tue, 17 Oct 2006 04:54:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3250</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3250.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3250</wfw:commentRss><description>Hi Michael,&lt;br /&gt;&lt;br /&gt;Well, in that case...&lt;br /&gt;Assuming that u have all the Monthly Expenses in a field(MonthlyExpense)in a repeating group, created when u create a dataconnection to the database...&lt;br /&gt;Add another field to ur main data source by selecting the root node(myfields by default) in the datasource taskpane and clicking "ADD" in the dropdown.Let the field be called "YTDExpenses".&lt;br /&gt;&lt;br /&gt;Double click the "YTDExpenses" field to open the properties dialog.&lt;br /&gt;&lt;br /&gt;There is a Default Value section and u can find a fx button.Click the fx button.&lt;br /&gt;&lt;br /&gt;In the "Insert formula" dialog that opens,Click "Insert Function" button.Select "Sum" and click ok.&lt;br /&gt;&lt;br /&gt;U see something like this ...sum(double click to insert field)&lt;br /&gt;&lt;br /&gt;Double click and select ur "MonthlyExpense" field in the repeating section.&lt;br /&gt;&lt;br /&gt;Now u can find that whatever the Monthly Expense field contains in the Repeating section, the sum total can be found in the YTDExpenses field.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3249.aspx</link><pubDate>Mon, 16 Oct 2006 17:06:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3249</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3249</wfw:commentRss><description>I don't need a web service....I'm already connected to the database. I just need to Sum up the monthlyExpenses.</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3248.aspx</link><pubDate>Fri, 13 Oct 2006 06:38:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3248</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3248</wfw:commentRss><description>Hi Michael, &lt;br /&gt;     The first time u do it,it might take some time.But once once u get the hang of it,its pretty easy.&lt;br /&gt;          But I think u should know it and hence you should try it. Just go thru MSDN link and try it out.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3247.aspx</link><pubDate>Wed, 11 Oct 2006 17:17:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3247</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3247</wfw:commentRss><description>Is this rather easy Abhishek. Is it any other way to display the Totals on the InfoPath Form since I am already connected to the SQL server and submitting data to it now.&lt;br /&gt;&lt;br /&gt;Michael71</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3246.aspx</link><pubDate>Wed, 11 Oct 2006 11:58:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3246</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3246</wfw:commentRss><description>Michael,&lt;br /&gt;       I have read this book.But this book helps u to get a basic understanding of InfoPath rather than the core concepts.&lt;br /&gt;I think u should try out "Developing Solutions with Microsoft InfoPath" by Vani Mandava and Patrick Halstead.&lt;br /&gt;&lt;br /&gt;And Michael,I recomend u always read a book before starting working on any tool becoz it really helps u learn things much faster and much better.&lt;br /&gt;&lt;br /&gt;Check the following site..&lt;br /&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_08.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_08.asp&lt;/a&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3245.aspx</link><pubDate>Tue, 10 Oct 2006 18:43:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3245</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3245.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3245</wfw:commentRss><description>Abhishek&lt;br /&gt;&lt;br /&gt;Where can I find a example of doing this or do I pick up a book in InfoPath. I have a book called Microsoft Office InfoPath 2003 by Roger Jennings. Do you know a book or online documentation that explains how to do this.&lt;br /&gt;&lt;br /&gt;Michael71</description></item><item><title>Re: Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/3244.aspx</link><pubDate>Tue, 10 Oct 2006 09:33:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3244</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3244</wfw:commentRss><description>Hi Michael,&lt;br /&gt;          U can accomplish this by writing a web service and creating a "Receive" data connection to this web service.&lt;br /&gt;&lt;br /&gt;When the user enters the current month and clicks a "Submit" button,pass the current month(or date) as the input parameter to the web service.&lt;br /&gt;&lt;br /&gt;Write a query in the web service to fetch all the Monthly expense.&lt;br /&gt;Sum it up and then return it back to the infoPath form.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Total from a SQL Database and output to InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/1583.aspx</link><pubDate>Tue, 10 Oct 2006 05:59:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1583</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1583</wfw:commentRss><description>&lt;br /&gt;&lt;br /&gt;How do I Sum monthly expenses,monthly Budgeted, and monthly Variance of these to into a Year to Date Running Total and out put it to a InfoPath Form; each time a user opens it up. Example&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Monthly Expense      Monthly Budgeted     Monthly Variance&lt;br /&gt;$12,000               $14,000              $2,000&lt;br /&gt;&lt;br /&gt;YTD Expenses         YTD Budgeted         YTD Variance&lt;br /&gt;&lt;b&gt;$90,000            $140,000             $50,000&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The YTD has to be retrieved from the SQL database from previous months. Also, when the user finish entering the current month and submits it to the databse, it will pull that information from the database and Sum it up right that and there so that the user can see their current total after their submission. &lt;br /&gt;&lt;br /&gt;I have already figure out how to submit to the SQL database.&lt;br /&gt;Thanks for all the help ahead of time.&lt;br /&gt;&lt;br /&gt;Michael</description></item></channel></rss>