|
Re: block property [message #676272 is a reply to message #676248] |
Fri, 24 May 2019 02:57  |
cookiemonster
Messages: 13966 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
What datatype is dar_date?
Does dar_date have a time? because sysdate does.
Probably you want to compare to trunc(sysdate) rather than sysdate unless you want to disallow unless dar_date matches the current time to the second.
Pre-update is probably the wrong trigger, I imagine that block property is checked before pre-update fires so you're too late setting it there.
Put the code in when-validate-item on dar_date and post-query.
|
|
|