<?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: Submit data to database</title><link>https://www.infopathdev.com:443/forums/thread/2608.aspx</link><pubDate>Mon, 19 Jun 2006 14:04:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2608</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2608</wfw:commentRss><description>Hello&lt;br /&gt;Welcome to Infopathdev Forums&lt;br /&gt;&lt;br /&gt;Please read the links below and also lot more in this site which will help you to find solution in setting up database connection and updating values and retrieving them&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2090&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2090&lt;/a&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2152&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2152&lt;/a&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2083&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2083&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also Take a look at the Database Accelerator at the link below which might be of help to you.&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>Submit data to database</title><link>https://www.infopathdev.com:443/forums/thread/1367.aspx</link><pubDate>Mon, 19 Jun 2006 13:38:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1367</guid><dc:creator>agnmtv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1367.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1367</wfw:commentRss><description>Hello...&lt;br /&gt;&lt;br /&gt;i have create a form which is not based on data connection.&lt;br /&gt;then i have create a secondary data connection to a database with 3 tables:&lt;br /&gt;tbl_investment_goods&lt;br /&gt;tbl_investment_request&lt;br /&gt;tbl_cost_center&lt;br /&gt;&lt;br /&gt;tbl_investment_goods:&lt;br /&gt;(PK)year&lt;br /&gt;(PK)investment_no&lt;br /&gt;object description&lt;br /&gt;investment_type (cash-flow or leasing)&lt;br /&gt;budget_amount&lt;br /&gt;budgeted (yes or no)&lt;br /&gt;no_of_goods&lt;br /&gt;(FK)cost_center&lt;br /&gt;&lt;br /&gt;tbl_investment_request:&lt;br /&gt;(FK)year&lt;br /&gt;(FK)investment_no&lt;br /&gt;(PK)sequence --&amp;gt; all three together are the PK of this table&lt;br /&gt;description&lt;br /&gt;purpose&lt;br /&gt;HW_cost&lt;br /&gt;SW_cost&lt;br /&gt;other_cost&lt;br /&gt;operational_cost (yes or no)&lt;br /&gt;savings expecteed (yes or no)&lt;br /&gt;activates_(planned) (date)&lt;br /&gt;investment_category&lt;br /&gt;supplier&lt;br /&gt;delivery_date&lt;br /&gt;no_of alternative_offers&lt;br /&gt;financing (cash-flow or leasing)&lt;br /&gt;annotations&lt;br /&gt;subvention (yes or no)&lt;br /&gt;&lt;br /&gt;tbl_cost_center&lt;br /&gt;(PK)cost_center_no&lt;br /&gt;cost_center_name&lt;br /&gt;&lt;br /&gt;my form does queries on all 3 tables.&lt;br /&gt;the main tables is investment_goods. this tables will be updated once a year, when our budget for the next year is planned.&lt;br /&gt;&lt;br /&gt;my first query is on this table. i look which object_description are there for as special year like 2006. and then the user can choose in a dropdown window the object and the other fields are filled automatically by doing an query on this table and the table tbl_cost_center. only to fill the sequence field it is done a query on the table tbl_investment_request.&lt;br /&gt;the form does a query, with the rule checking if the year and investment_no in both tables are the same, and looks up which is the biggest sequence and add 1 to that.&lt;br /&gt;&lt;br /&gt;My problem is now, how i get these filled field back in the table tbl_investment_request as a new insert?&lt;br /&gt;can please anyone help me?&lt;br /&gt;&lt;br /&gt;Thanks in advanced.</description></item></channel></rss>