-
May be this is also of interest for you guys
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=4116
-
Hi, I would not use the EmailAdapter but MailEnvelope instead.
Just search the from for it an i think you'll find a solution.
Just write your own eMail sending without using the data connection, you can also attach the infopath form to that mail programatically.
-
I think the counterpart for thisXDocument in 2007 is xPathNavigator.
-
Try to delete the first ''/'' in front of my:myFields.
You can actually always use an Expression Box to find out the correct xPath. Just put the ExBox to your form, point it to the control/node you want to know the xPath for and then check the ''Advanced - edit xPath'' check box.
-
Forget about my first post there should be an easier way to do this.
Just use a similar statement as you already wrote in your fist post e.g. : SELECT tires,cars from CarsDatabase FROM IdontKnowYourTableName :)
Now bind both ddls to the repeating node of your data connection and set the value and display name of your first to cars and the other ...
-
Hi,
cannot you do actually the with infopath ?
In your first ddl containing your cars (coming from your fist data connection) set the display name as your cars and the value as your carID.
Set up a second data connection and in the last step of the wizard uncheck the ''retrieve data automatically'' checkbox.
Bind your second ddl (tires) to this ...
-
Hi again,
here may be a small explanation.
With the first ''for'' statement you can create new repeating sections.
Put a repeating section (name Result for top node and Results for repeating node) to your form and add one textbox control to it.
Put a button to your form and copy the code (after conversion though) into your onClick event of the ...
-
Yes this is possible but what do you mean by:
''when the user press the enter key''. Is this a custom button you have in your form ?
-
Hi,
you can actually create new repeating tables dynamically (so implement the ''Insert Item'' function:
Below is the code example, but take care it's in C# so you have to convert it to your JScript:
Use this to create a new repeating section (Result is the name of the repeating section)
//generate as many sections as you need ...
-
For your custom mail you can use this code behind your button:
MailEnvelope objMail = thisApplication.ActiveWindow.MailEnvelope;
objMail.To = '''';
objMail.CC = '''';
objMail.Subject = '''';
objMail.Visible = true;
You can use below class to pass either the users login (samacountname) name, real name (name) or eMail (mail) and ...