Re: SQL*Forms 4.5...exit forms problem
From: Brian Price <bprice2000_at_sprintmail.com>
Date: 1998/02/11
Message-ID: <6bt8b5$2cm$1_at_newsfep4.sprintmail.com>#1/1
Date: 1998/02/11
Message-ID: <6bt8b5$2cm$1_at_newsfep4.sprintmail.com>#1/1
Here is a sample code does something like you describe. This is an attached library, but does not have to be:
PROCEDURE show_form (in_form_name IN varchar2) IS
form_id formmodule;
BEGIN
form_id := find_form(in_form_name);
if id_null(form_id) then
Open_Form(in_form_name, ACTIVATE, SESSION);
else
go_form(form_id);
set_window_property(get_item_property(name_in('system.cursor_item'),
WINDOW_HANDLE),
window_state, NORMAL);
End if;
END;
I hope this can help.
Brian Received on Wed Feb 11 1998 - 00:00:00 CET