Help with code for creating a calendar task - InfoPath Dev
in

InfoPath Dev

Help with code for creating a calendar task

Last post 12-19-2010 06:52 PM by pluttod. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-15-2010 07:56 AM

    Help with code for creating a calendar task

    I have a form with a database as the data source, and when I debug the code i get the following error:

    NullReferenceException was unhandled by user code 

    associated with this line of code

    taskItem.Subject = root.SelectSingleNode("my:myFields/my:dataFields/d:Table1/my:Activity", NamespaceManager).Value;

     the form is refernced to Microsoft Outlook 12.0 Object Library

     

     

  • 12-19-2010 06:52 PM In reply to

    Re: Help with code for creating a calendar task

    I found the answer i was looking for

    "/dfs:myFields/dfs:dataFields/d:Table1/@Activity"

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