Outlook Task programming question.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have recently created an outlook task with 5 custom boxes. In the
properties of these boxes i have selected that a value must be entered.
However, employees can ASSIGN the task without having to put any information
in said boxes. What kind of formula must i write so that a custom task
cannot be assigned unless it is properly filled out.

Any help would be GREATLY appreciated.

Thanks
Rob Ingrim
 
What kind of formula must i write so that a custom task
cannot be assigned unless it is properly filled out.
What you really need to do is put code in the write event handler that
will test for an allowed value in the control and if the test fails,
then sets the write event handler returned value to false. But it is
also a good idea to pop up a message box saying which control fails the
test, or you will have people chasing you down with knives in both
hands, because your damned form will not close. Be very careful how
you implement this, your life may depend on it.
 
Back
Top