Repeating Table Dropdown - InfoPath Dev Sign in | Join | Help in SQL Database Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SQL Database Integration » Repeating Table Dropdown Repeating Table Dropdown Last post 04-25-2006 07:43 AM by Taffman. 13 replies. Page 1 of 1 (14 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 09-20-2005 06:33 AM drobins Joined on 08-17-2005 Canada Posts 47 Repeating Table Dropdown Reply Contact I am trying to develop a form using a repeating table to be used for listing parts and their prices.column one will be a dropdown that will list all the item codes.When a code is selected from that list it will then populate the next column with that items price.The user can then enter a quantity in the third column and the total will appear in the fourth column.then to add another item the user can click the repeating table add itemI can get the list of codes to appear in first column but i can't figure out how to populate the second column with that code's price.Does this have to be done in code? 09-20-2005 09:57 AM In reply to drobins Joined on 08-17-2005 Canada Posts 47 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact ok figured out how to get the price into the second column and then do the calculations for the next two fields.Problem now is that when I add another row and make a selection from the drop down box if updates the price in the first row and not the new row.any ideas? 09-20-2005 11:06 AM In reply to vt_asparagus Joined on 08-05-2005 USA Posts 285 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact The repeating table is probably bound to a group within your main datasource. When you look at the properties for that group, is the repeating checkbox checked? Jasonhttp://www.k2distillery.com/ 09-20-2005 11:15 AM In reply to drobins Joined on 08-17-2005 Canada Posts 47 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact yes it is checked 09-21-2005 12:16 AM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact it's probably the xpath filter when you are setting the values. There have been at least 10 posts on how to do this. You need to use the current() xpath function. Check out Greg's HowTo on cascading lists:http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91.Patrick Halstead [InfoPath MVP]InfoPathDev Patrick HalsteadProject Manager at Qdabra 09-21-2005 08:08 AM In reply to drobins Joined on 08-17-2005 Canada Posts 47 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact ok that works fine if i want the second column to be a drop-down but i want the second column to be just a plain text field that will populate with the price after you make a selection from the drop down in the first column. I can't seem to figure out how to do that. I've tried following the same steps for populating the drop down to populate the text box but it doesn't seem to workany suggestions would be great 09-21-2005 12:14 PM In reply to drobins Joined on 08-17-2005 Canada Posts 47 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact I can live with a drop down box for the price.A bigger problem now.Once i've finished the form and i publish it then try and open this form is says a new form cannot be opened and it says it can't create a dataobject and it can't connect to the database.do i have to have the database in the same location as the form template? 09-21-2005 12:25 PM In reply to drobins Joined on 08-17-2005 Canada Posts 47 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact here is the details on the error i get:The following DataObject either cannot be created or cannot be initialized: productsThe query cannot be run for the following DataObject: productsInfoPath cannot run the specified query.InfoPath cannot connect to the data source.Safety settings on this computer prohibit accessing a data source on another domain.why is this happening? 09-21-2005 02:58 PM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact Because you are running cross-domain which is only supported for full-trust solutions?Patrick Halstead [InfoPath MVP]InfoPathDev Patrick HalsteadProject Manager at Qdabra 09-22-2005 06:20 AM In reply to drobins Joined on 08-17-2005 Canada Posts 47 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact If i make an mdb database a resource file will it then be attached to the xsn where ever it gets published?Is it possible to make a data connection to that resource file? Any examples would be greator would i have to make the data connection first and then make the db a resource file? 09-28-2005 08:38 AM In reply to Agni Jonnalagadda Joined on 12-15-2004 India Posts 617 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact Hi Drobins,If your path is a network path and is available to all users in the network then you can can take dataconnection to that file.AgniInfoPath Dev India Agni / http://www.ggktech.com 04-25-2006 07:29 AM In reply to Taffman Joined on 04-24-2006 Posts 102 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact This link is broken!quote:Originally posted by Patrick Halsteadit's probably the xpath filter when you are setting the values. There have been at least 10 posts on how to do this. You need to use the current() xpath function. Check out Greg's HowTo on cascading lists:http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91.Patrick Halstead [InfoPath MVP]InfoPathDev 04-25-2006 07:41 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact Yeah the forum thinks that the period at the end of the sentence should be used in the URL. Try this:http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91 Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 04-25-2006 07:43 AM In reply to Taffman Joined on 04-24-2006 Posts 102 Re: Repeating Table Dropdown Mark as Not AnswerMark as Answer... Reply Contact Many thanks, should have spotted that myself ;-) Page 1 of 1 (14 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
quote:Originally posted by Patrick Halsteadit's probably the xpath filter when you are setting the values. There have been at least 10 posts on how to do this. You need to use the current() xpath function. Check out Greg's HowTo on cascading lists:http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91.Patrick Halstead [InfoPath MVP]InfoPathDev