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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Project_BeforeSave does not trigger 3
Error 1004 when saving 10
Cancel an event 4
BeforeSave Bug? 0
Read Only now different 1
error 424 4
Error when using the BeforeSave event 2
Exhibits 1

Top