Browse by Tags - InfoPath Dev

InfoPath Dev

All Tags » code » VB (RSS)

Use our Google Custom Search for best site search results.

Browse by Tags

  • Print Multiple View problems

    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...
    Posted to Views (Forum) by mcminmark on 05-07-2013
  • ViewInfos.SwitchView getting view name from field

    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...
    Posted to Views (Forum) by Sander0123 on 11-21-2012
  • Opening one InfoPath form from another in Code

    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...
    Posted to Code (Forum) by Catharine on 03-29-2011
  • Using VBscript to set a control to be required or not required

    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...
    Posted to Code (Forum) by martinpalmer on 05-05-2010
  • Need help with custom submit button

    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...
    Posted to Code (Forum) by KarenSL on 11-06-2009
  • Re: Schema validation found non-datatype errors

    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
    Posted to Code (Forum) by tza_03 on 07-06-2009
  • Programmatically changing the default view of an InfoPath form (on Load) via VB

    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...
    Posted to Newbie Questions (Forum) by tavalanche on 04-08-2009
  • Email Submit Function

    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 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...
    Posted to Code (Forum) by DrewB83 on 12-11-2008
  • Checking for the existence of a file

    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...
    Posted to Code (Forum) by PhDUltra on 12-11-2008
  • Printing a View with Table Headers and Not splitting Row info

    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...
    Posted to Views (Forum) by Patrick on 08-28-2008
Page 1 of 1 (10 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.