<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: script populate field that is bound to database</title><link>https://www.infopathdev.com:443/forums/thread/10532.aspx</link><pubDate>Thu, 05 Oct 2006 18:27:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10532</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10532</wfw:commentRss><description>When using a database connection as a secondary data source, you won't be able to edit the fields underneath the dataFields node since these are simply the results of a query to the database.  You can, however, edit the fields under the queryFields node.&lt;br /&gt;&lt;br /&gt;If you want to edit data and then submit back to the database you will have to create a new form from a database connection. This will make the connection to the database the Main DOM and you will be able to edit fields and then hit Submit to submit the new record to the database or overwrite another one.&lt;br /&gt;&lt;br /&gt;Another option is to use our Database Accelerator suite to shred the Main DOM into SQL tables by defining mappings between the XML and Relational data structures.&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.qdabra.com/proddetail.asp?prod=QDBXL1&gt;http://www.qdabra.com/proddetail.asp?prod=QDBXL1&lt;/a&gt;</description></item><item><title>script populate field that is bound to database</title><link>https://www.infopathdev.com:443/forums/thread/5861.aspx</link><pubDate>Thu, 05 Oct 2006 15:40:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5861</guid><dc:creator>Tezler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5861</wfw:commentRss><description>I have a form created using a data connection, all fields on the form and every thing works fine except I need to populate some fields.&lt;br /&gt;&lt;br /&gt;I have 4 date fields, fields 3 &amp; 4 are bound just the same to the datasource. I wish these to be populated though script as they are date calculations based on the start date &amp; end date values:&lt;br /&gt;&lt;br /&gt;Field 1 = start date&lt;br /&gt;Field 2 = finish date&lt;br /&gt;Field 3 = 30% date&lt;br /&gt;Feild 4 = 60% date&lt;br /&gt;&lt;br /&gt;However I can't modify the field at all using ".nodeValue" or ".text". I created a simple new form and use the same code and if the field is not databound the script works. How can I populate a database bound field through script?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please please help, it's been days.</description></item></channel></rss>