-
If you have a database type form you can submt what you query back to the database. You may want to check out the Database Accelerator and web services if you want more flexbility with how you query and submit.
Qdabra Database Accelerator Suite Version 2.1 - Developer
-
That's brilliant thanks for posting, it must have taken sometime to write!
One question for you though, if I create a submit button that submits via code, it will only let me do it in C# or VB, not JScript as it is a form that will be filled out via a webbrowser. Where abouts do I put the JScript code?
Thank you again for posting that, its ...
-
The solution to this was in Form Options > Advanced > Default values. From there uncheck the unwanted rows/delete them.
-
I'd guess the problem is that your xpath selects the attribute field. If dfs:Risk_Actions is your repeating field, don't include "/@Situation" in your xpath; otherwise, the returned node set will contain the Situation attribute of the first node.
-
You don't have to set your default printer to PDF - you can just set it so the form itself prints to PDF by default. If you go into View Properties from the Views task pane and click on "Page Setup", you'll see the Printer name option.
-
So many ways to do this with JS, but the easiest is to use the Application.IsDestinationReachable method to programatically see if the file already exists in SharePoint. Try this code:
myFileNameField = XDocument.DOM.selectSingleNode("//fileNameField").text;
myURL = ...
-
you can use a simple xpath like this:
count(row[not(preceding::row = .)])
that will give you the count of distinct values.
-
I have been searching around the forum here and alot of useful and great information!
I have created a form that is based off a data source(sql server) with some managed code(VB.net). I am creating the form within Infopath 2007, however it has to be backwards compatible with InfoPath 2003, and eventually will publish form on ...
-
I'm using InfoPath 2003 & SharePoint 2007. The code is written in JScript. And this assumes you already have the list created in SharePoint. Here's how I added items to a list in SharePoint:
First, you need to obtain the GUID for the SharePoint list and add that as a field on the InfoPath form. ...
-
We modified the massive core.js file to not instanciate the HTML editor until you click into the field. This greatly reduced the leak when opening the form and viewing the information. And when the form is closed, as long as the user didn't click into a field, the memory that was used is garbage collected and can be used ...