This discussion is archived
1 Reply Latest reply: Dec 9, 2012 5:36 AM by vansul RSS

Cursor is not going on new block

789165 Newbie
Currently Being Moderated
Hi all

i am working on lower version oracle form 6i

i have developer one custom form in which i have provided one button after clicking on that button my cursor nevigates to another block.
code on button

if :XX_CAT_LINE_V.CHECK_BOX='Y'
     then
     go_block('REMARK');
     go_item('REMARK.REMARK_ITEM');
elsif :XX_CAT_LINE_V.CHECK_BOX='N'
     then
     fnd_message.set_string('Please select atleast one line');
     fnd_message.show;
     raise form_trigger_failure;
     end if;

it working fine

but now my requirement is changed.
my new requirement is
i have developed new form from where i am calling old form using
fnd_function.execute function
but after i navigates to that form, button from old form is not working .


please help....

code is same only i have call the old form from new....


thanks
  • 1. Re: Cursor is not going on new block
    vansul Pro
    Currently Being Moderated
    You can write the following code in the when new form instance trigger
    if :global.callingform='yourform' then
    go_item('block.buttonname');
    end if;


    and write in new from in fnd.execute function as
    :global.callingfomr:='yourform';
    call_form('oldform');
    at the end of the function.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points