infopath-2007

InfoPath 2007 error when opening file

We have some InfoPath (XSN) forms with code-behind hosted in MOSS that have data connections to SQL Server. I did some work on them in the summer to change one of the data connections - did the work, checked it into Sourcesafe, uploaded it to a UAT server. We now need to do some more work on these forms, but no-one, including me, can now...

Infopath questions about views

I have an infopath form with 4 views. I want users to be able to send the form to anyone but I want the current view to be sent and also to be editable. Currently, if they choose "send to mail recipients" the options to send an editable form sends it with the default view instead of the current view they filled out. Is there a way to ...

Loading a form into InfoPath FormControl with parameters

Is there a way to pass parameters into an InfoPath FormControl hosted in a WinForms/WPF application the way they can be passed via a URL and the command line? Our forms depend on parameters passed to them on startup to execute a custom data connection to pre-populate them, but the control does not appear to support parameters. A bit of...

How do I programmatically nullify a File Attachment in InfoPath Forms

Howdy all, I'm running into a problem with some InfoPath C# code while trying to remove an attachment from a form. Basically the process is: User opens form User clicks button File attachment is cleared I've tried adding a blank attachment to my schema that never becomes populated, then setting the original field's value equal to t...

InfoPath 2007 - adding an attribute and childNodes through Managed Code

I’m converting my InfoPath 2003 Object Model Codes to InfoPath 2007 Managed Code, I want to add an attribute and childNodes to a section of form on form load event (FormEvents_Loading). I want to update the following section: I was to add an attribute to mstns:SpecificBook node and a few child node. The result should be: ...

How to Submit Data through InfoPath Form to an MS Access Database on Sharepoint 2007 (MOSS 2007)

Maybe I just haven't figured out the InfoPath paradigm yet, but any links, or answers would be extremely grateful. Here is my intent: Publish an Access Database on MOSS 2007, and then have InfoPath forms submit and retrieve data from that Access database. How is this achieved? ...

InfoPath Repeating Group with Data from SharePoint and User Input

I have a series of questions which are pulled from a SharePoint list and loaded into a repeating section. The section has three elements, the Question # (from SharePoint), and Question itself (from SharePoint), and a drop down box Yes/No (NOT from SharePoint)... The repeating group portion works just fine, it is pulling all Question # ...

Duplicate entries in infopath form

Hi; Can i prevent duplicate entries in infopath form ? the form is not connected to database. ...

How to clear cache for previously installed InfoPath forms on a client computer?

Hi folks, We recently had a strange issue with an InfoPath 2007 form being opened from SharePoint 2007 and receiving the error message "the system cannot find the file specified". To be clear, this was not a form services enabled form. Anyway, after spending way too much time trying to figure out what was going on (nothing in the MOSS ...

Extract Rules from InfoPath Form

Is there a way to automatically grab the rules, in their original, human readable format from an InfoPath 2007 form (probably the manifest.xsf file, they're not human readable here)? A commercial tool would be fine, even. We're looking to build a summary of the rules as they appear in the design form for easy browsing by a maintenance ...

Double data entry system using Infopath 2007 how to compare 2 infopath documents for differences ?

How to compare 2 infopath documents craeted using double data entry system for differences ? We have a small project contains few infopath forms. Client is using double data entry system to reduce the errors. We are maintaining entry number in infopath form to seperate each entry. Note: I know we can compare xml data files of 2...

How to limit access to an InfoPath form when form library requires all users have contribute permissions.

I am using MOSS 2007 and InfoPath 2007 on a government network. I have created a form that allows users to enter a request for TDY (trip) and submit to his/her supervisor for approval. The form must be approved/digitally signed at several levels in a chain of command. I use views in InfoPath to manage the process. My challenge is limiti...

Is it possible to create Infopath Colour schemes?

Infopath by default has a set of color schemes, I am wondering if it is possible to add my own color schemes to the list? ...

How to perform SharePoint workflow task in Windows Form Application?

Dear all, As captioned, is it possible to perform SharePoint workflow task in Windows Form Application? And how? We are running one MOSS application as below:- user use InfoPath request form to trigger workflow attached to SharePoint document library all sub-sequent tasks are performed by users by InfoPath task form within SharePoint...

How to submit/update/delete data through InfoPath Form to an MS Access Database on Sharepoint 2007

Hi I want submit Data/update/delete through InfoPath Form to an MS Access Database on Sharepoint 2007 (MOSS 2007), If custome code require please give code. Thanks ...

Getting a manager to authorize/verify details on a form

Scenario I have an InfoPath form. the user fills it in the details, and then a manager checks it over for accuracy. The manager then signs off the form to say that they are happy with the details and then the form gets submitted. This process does not happen every time and its purpose is to validate that the user is performing the job t...

Get Sharepoint Forms Library path the form is opened from

Hi, I am developing an InfoPath form and publishing it to the Forms Library on SharePoint. I am also using VSTA to write some C# code for the form. How can i get the Forms Library Path programmatically from which the the form is opened from? So for example if the form is saved at http://servername/sitename/FormsLib1/Form1 then, then in...

Problem in dynamically load data to Drop-Down list box in InfoPath 2007?

I have a Drop-Down list in my InfoPath form and I am loading some other fields based on the selection of the drop-down list. so that I have written code as follows for the "changed" event of the drop down list. public void ProjectName_Changed(object sender, XmlEventArgs e) { string projectId = e.NewValue; dataQue...

Instantly update a textbox in InfoPath 2007

Hello. I'm trying to create an input form similar to a text message. I have a large textbox for the message, and I have a small textbox that is read-only that I want to show the character count. I got this to work by setting the default value of the small textbook to the string length of the large textbox. This works correctly, but I wo...

Infopath 2007 change attribute on choice section change

I have an attribute in an xsd I am trying to modify when the user is authoring the infopath form. There are three choice sections in a choice group and I would like to change to a different value for my attribute when the user chooses a different choice section. This is what my attribute looks like. I would like to switch to one of th...