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 1 (7 items) Re: C# Saving form using field values Thanks, got it to work. I used the second link, as it actually had an explanation to go with the code fragment it gives you. Posted to Code (Forum) by krazykarter on 08-04-2009 Re: C# Saving form using field values That's the problem, I don't know what code to use. The field is called "field1" (because I'm original) and belongs to a group called Form_Info. My latest attempt was this.SaveAs(String.Concat("http://document_library/FILE - ", my:Form_Info/my:field1)); Note: this.SaveAs... is all 1 line, don't know why ... Posted to Code (Forum) by krazykarter on 08-04-2009 C# Using a field name as part of file name in this.SaveAs() I am trying to save a file using this.SaveAs(), but cannot figure out how to include a field name in the title. The field is called 'field1' and is in a group called 'form_info". I am trying to save the form as "File - XX", where XX = field1. How can I use this field value in the file name? Thanks in ... Posted to Code (Forum) by krazykarter on 08-04-2009 Re: C# Saving form using field values To make things a little simpler, I changed the field type to a string, but still cannot figure out how to use this value as part of the file name when saving the file. Posted to Code (Forum) by krazykarter on 08-04-2009 C# Saving form using field values Another simple question. I am trying to save my form using this.SaveAs();, and as the file name I am combining a path with a field value. To complicate things more, that field value is an integer. this.SaveAs("SharepointWebsite/" + integer_field_value) I tried using .ToString(); but that did not work either. How can I add the value ... Posted to Code (Forum) by krazykarter on 07-31-2009 Re: C# How to display a message box? That worked, thanks. Posted to Code (Forum) by krazykarter on 07-31-2009 C# How to display a message box? Hello, Two parter, first part is a question that I would like some help with, and the second part is just some advice. I am using C# for the form code. 1. Is there a way to display a message dialogue box? I am using code to save the form. Since rules are run before the code, I do not want to use a rule to display the message (saying ... Posted to Code (Forum) by krazykarter on 07-31-2009 Page 1 of 1 (7 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.