A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Interupting SEND function



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 13th 07, 04:50 PM posted to microsoft.public.outlook.program_forms
daveh
external usenet poster
 
Posts: 17
Default Interupting SEND function

I have a custom Outlook form When someone presses the SEND button, I have
some logic to make sure certain items are filled in. If they are not filled
in, I don't want the form to send and I do want the form to remain open.
Is this doable?
Thanks!
Dave
Ads
  #2  
Old July 13th 07, 04:55 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Interupting SEND function

Either use validation formulas for the desired fields, or writte validation code in the Item_Send event handler.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"DAVEH" wrote in message ...
I have a custom Outlook form When someone presses the SEND button, I have
some logic to make sure certain items are filled in. If they are not filled
in, I don't want the form to send and I do want the form to remain open.
Is this doable?
Thanks!
Dave

  #3  
Old July 14th 07, 04:54 AM posted to microsoft.public.outlook.program_forms
daveh
external usenet poster
 
Posts: 17
Default Interupting SEND function

I do validate in the Item_Send, but it still closes the form
DAVE

"Sue Mosher [MVP-Outlook]" wrote:

Either use validation formulas for the desired fields, or writte validation code in the Item_Send event handler.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"DAVEH" wrote in message ...
I have a custom Outlook form When someone presses the SEND button, I have
some logic to make sure certain items are filled in. If they are not filled
in, I don't want the form to send and I do want the form to remain open.
Is this doable?
Thanks!
Dave


  #4  
Old July 14th 07, 01:54 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Interupting SEND function

To cancel the send, you need to set the return value of the function to False, e.g. Item_Send = False. That should leave the item open and unsent.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"DAVEH" wrote in message news
I do validate in the Item_Send, but it still closes the form
DAVE

"Sue Mosher [MVP-Outlook]" wrote:

Either use validation formulas for the desired fields, or writte validation code in the Item_Send event handler.

"DAVEH" wrote in message ...
I have a custom Outlook form When someone presses the SEND button, I have
some logic to make sure certain items are filled in. If they are not filled
in, I don't want the form to send and I do want the form to remain open.
Is this doable?
Thanks!
Dave


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the 'Bcc' function to send emails Doron Outlook Express 12 April 13th 07 03:39 AM
Combined Send and Post Function Dino Outlook - Using Forms 4 January 30th 07 11:58 AM
accounts seem ok but no send/receive button or function fenton2 Outlook - Installation 1 December 17th 06 11:54 PM
Send Function Stopped Working B17 Outlook Express 5 June 22nd 06 04:22 PM
Send From function in Outlook 2003 cruwyser Outlook - General Queries 1 May 24th 06 02:52 PM


All times are GMT +1. The time now is 12:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.