<?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>Is this scenario possible?</title><link>https://www.infopathdev.com:443/forums/thread/43554.aspx</link><pubDate>Mon, 29 Jun 2009 09:02:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43554</guid><dc:creator>kezia_kristina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43554</wfw:commentRss><description>&lt;p&gt;I have created form with a button in it.Here is the scenario:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This form contains 2 kind of fields: fields that contains key for query data (e.g. employeeID) and also fields for query-result data (e.g. employeeAddress).&lt;/p&gt;&lt;p&gt;There will be 2 parties, A and B. Party A will send the form with particular employeeID to the party B.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Party B opens the form. When the button clicked by party B, it will connect to MYOB database at party B (using ADODB connection and VSTA), get some needed data (employeeAddress), and display it in the same form.&lt;/p&gt;&lt;p&gt;And Party B will send the form back to party A. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now I want to distribute the form, is it possible to distribute the form (which contains custom code) by email from Party A to Party B, and also from Party B to Party A? ( As I read in &lt;br /&gt;&lt;a href="http://office.microsoft.com/en-us/infopath/HP100997611033.aspx" target="_blank"&gt;&lt;span class="yshortcuts" id="lw_1246265568_0"&gt;http://office.microsoft.com/en-us/infopath/HP100997611033.aspx&amp;nbsp;&lt;/span&gt;&lt;/a&gt; template can&amp;#39;t contain data connection)&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>