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 / February 2008

Tip: Looking for answers? Try searching our database.

Infopath Button Programming

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
triciabsullivan - 22 Feb 2008 18:41 GMT
I know how to program a button to email a form to a predetermined
address.  Is there a way to program a button so it will send some of
the data to one person and the rest of the data to another person.
Example:  Separation Form.  Several departments need to know that an
employee has left but only HR needs to know WHY.  Can the form that
IT, Facilities and the Mailroom receive just show the basic info but
the form HR receives would show the confidential info?  The
confidential info would be made up of option buttons and a comments
section.  If this isn't possible can two buttons be used in one form
with the same concept.  The first button would send certain sections
of the form and the other would send different sections.
RonL - 22 Feb 2008 19:12 GMT
Is it possible to send the email to departments a,b and c, change the
fields/sections to not display, and then send to HR ? all done in the on
button click code.  (set an original option to False(by default) , send
email, set to option to True) so that when option is True then the sections
are hidden.

> I know how to program a button to email a form to a predetermined
> address.  Is there a way to program a button so it will send some of
[quoted text clipped - 7 lines]
> with the same concept.  The first button would send certain sections
> of the form and the other would send different sections.
Clay Fox - 22 Feb 2008 20:35 GMT
What Ron describes is one method but if you have confidential information you
are exposing it potentially.  A user could view the attached XML as text and
see the contents even though within InfoPath they do not see the view.

I would suggest a backend database to secure the information. Then the form
can display what each user has access to or each function can have their own
form but the common information can be shared between the forms.

Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> I know how to program a button to email a form to a predetermined
> address.  Is there a way to program a button so it will send some of
[quoted text clipped - 7 lines]
> with the same concept.  The first button would send certain sections
> of the form and the other would send different sections.
 
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.