PC Review


Reply
Thread Tools Rate Thread

Conflict Message - Outlook 2003 Task

 
 
Joel
Guest
Posts: n/a
 
      1st Apr 2004
My custom form is in a public folder.
When two people are in a task and they save it, we get a
conflict message e-mail and it gives us the option of
saving one of the two or both Tasks.

How can I make it so that when someone opens up a task, it
sets it as read only, so that when another person opens
the task it says that it's read only?

My goal is to avoid these conflict messages.

Thanks for your help,
Joel
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      1st Apr 2004
In Item_Open check a Boolean UserProperty on the item to see if it's True.
If it is someone else has it opened first. Then disallow saving that item
(cancel in Write and you can lock your controls). If it's False set it to
True so other users will see it as read-only. When you exit the form clear
that property back to False.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Joel" <(E-Mail Removed)> wrote in message
news:1690901c41798$b9ad80c0$(E-Mail Removed)...
> My custom form is in a public folder.
> When two people are in a task and they save it, we get a
> conflict message e-mail and it gives us the option of
> saving one of the two or both Tasks.
>
> How can I make it so that when someone opens up a task, it
> sets it as read only, so that when another person opens
> the task it says that it's read only?
>
> My goal is to avoid these conflict messages.
>
> Thanks for your help,
> Joel



 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      1st Apr 2004
Ken,

Thanks for your reply. I've been trying this for a while
and can't seem to get it. Do you possibly have a code
sample you could supply me with to get me going in the
right direction? Your help is greatly appreciated.

-Joel

>-----Original Message-----
>In Item_Open check a Boolean UserProperty on the item to

see if it's True.
>If it is someone else has it opened first. Then disallow

saving that item
>(cancel in Write and you can lock your controls). If

it's False set it to
>True so other users will see it as read-only. When you

exit the form clear
>that property back to False.
>
>--
>Ken Slovak
>[MVP - Outlook]
>http://www.slovaktech.com
>Author: Absolute Beginner's Guide to Microsoft Office

Outlook 2003
>Reminder Manager, Extended Reminders, Attachment Options
>http://www.slovaktech.com/products.htm
>
>
>"Joel" <(E-Mail Removed)> wrote in

message
>news:1690901c41798$b9ad80c0$(E-Mail Removed)...
>> My custom form is in a public folder.
>> When two people are in a task and they save it, we get

a
>> conflict message e-mail and it gives us the option of
>> saving one of the two or both Tasks.
>>
>> How can I make it so that when someone opens up a

task, it
>> sets it as read only, so that when another person opens
>> the task it says that it's read only?
>>
>> My goal is to avoid these conflict messages.
>>
>> Thanks for your help,
>> Joel

>
>
>.
>

 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      2nd Apr 2004
'module level declaration:
Dim blnReadOnly

Function Item_Open()
If Item.UserProperties("ReadOnly") Then
blnReadOnly = True
Else
blnReadOnly = False
End If
End Function

'check in Item_Write and if True then Item_Write = False
'in Item_Close if Item.UserProperties("ReadOnly") then set it False and set
blnReadOnly False and save.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Joel" <(E-Mail Removed)> wrote in message
news:1703001c4182d$cabf8300$(E-Mail Removed)...
> Ken,
>
> Thanks for your reply. I've been trying this for a while
> and can't seem to get it. Do you possibly have a code
> sample you could supply me with to get me going in the
> right direction? Your help is greatly appreciated.
>
> -Joel



 
Reply With Quote
 
New Member
Join Date: Dec 2010
Posts: 4
 
      2nd Mar 2011
Hi Joel,

I have the same issue and was wondering if you could point out what you changed?
I am at lower level VBA and wanted to know if you had the code you used to set the task as read only if someone was editing it - as you wanted in 2004...Many thanks , CJS
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conflict Message in Outlook 2003 jaydenop@gmail.com Microsoft Outlook 1 6th Mar 2009 05:55 PM
Outlook 2003: Prevent message when set reminder-time for a task Oskar Vaia Microsoft Outlook Form Programming 7 17th Nov 2007 02:54 PM
Cannot Drag Message into Task - Outlook 2003 =?Utf-8?B?R2lhbmFKTA==?= Microsoft Outlook Discussion 2 31st Jul 2006 08:01 PM
Save Task Order Error Message Outlook 2003 =?Utf-8?B?U3Vl?= Microsoft Outlook Discussion 3 8th Dec 2005 03:54 AM
Outlook Contact Conflict Message Dawn Microsoft Outlook Contacts 0 23rd Jun 2004 02:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:04 AM.