Use our Google Custom Search for best site search results.
Browse by Tags
-
I have created a Shipping Request Form and have been using it for years. It is posted to SharePoint and sent to print via code this .Print( true ); InfoPath 2010 is being used. Recently I was asked if I could create a Packing Slip to go with the product we ship, so I created another view, and would like...
-
Using Infopath 2010, browser enabled form on Sharepoint 2010, coding is in VB. I created a field called GoToView that get's the name of a view based on a Sharepoint list with a filter based on two drop down boxes. To verify the result I temporary show the content of this field in a text box. This...
-
Hi, I have a 2007 form which opens other 2007 forms from code. I open the forms and submit them, to ensure that the OnFormOpen code gets run, and the data checked/updated on a regular basis. Neither the starting form or the forms it opens are browser enabled. My starting form is published to SharePoint...
-
How do I make controls required only if a radio button a control is a certain value? I know I can do this based on the OnAfterChange, just not sure what the code would be. Just to rephrase - Is there a programatic way (Vbscript) to set the attribute (Can Not Be Blank) for a control? example: if (XDocument...
-
I have a form with a button running rules to submit my form to a SP library and close my form. Then I added some code to that same button to do some other stuff...this was before I found out that rules run before code. Now I assume that I need to remove those rules and have the submit done at the end...
-
Hi, I encounter same error message as cywan. My form have custom code in it. In my code, I populate data from database and write the data to repeating table using XmlWriter. The error message occur at XmlWriter.Close() Please kindly advice. I'm at wit end here. Thank you in advance. Regards, TZA
-
Guys, How would I programmatically change the default view of an InfoPath form (on Load) via VB? I've found the following code snippets: BLOCKED SCRIPT XDocument.ViewInfos("My View Name").IsDefault = true; C#: thisXDocument.ViewInfos["My View Name"].IsDefault = true; ...but none...
-
Hello, I am attempting to have upon submit an email sent to the inputed email address but what I want it to do is have the from email automatically set to a noreply@email.com address instead of the end users personal email. I do not want the end users going out to the world when they are using the form...
-
I am using the code below to change the location of a Secondary data connection. This works fine but if the file does not exist, the FileQueryConnection.Execute() method generates an error of its own regardless of the Try block. I would like to avoid this error (confuses the users) by checking for the...
-
Hi all, I've been poking around and came across Matt Faus' Blog about this subject here I see that it is written in C#, but I have my project created with VB. I already have code written, so switching isn't really an option, plus I am more familiar with VB (but by no means am I considered...
Page 1 of 1 (10 items)