Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / February 2004

Tip: Looking for answers? Try searching our database.

Disable standard fields?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Albacrest - 25 Feb 2004 11:55 GMT
Is it possible to prevent users from changing standard fields?

Here's what I want to do:

My custom appointment form starts up an application that writes to a SQL
database. When I've stored the record I can track and either undo them or
get my app to replicate the changes dynamically. This is proving rather
difficult to manage and it would be much easier if I could just stop them
doing it after a critical point has been reached. For instance, changing
start time will require constant monitorting and the corresponding event
seems to be fired off repeatedly when this attempted.

I realise I can save my item and close it but I need it to remain open to
allow changes to fields that don't affect my database content. Is there a
way of doing this that anyone knows of?

Jeff Mowatt
Sue Mosher [MVP-Outlook] - 27 Feb 2004 00:23 GMT
You could store the values for the fields you want to hold steady to global
variables when the user opens the item, then reset them each one when
Item_PropertyChange or Item_Write fires. A custom form with the controls
disabled wouldn't hurt either.
Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Is it possible to prevent users from changing standard fields?
>
[quoted text clipped - 13 lines]
>
> Jeff Mowatt
Jeff Mowatt - 27 Feb 2004 08:15 GMT
Thanks Sue,

That's more or less what I'm doing and finding it hard to keep up with,
noticing that Property change for [start] can fire as many as 10 times when
I make a single change. Guess I'll have to deal with it then:-(

Regards,

Jeff

> You could store the values for the fields you want to hold steady to global
> variables when the user opens the item, then reset them each one when
[quoted text clipped - 17 lines]
> >
> > Jeff Mowatt
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.