Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update checkbox if null

Status
Not open for further replies.

KBALDWIN1

Programmer
May 21, 2001
2
US
When using the property palete there is no such thing as update if null on a checkbox. There is only update allowed. I need update allowed to be yes because the row is updated when the check box is checked. But after it has been checked I do not want it to be updated. Help!

I have the following When_Checkbox_Changed trigger on the item.

Code:
IF CHECKBOX_CHECKED('CORSPTK.COMPLETED') THEN
	:CORSPTK.COMPLETE_DATE := sysdate; 
ELSE
 :CORSPTK.COMPLETE_DATE := null;
END IF;
GO_ITEM('CORSPTK.COMMENT_TEXT');

 
You may raise an error from when-checkbox-changed trigger
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top