![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |