Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 1 of 1 (10 items) Re: How do I bind a list box to an existing dataset? disregard this post Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? I'm using InfoPath 2007. I have given in and am now trying to use a repeating table instead of a list box. I read that you can format it to scroll like a list box so it might work for me. I was able to create the data connection to the xml file and bind the repeating table to it successfully. Now I just need to get it ... Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? It was bound to a repeating group...the datasource I created. I deleted both the datasource and the list box. It doesn't create a data source for me automatically...when I ad a list box it pops up the window to select the binding...there's no option to have it create a data source for me. Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? Tried that, unfortunatel it didn't resolve my issue. I get the same errors. Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? I went to Manage Data Connections, then added a data connection > new connection to receive data > XML Document > selected my PatientData.xml file > selected Access data from the specified location Then when I add the list box, I get the automatic List Box Binding pop-up > then select the PatientData (secondary) data source ... Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? Okay I may have it now using dataRow.Field. See below... Next thing I noticed is that when trying to bind my list box to the PatientData datasource, I get the error that "a list box cannot be bound to a group or repeating field..." What should I bind it to? foreach (DataRow dataRow in ... Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? Okay, thanks. I'm on the right track now...but still getting some errors. See my comments to the right of the code. The xml file is called PatientData.xml and I created a datasource called PatientData that references the xml file. ... Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? Okay, I've finally been able to get back to this and I'm having trouble. I have created the empty xml file (PatientData.xml), now I need to populate it with my dataset. It looks like in this example this is getting its data from a sharepoint list, but my datasource is a SQL Stored Procedure. I'm not sure how ... Posted to Newbie Questions (Forum) by rbemiller on 06-03-2010 Re: How do I bind a list box to an existing dataset? Thanks very much Mgarant. I think this looks like a good start. I'll try this and see where I get. Posted to Newbie Questions (Forum) by rbemiller on 06-02-2010 How do I bind a list box to an existing dataset? Hi all, I'm a newbie to this forum. Great stuff on here. I'm trying to ad a list box to a web enabled form. The form currently has a User ID text box that serves as a lookup/search field. Currently it triggers a sql query which returns all Users that are LIKE the searched User ID...but I need to make ... Posted to Newbie Questions (Forum) by rbemiller on 06-02-2010 Page 1 of 1 (10 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.