thisXDocument.IsNew statement - InfoPath Dev Sign in | Join | Help in Controls InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Controls » thisXDocument.IsNew statement thisXDocument.IsNew statement Last post 03-28-2007 10:20 AM by Greg Collins. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 03-27-2007 02:40 PM shaun.nieves Joined on 12-13-2006 Posts 62 thisXDocument.IsNew statement Reply Contact Is it possible to use this in an expression to disable a button. I tried to use not(thisXDocument.IsNew) but it's not working. Any guidance would be appreciated. Thanks! Shaun NievesSharepoint Manager 03-27-2007 03:59 PM In reply to Greg Collins Joined on 08-07-2006 Posts 2,126 Re: thisXDocument.IsNew statement Mark as Not AnswerMark as Answer... Reply Contact You are mixing XPath and C# -- this won't work.In your OnLoad function, set the value of some field based on the IsNew property. Then use conditional formatting based on the field value. Please Visit:BraintroveGreg's Paintings 03-27-2007 04:43 PM In reply to shaun.nieves Joined on 12-13-2006 Posts 62 Re: thisXDocument.IsNew statement Mark as Not AnswerMark as Answer... Reply Contact I had thought of that but was trying not to create another field. Thanks for the info! Shaun NievesSharepoint Manager 03-28-2007 10:20 AM In reply to Greg Collins Joined on 08-07-2006 Posts 2,126 Re: thisXDocument.IsNew statement Mark as Not AnswerMark as Answer... Reply Contact Glad to help out! Please Visit:BraintroveGreg's Paintings Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.