Project_BeforeSave - Cancel Save

W

Wesley

In the Project_BeforeSave event I want to run a few tests and if the
requirements is not met the Project plan should not be saved.

How do I prevent the project from being saved in the BeforeSave event?

Thanks in advance.

Wesley
 
B

Brian K - Project MVP

Wesley said:
In the Project_BeforeSave event I want to run a few tests and if the
requirements is not met the Project plan should not be saved.

How do I prevent the project from being saved in the BeforeSave event?

Thanks in advance.

Wesley

http://techrepublic.com.com/5100-10878_11-5032122.html#
This has sample code for the BeforeChange application event that might be
of help to you. It talks about how to cancel the event.
 
W

Wesley

Thanks for the reply.

It helped alot in explaining how the use Application level events.

Got everything working now.
 
B

Brian K - Project MVP

Wesley said:
Thanks for the reply.

It helped alot in explaining how the use Application level events.

Got everything working now.


Great. Glad to help.
 
Top