Home » Developer & Programmer » Forms » Help needed in navigation of forms
Help needed in navigation of forms [message #411661] Mon, 06 July 2009 04:57 Go to next message
ketki_n
Messages: 8
Registered: July 2009
Junior Member
I have 2 forms Form1 and form 2.Form2 is calling form1 when a button is pressed.Form1 has 3-4 data blocks.After pressing the button the control should go to a specific data block.The problem is the control doesnot go to this specific data block.I tried using go_block(''),go_item().also i tried with call_form with a parameter list but still its not working.Can anyone help me on this?
Re: Help needed in navigation of forms [message #411669 is a reply to message #411661] Mon, 06 July 2009 05:16 Go to previous messageGo to next message
cookiemonster
Messages: 12422
Registered: September 2008
Location: Rainy Manchester
Senior Member
where are you putting the go_block?
Re: Help needed in navigation of forms [message #411681 is a reply to message #411661] Mon, 06 July 2009 05:50 Go to previous messageGo to next message
ketki_n
Messages: 8
Registered: July 2009
Junior Member
In the when_new_form_instance of the called form.
Re: Help needed in navigation of forms [message #411697 is a reply to message #411681] Mon, 06 July 2009 06:35 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Is there any error message? If so, which one? (For example, "FRM-40202: field must be entered")
Re: Help needed in navigation of forms [message #411736 is a reply to message #411661] Mon, 06 July 2009 08:49 Go to previous messageGo to next message
ketki_n
Messages: 8
Registered: July 2009
Junior Member
it doesnt display any error message.It doesnot display the screen/canvas associated with the data block.It displays a blank form.
Re: Help needed in navigation of forms [message #411737 is a reply to message #411661] Mon, 06 July 2009 08:52 Go to previous messageGo to next message
cookiemonster
Messages: 12422
Registered: September 2008
Location: Rainy Manchester
Senior Member
Are you sure you're calling the form you think you're calling?
Put some messages in the when-new-form-instance of form1 and check what item/block/canvas you're in.
Re: Help needed in navigation of forms [message #411756 is a reply to message #411661] Mon, 06 July 2009 10:20 Go to previous messageGo to next message
djbabu
Messages: 14
Registered: May 2009
Junior Member
Hi ketki_n, have you solved the issue you mentioned,

I had something similiar issue, and I fixed it..
Ora 10g Forms [32 bit] Ver 10.1.2.0 prod.

Please make sure you are calling the right form by adding these lines on {form1.fmb} to FORM level WHEN-NEW-FORM-INSTANCE :

begin
message('I am in WHEN-NEW-FORM-INSTANCE(form1)');
Go_Item('v_block.user_name');
end;

if its not working, try adding these lines on {form1.fmb} to FORM level WHEN-NEW-ITEM-INSTANCE :


begin
message('I am in WHEN-NEW-ITEM-INSTANCE (form1)');
end;

lemme know..
Re: Help needed in navigation of forms [message #412855 is a reply to message #411756] Mon, 13 July 2009 02:01 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
I always recommend placing a 'pause;' command after the message command as the message will be overridden by subsequent messages unless the processing of the form either stops (for example, due to an error) or if the formed is paused.

David
Previous Topic: Forms
Next Topic: browse button
Goto Forum:
  


Current Time: Fri Dec 09 09:47:42 CST 2016

Total time taken to generate the page: 0.15716 seconds