Can XDocument.GetDOM("datasource") be used on a primary datasource - InfoPath Dev
in

InfoPath Dev

Can XDocument.GetDOM("datasource") be used on a primary datasource

Last post 06-26-2008 11:37 AM by shekar. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-23-2008 06:43 PM

    Can XDocument.GetDOM("datasource") be used on a primary datasource

    Can XDocument.GetDOM("datasource") be used on a primary datasource? I keep getting an error.

     A call to XDocument.GetDOM failed. The DataObject "Main" does not exist.

     If I can't use it on a main how do I acomplish my task.  If it can what might I be doing wrong?

     

    THanks,

     

    Randy

  • 06-26-2008 11:37 AM In reply to

    • shekar
    • Not Ranked
      Male
    • Joined on 07-26-2006
    • India
    • Posts 22

    Re: Can XDocument.GetDOM("datasource") be used on a primary datasource

    Hi

    Use "XDocument.DOM" to access Primary Datasource , XDocument.GetDOM("secondary data source name");

     Hope this helps you.

    Shekar
    http://www.ggktech.com
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.