Current and Position ---- always one (1) ? - InfoPath Dev
in

InfoPath Dev

Current and Position ---- always one (1) ?

Last post 02-02-2011 11:49 AM by Maureen57. 18 replies.
Page 2 of 2 (19 items) < Previous 1 2
Sort Posts: Previous Next
  • 01-19-2011 07:14 AM In reply to

    Re: Current and Position ---- always one (1) ?

     Trying to use relative paths --- following some instructions I found on this site.   This is my code:

     XDocument.DataObjects("vw_Fedex_SPOD_N").DOM.setProperty("SelectionNamespaces",'xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" ');

    trackingnum = eventObj.Source.selectSingleNode("../@TransmartTrackingNumber").text;

    With this syntax, I get the error that there is no object.

     

    THANK YOU THANK YOU 

  • 01-19-2011 07:32 AM In reply to

    Re: Current and Position ---- always one (1) ?

    Try removing the ../

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 01-19-2011 08:11 AM In reply to

    Re: Current and Position ---- always one (1) ?

     Worked again...THANK YOU so much

  • 02-02-2011 11:49 AM In reply to

    Re: Current and Position ---- always one (1) ?

     Can you use an index or a relative path when you call an email webservice?   

     

    I seem to always be feed the email with the first instance of the group.

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