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

outlook 2003/2007: item.save



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 20th 07, 09:37 AM posted to microsoft.public.outlook.program_forms
Oskar Vaia
external usenet poster
 
Posts: 29
Default outlook 2003/2007: item.save

Hi,

here the code were i have implement the "item.save"-command:

---
Sub Item_CustomPropertyChange(ByVal Name)
if CB5Source = 0 then

Dim RetMsgBox
Select Case Name
Case "Mahnung1"
If item.userproperties("Mahnung1").Value = false then
RetMsgBox = MsgBox ("Are you ...?", vbYesNo, "ATTENTION!")
if RetMsgBox = vbYes then
item.userproperties("Mahnung1").Value = False
item.userproperties("MB1").Value = "01.01.4501 04:00:00"
Item.GetInspector.ModifiedFormPages("Inkassi").Con trols("LabelMB1").Visible
= false
item.userproperties("aktMahnstufe").Value = ""
GetInspector.ModifiedFormPages("Test").Controls("C ommandButton6").Caption
= "1. sollecito"
item.save
elseif RetMsgBox = vbNo then
end if
end if
Case "Mahnung2"
...
End Select
end if
end sub
---

after i respond with "Yes" on the Dialogbox the command item.save will save
my item.
My question:
Why, when i then immediately will close my item i receive another time the
question if i will save my item or not?

thx & bye

Oskar


Ads
 




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
Outlook 2003 - in Calendar - get error message 'cannot save item' Martina Outlook - Calandaring 0 April 19th 07 03:20 PM
Item.Save and Item.Close Script causes Outlook 2007 to Crash Rayyan Outlook - Using Forms 6 November 25th 06 04:14 AM
Error "could not save item" in Outlook 2003 didi Outlook - Calandaring 2 August 7th 06 07:33 PM
Outlook should ask if I want to save a sent item Jamesy W FBorough Outlook - Installation 1 July 11th 06 10:17 PM
Outlook 2003 throws an unhandled exception when I save a new item Engineer Rick Outlook - Calandaring 0 January 30th 06 06:57 AM


All times are GMT +1. The time now is 09:23 AM.


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.