-
Just an idea for a small workaround. If I remember correctly you can define file types you want the user to be able to attach (e.g. .pdf .doc). Like this you can at least take care that users do not attach any .exe for example which could harm your network/pc.
This of course does not solve your problem but..
-
Hi Shiva,
I guess that his time calculation is already working and he want to receive now the person matich the maximum time value.
Smileforest: If I am correct you just need to pick then the value from the previous node which is giving you the max time value.
-
Thx a lot patrick.
FYI - I am gonna answer your mail when I am back home in the evening. Don't wanna do it from here.
-
Thx Patrick and your welcome,
I learned so much from this forum when I first came into contact with InfoPath that I see it as a kind of duty to also share my knowledge now with others whenever my time allows it.
You are lucky, because we are not allowed to listen to music here. Would make things much easier :)
-
Hi you both,
not sure if this is what you are looking for but for me it worked:
MailMessage objMail = new MailMessage();
objMail.BodyFormat = System.Web.Mail.MailFormat.Html;
objMail.From = ''from@address.ca'';
objMail.To = ''to@address.ca'';
objMail.Subject = ''Test Subject'';
//email body style
objMail.Body = ''<b>FROM:</b>'' ...
-
Just a quick idea:
You can use
System.Environment.UserName.ToString() to get the account name of the currently logged in user.
for John Smith it will be something like jsmith now all you need to do is split/cut this string so that you only have the first two letters left. To auto generate a number you can use the Math.Random method (you should be ...
-
Oh yeah you are right Greg, like always.
May be you could have a custom save button on your form and use the mentioned line of code there.
-
thisXDocument.UI.SetSaveAsDialogFileName(''name'');
put it into an OnContextChange event.
Hope this helps
-
Now if you want to represent the data in a smarter view hide the repeating section, put a dropdownlist control to your view and bind it to the textboxcontrol within your repeating section.
-
Not to sure if I understand you correct but....
so the FOO tags in you xmlNode object are repeating.
What you then can do is to first count how many of these tags you have. Then put a repeating section in your infopath view and put a textbox control into this repeating section.
No you need to create as many repeating sections as you counted tags ...