Use our Google Custom Search for best site search results.
Search
-
Exactly. My save function validates the form data, fetches an Id from a database using a stored procedure and then submits the form to a Sharepoint form library. The form closes alright but Infopath and that Getting started dialog opens up instead.
-
Well, there might be one somewhere but I can't find it though.
-
I.m using Infopath 2007 with the 2007 object model and managed C# code. I am saving the form using custom code and like to close the form and Infopath after save. The form close alright but the Infopath application is still running with the "Getting started" dialog on top. Could someone enlighten me on how to achieve this? ...
-
I'm having the same problem but I.m using Infopath 2007 with the 2007 object model and managed C# code. Could someone enlighten me on how I should code to close both the form and Infopath?
Regards Razor
-
By God Sir, You are right! And now it works perfectly.
Thanks for Your much needed advice.
-
Infopath 2007 Visual Studio 2008, .NET 3.5, C#
Hi, I'm new on C# and Infopath 2007.
I'm trying to write code in FormEvents_Loading to check if the current form is new (not previously saved) but I can not use the examples I find on web:
public partial class FormCode
{
private ...
-
I've been using the the HowTo method to split a repeating table over multiple pages but I always end up with an extra empty page as page no 1. If I instead position the page break below the repeating table I get an extra empty page at the end. Even when I make the section as small as half the height of a page (in print preview) I will get an extra ...
-
Thanks Matt!
A very well working solution.
Regards
-
I have a form that only displays data from an XML-file generated by another application. The user can not enter data in the form. In this form there is a repeating table with ExpressionBoxes and I only want it to display the last 10 rows from the XML-file. For example: If there is 12 rows in the XML-file the table shall skip the two first and ...
-
Thanks for your reply Matt!
I tried your suggestion but the printer refuses to change the settings between the PrintOut() calls. It works only if I print one view at the time. I was using this code with a button on the default view:
thisXDocument.PrintOut()
thisXDocument.View.SwitchView(''A3'')
thisXDocument.PrintOut()
First I print the default ...