-
try Application.ActiveWindow.MailEnvelope;
instead of your XDocument.View.......
-
So I guess in your Database your SID field is set as type Int
What you then have to do within your infopath form is:
go to your repeating table, double click the textbox control where you enter your SID and change the Data Type from Text(String) to WholeNumber(Integer).
Does it work ?
-
You can use code within the onclick event of your button.
thisXDocument.PrintOut() should do the trick (C# code).
for scripting i guess it something like XDocuemnt.PrintOut();
Keep in mind if i remember correctly you have to set your from to FullTrust when using the PrintOut method, hmm or was it the SaveAs method. Just give it a try.
-
You don't even need the checkbox within your view. It's enough to have it in your datasource. So just delete the checkbox from your view and it still stays in your ds.
-
Users can actually use the ''Find'' from the toolbar menu. It's under the ''Edit'' tab.
To implement this functionality by custom code would cost you a really really long time in my opinion. Just quess if you want to search for a word also in textboxes for example.
I think you could may be achieve this with a custom button with code that runs ...
-
check out this post may be it's helpful
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=4546
-
Okay depending on how many views you have would it be an idea,
to make a copy of each view, give them different colors or what ever during design time and then make your decision in your on load event which views to use.
-
Question. Are FORREVIEW and DocumentTitle the names of your controls within your Infopath form ?
If yes then in code you have to use something like this:
IXMLDOMNode myForReview = XDocument.Dom.SelectSingleNode(''my:myFields/my:FORREVIEW'')
and then in your subject you can use myForReview.text
-
HI,
you have to change your ''string xPath'' to ''var xPath''.
Don't forget you use scripting.
-
Hi,
please have a look under this link here, I guess it can help you
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=4546