Home » Developer & Programmer » Forms » How to clear form if there are "required" items ??
How to clear form if there are "required" items ?? [message #77952] Mon, 24 December 2001 05:34 Go to next message
Phoebe
Messages: 4
Registered: December 2001
Junior Member
How can I clear the form when there are some required items are null ?
It always gives me error : frm-40202: Field must be entered
Thank you very much.
SET_ITEM_PROPERTY('CUST.NAME',item_is_valid, PROPERTY_TRUE);
CLEAR_FORM(NO_VALIDATE, FULL_ROLLBACK);

----------------------------------------------------------------------
Re: How to clear form if there are "required" items ?? [message #77953 is a reply to message #77952] Mon, 24 December 2001 07:27 Go to previous messageGo to next message
sokeh
Messages: 77
Registered: August 2000
Member
Go to the item's property palette and change 'Required' to No and you should be fine.
sokeh

----------------------------------------------------------------------
Re: How to clear form if there are "required" items ?? [message #77958 is a reply to message #77953] Mon, 24 December 2001 18:00 Go to previous message
Phoebe
Messages: 4
Registered: December 2001
Junior Member
Thank you very much for your reply.
Actually I really want to force the user to enter something on the required item.
How can I clear the form without changing the required property to NO.
Thank you very much.

----------------------------------------------------------------------
Previous Topic: Problem using Object Libraries in Forms 6i
Next Topic: Forms 6i
Goto Forum:
  


Current Time: Sat Apr 20 01:39:54 CDT 2024