Home » Developer & Programmer » Forms » Clearing a Block with fields Required YES (Forms 6i)
Clearing a Block with fields Required YES [message #657648] |
Thu, 17 November 2016 02:41  |
chat2raj.s
Messages: 163 Registered: October 2010 Location: Chennai, India
|
Senior Member |
|
|
Dears,
How to clear a block, which has fields with Required Property as YES ? CLEAR_BLOCK(NO_VALIDATE) forces user to fill all those required items before clearing the block.
Thanks
|
|
|
|
|
Re: Clearing a Block with fields Required YES [message #657733 is a reply to message #657663] |
Sat, 19 November 2016 23:55  |
chat2raj.s
Messages: 163 Registered: October 2010 Location: Chennai, India
|
Senior Member |
|
|
Yes, i was using a Button to clear the block which was placed in a different block. Later i solved the problem by moving the button to the same block and using the following command in when new form instance, which forces the required validation at record level instead of field level.
SET_FORM_PROPERTY(:SYSTEM.CURRENT_FORM,DEFER_REQUIRED_ENFORCEMENT,PROPERTY_TRUE);
I will have to try the suggestion by Littlefoot.
|
|
|
Goto Forum:
Current Time: Sun May 04 01:07:23 CDT 2025
|