D
Dave Lomas
This is related to another message I've posted, but on a slightly
different issue with locking appointment items to prevent more than
one user editing them at a time. They're based on a custom form, and
stored in a public folder on Exhcnage 2000 with Outlook 2000 clients.
The issue is that all of the examples I've seen are based around
locking the item with a user property which is set to the current
users name when the item is opened. The property is tested in
Item_Open, and if already set, the next user is not allowed to open
it, etc. The lock is cleared by resetting the user property and
(here's the problem) _saving the item_.
How can I do this when a user chooses not to save changes? I need to
discard any changes the user has made, but still save the item to
update the lock. Can't currently see any way of doing this.
Many thanks for any suggestions.
Regards,
David.
different issue with locking appointment items to prevent more than
one user editing them at a time. They're based on a custom form, and
stored in a public folder on Exhcnage 2000 with Outlook 2000 clients.
The issue is that all of the examples I've seen are based around
locking the item with a user property which is set to the current
users name when the item is opened. The property is tested in
Item_Open, and if already set, the next user is not allowed to open
it, etc. The lock is cleared by resetting the user property and
(here's the problem) _saving the item_.
How can I do this when a user chooses not to save changes? I need to
discard any changes the user has made, but still save the item to
update the lock. Can't currently see any way of doing this.
Many thanks for any suggestions.
Regards,
David.