Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 1 of 2 (12 items) 1 2 Next > Re: Lock an entire form Locked so that if the user opens the form in infopath it cannot be changed. The only way I was able to figure it out was to go to each field and set a condition that set the control to read only based on a hidden fields flag. Posted to Code (Forum) by leetrotter on 10-26-2005 Lock an entire form Hi All, Is there a quick and easy way to lock all the fields on an entire for without signing them? Thanks Lee Posted to Code (Forum) by leetrotter on 10-25-2005 Re: Saving without user interface Hey there, while I'd like to know why the thisXDocument.Save() was not working as was documented I have a work around. The functions that would have called the thisXDocument.Save() event I have placed a check thisXDocument.IsNew() if the is new returns true then the use gets a message box saying they must save the form first using the save icon. ... Posted to Code (Forum) by leetrotter on 10-24-2005 Re: Saving without user interface further, I have the save as file name already set using the thisXDocument.UI.SetSaveASDialogFileName(stringhere); But that does not open the save as dialog box, it only sets the name for when it gets opened later. Posted to Code (Forum) by leetrotter on 10-24-2005 Re: Saving without user interface I am saving back to the sharepoint library. Not submitting. I cannot use the submit because if I create a submit button using a data connector, etc, etc, the submit works BUT does not execute my custom logic first and as such the form is submitted with the wrong values in some of the fields. If there is a way you can tell me that I can fire my ... Posted to Code (Forum) by leetrotter on 10-24-2005 Re: Saving without user interface Hi Franck, seems I would be over complicating a simple issue (or what should be I think), I have tried to set a full path in the .SaveAs event back to the Sharepoint site but still get the error. The documentation says that the .Save event does not need a file name, I guessed then that this would be the same as clicking the save icon on a new ... Posted to Code (Forum) by leetrotter on 10-24-2005 Re: Saving without user interface Hi Franck, here is the existing code from that function, I had already added functionality to that as is described on the MS site. This code works good if it is an existing form that I have re-opened or if the user clicks the save icon in the tool bar. But I need to be able to start the save process from code on a new form that has not yet been ... Posted to Code (Forum) by leetrotter on 10-24-2005 Saving without user interface Hi All, I've seen a couple of questions like this one, but nothing that is the same as my issue. I am using Infopath 2003 with SP1, C# Managed Code. I have a button on my form, that when the user clicks it the form needs to save to a sharepoint library. The file name will be preset based on a field in the form. Here is my code for the command ... Posted to Code (Forum) by leetrotter on 10-24-2005 Re: Deploying Forms Hi Patrick, I would have liked to stay with semi-trusted forms, but the client wanted more functionality. I have tested what you describe and it worked. If I only changed the certificate that the form was signed with then the form remained intact and the digitial certificates on the existing forms remained valid. However, I also tested adding ... Posted to General (Forum) by leetrotter on 10-17-2005 Access Secondary Data Source Hi All, I have a form that is kept in a WSS library. When a new form is opened I need to increment the serial number. I have created a seconary data source that accesses the title field in the sharepoint library which *should* give me a list of all the existing serial number, that should return the file name which is also the serial number ie ... Posted to Code (Forum) by leetrotter on 10-14-2005 Page 1 of 2 (12 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.