Home » Developer & Programmer » Forms » can't find menu for a called form
can't find menu for a called form [message #227516] Wed, 28 March 2007 07:52 Go to next message
ShaShalini
Messages: 59
Registered: January 2007
Member
Hi guys

I have a main form (FormA) , attached to it is a menu. From the main form I call another form(FormB). Form B has got another menu attached to it. But when I am calling the formB , I get an error cannot find menu

Both Menu are in the same folder and the directory am working is in the formspath ..

Any idea , how to get the menu of the called form.


Thanks
Re: can't find menu for a called form [message #227645 is a reply to message #227516] Wed, 28 March 2007 20:23 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Does FormB show a menu when opened from the command line or the Forms Builder?

You have compiled and generated the FormB menu haven't you? Did you specify an extension in the menu property for FormB. Compare the property between FormA and FormB. Does one have an extension and the other does not?

Are you on a windows or an Unix machine? If the latter, remember that names are case sensitive.

With which command are you opening FormB. Remember that the different form commands have different parameters concerning menu usage.

David
Re: can't find menu for a called form [message #227697 is a reply to message #227645] Thu, 29 March 2007 02:01 Go to previous messageGo to next message
ShaShalini
Messages: 59
Registered: January 2007
Member

My problem has been solved. Its weird .. I just deleted the mmx and regenerated it and its working.

I have another problem now. Form B is called in query only mode for a particular reason from FORM A and in all other cases it is called in NO query mode.

Now from FORMA when I call form B , menu has got SAVE option , when user clicks on save he gets an error showing 'FRM-40208 form running in query mode only' .

I want to check a particular status and give user an informative message.

when am checking the :system.form_status its giving me 'NEW' not query ..


Thanks
Re: can't find menu for a called form [message #227856 is a reply to message #227697] Thu, 29 March 2007 18:58 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Perhaps you could test the block properties and if 'update_allowed', 'insert_allowed', and 'delete_allowed' are all 'false' then you know you are in 'query_only', then you could disable the 'save' button.

You could also trap the error message and issue your own, search this forum for 'message_code' - http://www.orafaq.com/forum/m/192989/67467/?srch=message_code#msg_192989

David
Previous Topic: How to populate Combo Box -> Static Record Group?
Next Topic: Where can I find D2K tutorial? (renamed: dear sir)
Goto Forum:
  


Current Time: Thu Dec 08 06:28:48 CST 2016

Total time taken to generate the page: 0.12276 seconds