Home » Developer & Programmer » Forms » clear/refresh block
clear/refresh block [message #81390] Wed, 12 February 2003 23:49 Go to next message
Tina
Messages: 38
Registered: November 2001
Member
hi, master block contains an LOV and it returns the chosen value to a text item. i want to clear the detail block when text item is changed. i tried using go_block and clear_block in when-validate-item trigger but i got an error.
thanks!
Re: clear/refresh block [message #81397 is a reply to message #81390] Thu, 13 February 2003 09:03 Go to previous messageGo to next message
magnetic
Messages: 324
Registered: January 2003
Senior Member
try to use the trigger key-listval on that item:
go_item('lov-item');
list_values;
if :lov-item is not null then
next_item; (might be restricted)
or go_block(..);
end if;

just try out some triggers
its a matter of timing, but watchout for restricted triggers.
Re: clear/refresh block [message #81405 is a reply to message #81390] Thu, 13 February 2003 19:56 Go to previous message
Tina
Messages: 38
Registered: November 2001
Member
thanks. i added the ff. code in when-button-pressed trigger of the LOV button.

IF :System.Record_Status IN ('CHANGED', 'INSERT') THEN
GO_BLOCK(detail block);
CLEAR_BLOCK(NO_VALIDATE);
END IF;
Previous Topic: URGENT, VERY VERY URGENT
Next Topic: I need website for Developer's tips or Hints
Goto Forum:
  


Current Time: Fri Apr 19 08:57:48 CDT 2024