<?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: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8289.aspx</link><pubDate>Wed, 23 Nov 2005 18:04:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8289</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8289</wfw:commentRss><description>Thanks for your help but I found another way. I just build three forms with the belonging table as main connection and link them with buttons to the main form. Not the best way I guess but it works. And being the only one familiar to InfoPath in my office gives me some nice privileges :D&lt;br /&gt;&lt;br /&gt;@Franck: Wie waers mal mit nem deutschen Forum? Will wieder in meiner Muttersprach sprechen, wenn ich zurueck in Deutschland bin...</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8288.aspx</link><pubDate>Wed, 23 Nov 2005 01:07:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8288</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8288</wfw:commentRss><description>Have you tried doing a submit to a webservice which can be a seconday data source?  Review this lab -&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_08.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_tr/html/odc_INF_Lab_08.asp&lt;/a&gt;</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8287.aspx</link><pubDate>Tue, 22 Nov 2005 19:53:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8287</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8287</wfw:commentRss><description>Jop, even tried different forms for storing a company, plant or project. But I think I have to change something with the submin buttons.&lt;br /&gt;Perhaps a little skript could help. I tried some but it didn't work, yet. Is there a possibility to store the data to a table by using skript? InfoPath offers me only the option to submit it to the main connection.</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8286.aspx</link><pubDate>Tue, 22 Nov 2005 13:22:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8286</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8286</wfw:commentRss><description>From what it sounds like when you insert a company there is no problems although when you insert a project nothing works.  And according to an earlier post, if you just insert a project, Access should set up releationships to an existing plant and company.&lt;br /&gt;&lt;br /&gt;You may be trying to do too much with a single submit.  I have you tried seperating the two.  For example if the user does a company insert that is one button while if the user is trying to create a project that will be a different button.&lt;br /&gt;&lt;br /&gt;Someone else have insight.</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8285.aspx</link><pubDate>Mon, 21 Nov 2005 21:45:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8285</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8285</wfw:commentRss><description>My InfoPath form is a simple one based on a Access database connection. The submit button is the one offered by InfoPath just submiting to a database. My main connection is based on the company tabel. It looks like the following:&lt;br /&gt;&lt;br /&gt;+ company&lt;br /&gt;I------+ plant&lt;br /&gt;______I------+ project&lt;br /&gt;______I------+ contact&lt;br /&gt;&lt;br /&gt;It's the same relationship like my Access database uses. And that's probably my problem. If I store only the basement (the company) it works fine. Else it doesn't work. &lt;br /&gt;Is there anythink else you need to know? Thanks for the help.</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8284.aspx</link><pubDate>Mon, 21 Nov 2005 21:16:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8284</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8284.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8284</wfw:commentRss><description>Thanks for the extra information around your process.  I think we can help you but we could also use a little more information of how you have your InfoPath form set up.  For instance, if you have a submit button, what is it submitting to and how are you pushing data into your database.  You may have to add some logic that will tell if you are going just a project insert versus a project and a plant insert.</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8283.aspx</link><pubDate>Mon, 21 Nov 2005 16:31:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8283</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8283</wfw:commentRss><description>Okay, adding a new company works perfect now but if I want to store a new plant InfoPath shows this error:&lt;br /&gt;&lt;br /&gt;[0x80004005][Microsoft Cursor Engine] Empty row cannot be inserted. Row must have at least one column value set.&lt;br /&gt;&lt;br /&gt;In my understanding that's because I didn't add the primary key information for the company. But I don't want to add a company. Access will create the relationship to a company and the new plant by itself. So what's wrong? &lt;br /&gt;</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8282.aspx</link><pubDate>Fri, 18 Nov 2005 16:13:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8282</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8282</wfw:commentRss><description>Okay just an example. I want to add a new project to my database. First I select a company from ddl 1. The company im searching for is already stored in the db and I select it in the ddl 1. Now I select one of the plants in ddl 2 belonging to the company. The Plant I'm looking for is also already stored in the db so I select it in ddl 2. After that I enter all the data for the new project and store it. That's how it should work. &lt;br /&gt;So I want InfoPath to add the relationship between the new project and the plant it belongs to and store the project in the project table. &lt;br /&gt;But I have no idea how to do that because InfoPath forces me to add also a company and a plant, even if both already exist.&lt;br /&gt;&lt;br /&gt;In the end it should work like a orderform which allows you to place a new order by entering your customer number instead of entering all your personal data. So many orders belong to one customer number.&lt;br /&gt;Hope its clear now.</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8281.aspx</link><pubDate>Fri, 18 Nov 2005 15:29:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8281</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8281.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8281</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Ben&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The same should be able for the plant. Whether the user selects one or add a new one in a new form. But how does it work to select a company in the dropdownlist and add a new plant to the database? Everytime I try to do that, InfoPath wants me to fill out the keyfields of the company and if it is already stored it shows the "no double values allowed in the keyfield"&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;Please clarify the above. It's not very clear what your situation is.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;</description></item><item><title>Re: Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/8280.aspx</link><pubDate>Fri, 18 Nov 2005 15:16:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8280</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8280</wfw:commentRss><description>No solution?</description></item><item><title>Add new data to database</title><link>https://www.infopathdev.com:443/forums/thread/5116.aspx</link><pubDate>Thu, 17 Nov 2005 15:11:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5116</guid><dc:creator>Ben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5116.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5116</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have a question and didn't find anything about it in the forum. My Access database has three tables. One for the company, one for all the plants belonging to the company and on for all the projects belonging to the plant. &lt;br /&gt;Now I want the user to be able to store new data. At first there is a dropdownlist showing all the companys stored in the database. He has the option to select one or add another one in a new form. That works perfect. &lt;br /&gt;The same should be able for the plant. Whether the user selects one or add a new one in a new form. But how does it work to select a company in the dropdownlist and add a new plant to the database? Everytime I try to do that, InfoPath wants me to fill out the keyfields of the company and if it is already stored it shows the "no double values allowed in the keyfield"&lt;br /&gt;In the end the user should be able to select a company in the first dropdown or add one. He should be able to select a plant belonging to the company in the second dropdown or add one and after that he should be able to add a new project. &lt;br /&gt;Is there a posibility to solve the problem?</description></item></channel></rss>