PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Item send overide/abort on a code condition
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Item send overide/abort on a code condition
![]() |
Item send overide/abort on a code condition |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have created a custom form (email) with a few lines of validation code for
the text boxes, but i need to prevent the form being sent if the validation fails. What is the easiest way to do that? I need to distribute this form in the organisational forms library. all sugestions welcome! |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Put code in the Item_Send event handler:
Function Item_Send() If <your criteria are not met> Then Item_Send = False End If End Function -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "A Reno" <AReno@discussions.microsoft.com> wrote in message news:26AE0519-D3BF-43E9-AA6D-C0FF78FC9C15@microsoft.com... >I have created a custom form (email) with a few lines of validation code for > the text boxes, but i need to prevent the form being sent if the validation > fails. What is the easiest way to do that? I need to distribute this form in > the organisational forms library. > > all sugestions welcome! > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

