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