Re: Outlook Script: How to get the result of an action

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes I that if save fails it raise an error, but in my script how can I know
if the save was successfull or not

in my script I want to do this
Item.Save
If "the instruction was successfull " then <= I don't know how to do
this check
do some thing
else
do other thing
end if


Thks


"Michael Bauer [MVP - Outlook]" <mb@xxxxxxxx> a écrit dans le message de
news: u4cul4ng11gk.105icnsmqujab$.dlg@xxxxxxxxxxxxx
Am Wed, 18 Oct 2006 09:22:36 +0200 schrieb news.microsoft.com:

If the Save method fails it should raise an error.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi all,

I want to check the result of an action to apply the de right function,
In
my case I save a Task, I used a customized Form and I added a validation
control on some fields => the task can't be saved if some are empty

I want to know the result of this command

Item.Save

Tks


.



Relevant Pages

  • Re: How to fire an event
    ... There is no script code, I have a check box column and I loop thru the rows, ... manipulating the grid in script would cause a server event to be raised. ... The problem here is that I have no idea whether the grid will raise the ... void gd_UpdateRowBatch ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: javaldx failed.
    ... mozilla start from default fails, ... error message. ... console in the icewm window but I resolved this for the console window ... get script ...
    (Debian-User)
  • Re: CreateADUSer function
    ... I'll pos the whole script if you still think its necessary. ... If that still fails and no errors ... through global variables. ... objuser.sAMAccountname = stracctname ...
    (microsoft.public.scripting.vbscript)
  • Re: Win 98SE Update Fails To Start
    ... Did you also disable the script blocking component of your AV? ... Windows folder with Notepad, scroll down towards the bottom for the most ... > process just fails to start. ... I was prompted to install it again. ...
    (microsoft.public.windowsupdate)
  • Re: IDENTITY_INSERT
    ... What I would suggest is, when the script fails, before you run it again, just close your current connection, and then open a new one. ... It is for a large project of converting an application with multiple Access back ends to a SQL server back end, ... I do have a statement to set IDENTITY_INSERT off, but if the INSERT statement fails, the set IDENTITY_INSERT OFF statement, apparently does not run. ... But it is done in the scope of the EXECUTE, ...
    (microsoft.public.sqlserver.programming)