Coding in Visual Studio for 2ndary datasource - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 06-01-2006 10:37 AM

    • Adub21
    • Not Ranked
    • Joined on 05-18-2006
    • USA
    • Posts 25

    Coding in Visual Studio for 2ndary datasource

    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
    • Not Ranked
      Male
    • Joined on 07-26-2006
    • India
    • Posts 22

    Re: Coding in Visual Studio for 2ndary datasource

    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 code

    thisXDocument.GetDOM("data").selectSingleNode("/Batch/Method/Field").text
    Shekar
    http://www.ggktech.com
  • 07-27-2006 10:18 AM In reply to

    Re: Coding in Visual Studio for 2ndary datasource

    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 MVP
    Qdabra® 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.