Coding in Visual Studio for 2ndary datasource - InfoPath Dev Sign in | Join | Help in General 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 » General » Coding in Visual Studio for 2ndary datasource Coding in Visual Studio for 2ndary datasource Last post 07-27-2006 10:18 AM by Matt Faus. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-01-2006 10:37 AM Adub21 Joined on 05-18-2006 USA Posts 25 Coding in Visual Studio for 2ndary datasource Reply Contact Hi. I need to get at the value of a field in one of my secondary data sources using VB in Visual Studio. I've tried a few differnt options and can't seem to get this working. I've also had a few of the people from where I work try and get to the right set of commands to get to the value of the field and we have had no luck.Thank you in advance for any of your thoughts! 07-27-2006 04:04 AM In reply to shekar Joined on 07-26-2006 India Posts 22 Re: Coding in Visual Studio for 2ndary datasource Mark as Not AnswerMark as Answer... Reply Contact You can retrieve the data from secondary data source using following code for my usage i used a secondary data source an XML file. Heres the codethisXDocument.GetDOM("data").selectSingleNode("/Batch/Method/Field").text Shekarhttp://www.ggktech.com 07-27-2006 10:18 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: Coding in Visual Studio for 2ndary datasource Mark as Not AnswerMark as Answer... Reply Contact You will also want to make sure that the namespaces are being declared correctly, please see this HowTo for more information:http://infopathdev.com/howto/tutorials/default.aspx?i=ed2cf0c5895f468995cdd081cf17fead Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.