<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Automatically fill fields via code?!!?</title><link>https://www.infopathdev.com:443/forums/thread/14745.aspx</link><pubDate>Fri, 11 Aug 2006 16:11:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14745</guid><dc:creator>mfrumer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14745.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14745</wfw:commentRss><description>I have a form that does the following using managed code. &lt;br /&gt;The code is rather long, but if it is what you need, I will post it.&lt;br /&gt;&lt;br /&gt;1. Lets the user choose a company name from a dropdown which is populated from a table of company names.&lt;br /&gt;&lt;br /&gt;2. Uses an address key from the company name table to retrieve address information from an address table.&lt;br /&gt;&lt;br /&gt;3. Fills a "name and address" text box with the company name and address.&lt;br /&gt;&lt;br /&gt;Is this the kind of thing that you need?</description></item><item><title>Automatically fill fields via code?!!?</title><link>https://www.infopathdev.com:443/forums/thread/12928.aspx</link><pubDate>Fri, 11 Aug 2006 11:07:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12928</guid><dc:creator>Millie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12928</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I also have a Topic under "General" but I think here it is better to post.&lt;br /&gt;I need to automatically fill fields with values from different tables in dependency of a comboboy value but I can use only ONE table in my primary con(to avoid tha Infopath adds new datasets in these tables but the one).&lt;br /&gt;So I can´t do the "normal" automatical fill, right?&lt;br /&gt;&lt;br /&gt;Well I need a solution for this problem, and perhaps I can do these automatically fills via code?&lt;br /&gt;&lt;br /&gt;I hope you can help me, time is running and I need a solution as fast as possible :-(&lt;br /&gt;unfortunatly I haven´t used code yet, so its difficult for me...&lt;br /&gt;&lt;br /&gt;Millie</description></item></channel></rss>