error while running the form [message #323953] |
Fri, 30 May 2008 02:37  |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
Hi,
Attached are the two errors I am getting when I am trying to run any sub menu items in my form. Here is the PL/SQL code for one sub menu item SEARCH which is under menu item DISPLAY
declare
a varchar(60);
b varchar(60);
c varchar2(60);
begin
/*Let the user enter the query*/
enter_query;
/*get the active form name*/
b := get_application_property(current_form_name);
/*get the active block name*/
a := get_form_property(b, first_block);
loop
/*test if there is an underlying table for that block*/
c := get_block_property(a, dml_data_target_name);
/*disable the form*/
if c is not null then
/*calling procedure which in the library to make the form non updateable*/
item_enable_disable(a, property_off);
end if;
a := get_block_property(a, nextblock);
if a is null then
exit;
end if;
end loop;
end;
I can see the records being displayed but the following two errors keep on popping up on the screen
Quote: | cannot find block: Invalid ID
|
and
Quote: | Unable to resolve reference to form suplr_dtls
|
SUPLR_DTLS is the detail data block to the master SUPLR_MSTR
Is this information enough to know that exact problem?
Can anyone guess what might be the problem?
- Das
|
|
|
|
|
|
|
|
|