setProperty() function - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

setProperty() function

Last post 03-09-2005 01:48 AM by Shanthi Reddy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-09-2005 01:29 AM

    setProperty() function

    Hi,I have a problem.When i use vs2003 to develop Infopath with secondary data source.I found it didn't have setPropety function.But in javascript has this function.
    example:XDocument.GetDOM("Customers (USA)").setProperty("SelectionNamespaces",
    'xmlns:q="" ' +
    'xmlns:d="" ' +
    Please everyone can tell me how to write in vs2003?thanks.
  • 03-09-2005 01:48 AM In reply to

    Hello liuqian,
    You need to cast the secondary data source dom as an IXMLDOMDocument2 before you setProperty on it. Your code would look something like this in VS2003
    domCustomersUSA = (IXMLDOMDocument2)thisXDocument.GetDOM("Customers (USA)");
    "xmlns:q=\"\" xmlns:d=\"\" xmlns:dfs=\"\"");

    Shanthi Reddy
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.