-
XDocument.View.SwitchView(''MyViewName'') works if I change it to XDocument it will not work as thisXDocument. The PrintOut part does not work no matter how I change the statement.
-
Hi,
You can use code to do this:
To Switch View:
thisXDocument.View.SwitchView(''MyViewName'')
To print:
thisXDocument.PrintOut()
Regards,
Franck Dauché
-
Hi,
I think that Patrick suggested a new template, not a new View.
Franck
-
I am using Visual Basic to program the form. I have a row of buttons and I would like each one to print a different view then return to the main form. I can't get this working. Can anybody help with the VB code I'll switch to JavaScript if I need to, but I don't want to.
-
Hi,
Firstly, Thanks Guys. I have one more question. I found this today. When you are in infopath, if you go to
Insert ->More Controls->Add or Remove Custom Controls->Calendar Control 11.0 . Do you think I would be ablet o modify this to enable users to enter text into it and if so how would you go abut it. I will try out the ...
-
quote:Create a new form from the web method.
How can I do this? New view can create only from task pane.
-
I will give your suggestion a try, I appreciate your replies. Thanks from the Land Down Under.
Bob
-
Hi,
Why you don't make a xml with your details fields and after bind it to infopath as a secondary datasource!
So you can link your textbox to this field make rules for define the value like you do with the field of the primary datasource and the secondary datasource is not send to your database!
++
Thierry
Every moment hesitated is a moment ...
-
Looks like the simple agricultural option is to have our staff hand write the additional details on the printed copy.
-
If the InfoPathControl::Uninit, InfoPathControl::SaveState and InfoPathControl::Enable implementations are getting called, I would suspect a problem with the InfoPathControl interface definition. Are you importing the declaration, or using a hand roled definition of the interface?
If you've hand crafted it, please post you code.
Jim ...