<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: update fields from drop down and calculations</title><link>https://www.infopathdev.com:443/forums/thread/88293.aspx</link><pubDate>Fri, 22 Mar 2013 04:17:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88293</guid><dc:creator>Zubertron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=88293</wfw:commentRss><description>hmm. note sure how to display my XML as XML code??</description></item><item><title>update fields from drop down and calculations</title><link>https://www.infopathdev.com:443/forums/thread/88292.aspx</link><pubDate>Fri, 22 Mar 2013 04:15:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88292</guid><dc:creator>Zubertron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=88292</wfw:commentRss><description>Hi all,

I&amp;#39;m an Infopath newbie :)

I am building a form that does multiple calculations, repeating fields and &amp;quot;cascading&amp;quot; data using data from XML and embedded form data (entered into the form button itself). I will be going to a SharePoint list system in future (long story).

I have a few questions.

Question 1.
I would like to update a set of fields when a drop down menu changes. When you select a Company, the contact person and details are populated into a field for each which is drawn from data in XML. I tried the cascading method but it&amp;#39;s not really what I&amp;#39;m after but I am open to any suggestions!!!

My XML looks like this:



	
		JO BLOGGS
		65413215
		bill.zuber@blahh.com.au
		Sales
	
	
		JOHN DOE
		65488521
		bill.zuber@blahh.com.au
		Finance
	


Not sure if this is the right sort of format?? Should it be more like: 

Question 2.
I have a repeating table that I want to count how many instances there are of it and multiply them by another field which is in the repeating table. In other words, I have an option for multiple training courses that each have a different number of days which I want to have displayed as the total number of days training - course 1 is 3 days, course 2 is 4 days so total days are 7.

Question 3.
I would like to keep quote numbers, so when I hit a &amp;quot;save&amp;quot; button it enters a new set of data in an xml file with a sequential quote number followed by some details entered into the form.

Apologies if this make no sense but that&amp;#39;s as best as I can explain it!

Cheers
Bill</description></item></channel></rss>