Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2006

Tip: Looking for answers? Try searching our database.

Can InfoPath provide a unique name for each summitted form?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Graham - 06 Jan 2006 20:44 GMT
I was trying to find out if InfoPath has the ability to create a unique name
for each form that is submitted to a mail client. As an example, we have
several users that fill out the same from and submit the data to a mailbox.
The receiver of the e-mails would then receive many e-mails with an attached
XML file of the same name. We would like the attached forms to auto generate
a name based on certain criteria such as time and date. Is this possible?
S.Y.M. Wong-A-Ton - 07 Jan 2006 18:23 GMT
Yes. You could insert a formula in the "Attachment Name" field in the Data
Connection Wizard for email submission and use the now() function in the
formula. InfoPath will then generate a name for the form based on the date
and time every time it is submitted.

If you are using code to submit the form, you can use the AttachmentFileName
property on the EmailAdapter to set the name of the submitted form.

I hope this helps.

Regards,
S.Y.M. Wong-A-Ton

> I was trying to find out if InfoPath has the ability to create a unique name
> for each form that is submitted to a mail client. As an example, we have
> several users that fill out the same from and submit the data to a mailbox.
> The receiver of the e-mails would then receive many e-mails with an attached
> XML file of the same name. We would like the attached forms to auto generate
> a name based on certain criteria such as time and date. Is this possible?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.