<?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: Submit and DDBoxes</title><link>https://www.infopathdev.com:443/forums/thread/10164.aspx</link><pubDate>Thu, 27 Jul 2006 18:29:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10164</guid><dc:creator>ziggybure</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10164</wfw:commentRss><description>Ok... I've done what you said and all is kosher except that now if I try to add a new row (adding through the form [right-click "Insert above/below...]), to add a new Order_Number, a new drop down is also added.  So if I wanted to add say 10 orders then I would be provided with 10 drop downs.  I really would like to only have 1 drop down which would be able to add multiple Order_Numbers???  I hope you can follow and understand what I'm looking to do, I know I'm not being very descriptive... Sorry... Again, thanks so much for the help!</description></item><item><title>Re: Submit and DDBoxes</title><link>https://www.infopathdev.com:443/forums/thread/10163.aspx</link><pubDate>Thu, 27 Jul 2006 17:32:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10163</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10163.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10163</wfw:commentRss><description>When I said table for the Employees, I mean in SQL. So you have one table for Employees and another for Orders.&lt;br /&gt;&lt;br /&gt;The main connection will connect to Orders, the secondary connection will connect to Employees. The drop-down on the form will be bound to the Employee_ID node of the Orders table, and it will use Employee_Name and Employee_ID fields of the Employees table to server as display name and value, respectively.  Once this is done you can submit your main data source and it will have all of the pertenant information.&lt;br /&gt;&lt;br /&gt;To add a secondary data source to the Employees table, go to Tools -&amp;gt; Data Connections -&amp;gt; Add, and follow the wizard presented there.</description></item><item><title>Re: Submit and DDBoxes</title><link>https://www.infopathdev.com:443/forums/thread/10162.aspx</link><pubDate>Thu, 27 Jul 2006 17:28:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10162</guid><dc:creator>ziggybure</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10162.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10162</wfw:commentRss><description>Matt,&lt;br /&gt;&lt;br /&gt;Here is my exact schema:&lt;br /&gt;+DMN_Employees&lt;br /&gt;_Employee_ID&lt;br /&gt;_Employee_Name&lt;br /&gt;&lt;br /&gt;__+DMN_Orders&lt;br /&gt;___Order_ID&lt;br /&gt;___Order_Number&lt;br /&gt;___Notes&lt;br /&gt;___Employee_ID&lt;br /&gt;&lt;br /&gt;__+FCT_Order_Details&lt;br /&gt;___Order_ID&lt;br /&gt;___Time_Out&lt;br /&gt;___Time_In&lt;br /&gt;___Date&lt;br /&gt;&lt;br /&gt;FYI - This seems to be a fairly simple setup... And is simply a tool to track and manage my employees daily productivity...&lt;br /&gt;&lt;br /&gt;I think I like your first solution a little better?  But am still a little confused... Also, my Employees drop down is not in a table, it's in a Repeating Section... And I'm also not sure how to make a secondary connection to the Orders table, it doesn't seem as easy as the drop down was???&lt;br /&gt;&lt;br /&gt;Thanks for the quick response!!!</description></item><item><title>Re: Submit and DDBoxes</title><link>https://www.infopathdev.com:443/forums/thread/10161.aspx</link><pubDate>Thu, 27 Jul 2006 17:13:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10161</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10161.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10161</wfw:commentRss><description>How is your database schema setup? If you have seperate table for Employees and Order with a foreign key relationship, this should work.  In this case, you will probably want to make two secondary data source connections: One for the employee table and one for the orders table.  The Employee table will populate the drop-down and you will only submit the orders data source.&lt;br /&gt;&lt;br /&gt;Or maybe you should make your Main Data Connection connect to the orders table, and simply use a secondary connection to populate the drop-down.  After this is done, you simply submit the Main DOM (which only has orders in it) and you should be done!  In this scenario, you'll have to create another form or something to insert new employees, but this doesn't seem like a problem for you.&lt;br /&gt;&lt;br /&gt;If all else fails, we have this cool software called the Database Accelerator and it can take all kinds of XML and shred it into DB tables. Check it out:&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 and DDBoxes</title><link>https://www.infopathdev.com:443/forums/thread/5743.aspx</link><pubDate>Thu, 27 Jul 2006 17:06:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5743</guid><dc:creator>ziggybure</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5743</wfw:commentRss><description>Heres a breakdown of my Data Source:&lt;br /&gt;+Employees(Repeating)&lt;br /&gt;__+Orders(Repeating)&lt;br /&gt;____+Order_Details(Non-Repeating)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What I'm trying to do is:&lt;br /&gt;1. Select an Employee from a drop-down that is populated by a Secondary Data Source. (Done)&lt;br /&gt;&lt;br /&gt;2. Enter multiple Order #'s through text boxes.(Done)&lt;br /&gt;&lt;br /&gt;3. Attach the same Order_Details to ALL of the multiple Order #'s that were input. (ie. they all get the same Date and Time).&lt;br /&gt;&lt;br /&gt;4. Click a Submit button to enter the data in the database.&lt;br /&gt;&lt;br /&gt;Here is where I'm getting caught up:&lt;br /&gt;When I fill out the form and click "Submit", the data is stored as NEW records. This is all fine except for the Employees drop down. The selected Employee is being entered into the DB as a new record. I simply want to attach the Order #'s and Details to the already selected Employee, not create a brand new employee everytime.&lt;br /&gt;&lt;br /&gt;What am I doing wrong???  Please help!!!&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>