I am working on a form which has two data blocks - Header and Detail
The user selects a value from an LOV in the header block and click s a button to show its details.
Now after the details are already displayed for a value in the LOV, I want to clear the Detail block when the user selects another value from the LOV in the Header Block.
I tried to use 'WHEN-VALIDATE-ITEM-TRIGGER' as well as 'POST-CHANGE' trigger and used the following code in the trigger:
GO_BLOCK('DETAIL');
CLEAR_BLOCK;
But after using this when we choose any value from the LOV it gives a message - 'Illigal restricted procedure GO_BLOCK in POST_CHANGE trigger.
Can anyone please let me know how can I do this.
Regards
Hawker