|
|
Re: HOW TO RESTRICT [message #243815 is a reply to message #242698] |
Sat, 09 June 2007 04:25 |
hemavb
Messages: 103 Registered: May 2007 Location: Dubai , UAE
|
Senior Member |
|
|
For your first question.
When u want to put such a restriction use POPLIST and not COMBOBOX.
If you do want to use a COMBOBOX, there is no property that will do the required on its own. you will have to write an exception code in the WHEN-VALIDATE-ITEM of the item. If you want it to run instantly on selection of a list option write the following code in the WHEN-LIST-CHANGED of the item
VALIDATE(item_scope);
IF NOT form_success THEN
RAISE form_trigger_failure;
END IF;
For your second question
it has to be writted as :
ERASE('global.variable_name');
|
|
|
|