Oracle forms standard/default menu - Record Delete option

Hi ,
Oracle forms provides a standard menu with the below options.
Action , Query , Block , Record , Help etc.
Under each of these Menu options there are sub options.
Eg: Under Record we have Previous , Next , Insert , Delete etc.
Can someone please tell me how to control this menu item options for different forms.
Eg: for 1 form i want to allow the Record - Delete option but for another form i dont want to give this option.
How to do this ??
Please help....
I tried to search for the solution but couldnt get the right answer. Hope someone will help me out here.
Regards,
SRT

Hello,
The Oracle Forms documentation states:
The Default menu is built-in to every form, and is not a separate menu module.
You cannot change the structure of the Default menu or edit the menu items it
displays.
If your application requires
unique menu functions, you must create a custom menu module and attach it to
your form.
If the internal default menu almost meets your needs, you can attach the
"menudef.mmb" approximation of the default menu to the form. You can then
rename and edit this menu.
You can download the demo version for 10g R2 and menudefs_10g.mmb is included with the demos.
http://download.oracle.com/otndocs/demos/Forms_Demos_10gr2.zip
You will get menudef_10g.mmb and menudefs_10g.mmb.
If needed check metalink note:
Differences between menudef.mmb and menudefs.mmb menu files. [ID 1081136.1]
Kind regards,
Alex
If someone's answer is helpful or correct please mark it accordingly.

Similar Messages

  • Oracle Forms returns the first record in the database when performing query

    Once in a while when we query for a record on a form, say by first name Tom, then it returns the first record in the database. Other times it return the Tom's record. It only happens once in a while and if you close the form and reopen it and requery for Tom, then it brings Tom's record.
    Does anyone know the issue what could be happening. It just happens every now and then that it's hard to reproduce.
    ORacle Forms 10GR2
    ORacle Application Server 10.1.3
    thanks

    then it returns the first record in the databaseI'm not sure if i understand you correctly. Do you mean forms ignores the searc-condition you entered? I would check SYSTEM.LAST_QUERY at the moment this happens to check if the condition gets somehow lost.

  • Oracle forms crash aftera spcific record

    Hi all
    i am sufering from strange problem in oracle forms 6i...I am using forms 6i nad use C/S.......the problem is that some time when i enter new records the forms automatically close when I want to see it by execute query........I press execute query button and press next,next and when i reach to that record the form atuomatically close......I dont know why.........It is not happening in all record i enter....It happens in only some records that i enter
    Please help
    Thanks in advance
    Shayan
    [email protected]

    I have had the same problem before and sorted it. Please Check the Following:
    1. All the number fields are defined as number in the form. Same with date fields and characters.
    2. No field is trucated. I.e. The text in the table is not more that the capacity that the field can hold.
    3. If the Record crashing is a parent of another record, make sure that the link is properly defined.
    Hope it helps.
    Regards,
    Eric,

  • Oracle Forms - Relation Objects Concepts

    Hi,
    Note: This is a newbie question.
    I have been tasked to address the following question:
    "What do understand by Relation Object? Differentiate between isolated, non-isolated and cascaded relation object properties."
    I have tried to search on this website to find information on the concept of Relation Objects but to no avail. Can anyone please point me to the right resource.
    Thanks and regards.

    Setting Relation Properties that Affect Coordination
    When you create a master-detail relation, you must decide how Oracle Forms should manage coordination between the master and detail blocks.
    Specifically, you need to answer the following questions:
    Should end users be able to delete a master record if there are associated detail records present?
    If end users can delete a master record, should Oracle Forms delete the associated detail records also?
    If an end user makes a new record in the master block the current record, should Oracle Forms fetch the associated detail records immediately, or wait until the end user navigates to the detail block?
    The answers to these questions will depend on application-specific requirements.
    By setting the properties of the relation object, you can implement the master-detail functionality most appropriate for your application.
    The properties that affect the functionality of a relation include Delete Record Behavior, Coordination, and Prevent Masterless Operation.
    Delete Record Behavior Property
    The Delete Record Behavior property (formerly called the Master Deletes property) allows you to specify how the deletion of a record in the master block should affect records in the detail block.
    You can specify Cascading, Isolated, or Non-Isolated:
    Cascading
    The master record can be deleted, and any associated detail records are automatically deleted from the database at commit time.
    If relations are nested to several levels, only records in the immediate detail block are deleted.
    That is, deletions do not automatically cascade to multiple levels of a relation chain.
    Isolated
    The master record can be deleted, but the associated detail records are not deleted from the database.
    Non-Isolated
    The default setting.
    The master record cannot be deleted if associated detail records exist in the database.
    Note:
    If your database is using the ORACLE7 Server cascading deletes feature, do not use the Cascading deletes option in Oracle Forms.
    Coordination Properties
    The values of the coordination properties Deferred and Auto Query determine when the population phase of block coordination will occur:
    Immediate (Deferred = No)
    The default setting.
    When a coordination-causing event occurs, Oracle Forms fetches the detail records immediately.
    Deferred (Deferred = Yes, Auto Query = No)
    When a coordination-causing event occurs, Oracle Forms does not automatically fetch the detail records.
    To fetch the detail records, the end user must navigate to the detail block and explicitly execute a query.
    Deferred with Auto Query (Deferred = Yes, Auto Query = Yes)
    When a coordination-causing event occurs, Oracle Forms defers fetching the associated detail records until the end user navigates to the detail block

  • Clearing the forms after default Save Button pressed

    HI,
    in forms 6i how to clear the form after the save button is pressed, ie the form uses default menu and smart bar. the user wants to clear the form once he selects save from the menu or after pressing the save icon...
    any idea...?
    regards
    Kris

    try on-commit trigger on form level through clear_form procedure but cursor remain stay on the same record
    I think your requirement is that when user commits a record a new blank record appear so also add "create_record" procedure ;
    .but u have to apply some logic on that trigger also it ever fires when user edit/insert/delete a record and commit;
    Hope it clears now!

  • Problem in concurrent update in ADF BC (compare to oracle forms)

    Hi,
    I am using JDeveloper 10.1.3.3.
    I created a simple form on EMP table using JSF/ADF BC template and then I browsed the EMP form with 2 separate browsers.
    Both browser were on the same record (for example SMITH record). I changed the value of salary in one browser and commit the change. Then, in the second browser I changed the value of salary to something else and commit. As I expected I got JBO-25014: RowInconsistentException. (a similar error was shown when we used Oracle Forms and updated one record from 2 separate sessions).
    I pressed the commit button for the second time and surprisingly enough,the changes committed successfully !!!
    In oracle Forms you had to re-query to be able to change when an error like this happened and normally it should be the same in ADF BC. The strange part is that the framework detects that the record has been changed and prevents committing operation but just for one time!!!
    I tried locking mode to both optimistic and pessimistic but there was no difference.
    Is it any way to achieve the same functionality we had in oracle forms in the past?
    Any help would be highly appreciated.
    Thanks in advance,
    Navid

    Hi,
    I think this can be explained the best with the fact that the web is stateless. If you mark a record for update, which you do when you submit it. Then it should get locked in the database. After commit you release the lock and whoever wants to override the value you put in can do this. I don't think that a lock should be released only if a user re-queries the data. You can code this in though: just requery the records on error
    Frank

  • ORACLE FORM HELP

    Hello all
    I am pretty new to Oracle and I am wondering how do you edit the form layout in 9i. I mean, the default toolbar and color scheme etc. Where are the properties for this?
    Thanks
    M

    It's been a long time since I used the tool but as I recall there is pretty good help text in Oracle Forms.
    the default toolbar and color schemeNot quite sure what you're after here. If you meaning changing these values in an actual Forms module then you need to edit the inherited properties to use different items in the Object Library. If you mean you want to change the properties of the actual default toolber, etc then you need to open the appropriate template module and edit the items.
    I am pretty new to OracleYou may find it more useful to ask Forms questions in the forum Forms rather than here, which is database only. Not many Forms developers visit these parts.
    Cheers, APC

  • Runaway Oracle Form

    Has anyone experience the problem with oracle forms screen locking-up bringing both your application and database down. This occurs when the user access an Oracle Form that has many records, then scroll through the records really fast using the mouse scroll ball until the scrolling stops and the form is locked. In the past, turning off the DBConsole assisted in preventing this problem, but the problem occurred with the DBConsole turned off. Open to any suggestions that will render a solution. Thanks!

    "Has anyone experience the problem with oracle forms screen locking-up bringing both your application and database down."
    Have you noticed lock to table(s) appearing in your forms which you scroll really fast...????
    It seems peculiar since in Oracle the selected/fetched rows do not lock them or the table.... except for you have got them as : select ...... for update.
    What version of DB and Forms do you use...????
    Sim

  • How do i disble edit menu's delete item on the oracle forms 11i

    How do i disble edit menu's delete item on the oracle forms 11i
    i have an oracle form that i created using standard template, i am able to disable the edit.clear button but cannot disable the edit.delete button.
    Pelase help.

    Hi user6010265
    Welcome here :)
    but unfortunatly u mis-choose the right forum pls follow the following link they might be more helpful than us..
    Transfer alert in 11i
    Regards,
    Abdetu...

  • How To Remove Standard CheckIn Form in CheckIn menu option list

    Hi to all.
    I need To Remove Standard CheckIn Form in CheckIn menu option list.
    I want to use only my customized profiles.
    Is there any doc or sample related.
    Thanks in advance,
    Soni

    Unfortuantely, you must create your own custom component. I'm not going to explain how to do that since that requires a lot of typing, but if/when you decide to tackle that, you will need to include this in your resource file:
    <@dynamichtml custom_finish_layout_init@>
    <$include super.custom_finish_layout_init$>
    navBuilder.deleteItem('MY_PERSONAL_CHECKINS_'+pneCheckinDocProfiles.length);
    <@end@>
    However, keep in mind this is what I use for my content server (10gR3 with CS10gR3CoreUpdate component, build 186). I have no idea what future patches may or may not have done with profile naming conventions or changes. I'm confident this will still work, but cannot be for certain.
    Good luck.
    PS. Please award points if deemed necessary

  • Problem to add Icon to menu option in Oracle forms

    Hello experts,
                          i am using Oracle fussion middleware 11.1.2 (oracle forms 11g) at windows 7.
    I am trying to make mu custom menu module with Icon images in oracle forms.I have done set property palette with
    Icon in Menu =Yes
    Icon file name=home.
    Here home.ico is my icon to corresponding menu item.
    But when I run the form having this menu,the menu is shown but there is no any icon,Please give me solution for that how can I add icons in menus.
    Thank You
    regards
    Aaditya.

    Hi,
    You can define a Form Function filling the basic information and
    HTML call Set as OracleOasis.RunDiscoverer. You can even define Paramters during the form function registration. With this definition you will able to create a link to a Discoverer workbook that will automatically open Discoverer Plus or Viewer to display the workbook using Apps security.
    Please refer to the following Metalink Note for more details:
    278095.1- How to Create a Link to a Discoverer Workbook in Apps11i
    Hope This helps
    - Sanjeev

  • Calling Report from Menu (Oracle Forms 11g)

    I'm trying to call a report from a menu item in a menu (that is attached to a form) in Oracle Forms 11g directly and I'm having some difficulty. I know how to call a report from a form and everything works perfectly.
    But since in a menu there is no item called "Report" to attach like there is in Forms, I followed on route which is to attach the "rp2rro" PL/SQL library on the menu file (mmb) and I also even did it on the form itself. Then when you convert a menu using the Forms Migration Assistant, it will comment out statements like "ADD_PARAMETER" and replace with calls to packaged procedures/functions from the package "rp2rro". I set all the parameters
    RP2RRO.SETOTHERS('PARAMFORM=YES');
    RP2RRO.SETDESTYPE('CACHE');
    RP2RRO.SETDESFORMAT('PDF');
    RP2RRO.SETCOMMUNICATIONMODE(SYNCHRONOUS);
    then made the call to the report:
    RP2RRO.RUN_PRODUCT(REPORTS, 'MYREPORT', SYNCHRONOUS, RUNTIME, FILESYSTEM, param_list_id, NULL);
    but all i get is the error "FRM-41219: Cannot find report: invalid ID."
    The Oracle documentation for integration reports in forms is for when you execute the report within a form not a menu item (that is attached to a form). Any clues?
    My environment is:
    Oracle (Database, Fusion Middleware) 11g - Red Hat Enterprise Linux 5
    Web Browser - Internet Explorer 7 on Windows XP Professional
    Thanks,

    Francois Degrelle wrote:
    Hello,
    One option is to use the Web.Show_Document() built-in, with the complete Report Server URL inside. Of course, you can hide some information (connection string for instance) by calling a section of the /reports/conf/cgicmd.dat configuration file.
    FrancoisI tried it using the code below
    DECLARE
    c_relative_path CONSTANT VARCHAR2(50) := '/reports/rwservlet/?server=';
    c_rep_srv_name CONSTANT VARCHAR2(50) := 'rep_wls_reports_calgf3_asinst_1';
    c_rep_name CONSTANT VARCHAR2(30) := 'copy_detail.rdf';
    c_desformat CONSTANT VARCHAR2(10) := 'htmlcss';
    c_destype CONSTANT VARCHAR2(10) := 'cache';
    v_username VARCHAR2(100);
    v_password VARCHAR2(100);
    v_db_instance VARCHAR2(40);
    v_connect_string VARCHAR2(300);
    v_rep_srv_params VARCHAR2(200);
    v_rep_url VARCHAR2(400);
    BEGIN
    v_username := LOWER(get_application_property(username));
    v_password := LOWER(get_application_property(password));
    v_db_instance := LOWER(get_application_property(connect_string));
    v_connect_string := v_username || '/' || v_password || '@' || v_db_instance;
    v_rep_srv_params := '&report=' || c_rep_name ||
    '&desformat=' || c_desformat ||
    '&destype=' || c_destype ||
    '&userid=' || v_connect_string ||
    '&paramform=yes';
    v_rep_url := c_relative_path || c_rep_srv_name || v_rep_srv_params;
    web.show_document(v_rep_url, '_blank');
    END;
    and I get a new tab in the browser opening up (which is good at least) with the Oracle Reports Services page saying:
    Error
    No such Web command ().
    Now I've tried putting a URL of a Oracle's website (http://www.oracle.com) and that works perfectly. Another question is, where would the default directory be if I wanted to say call an HTML file? Would it be in the directory of FORMS_PATH where all my fmb, fmx, rdf, pll, etc...files are stored?
    Thanks,

  • Default menu in forms 10.1.2.0.2

    Hi,
    I have created a form in 10g and am using the default oracle Menu for this form. It has all the needed icons except for LOV. Can somebody tell me how to add the LOV icon in the default menu. I dont want to create a whole new menu for one icon. Please suggest.
    Thanks in advance.

    The default menu is dynamically generated but there is a starter menu file that you can add to and use as your menu. It's called menudef.mmb. See this thread for how to get it: Forms6 : default menus menudef.mmb and menudefs.mmb

  • Validation on unsaved records of block on oracle form.

    In my oracle apps standard form i've approx 8 blocks. i want to write validation on first block(T1) on base of unsaved or saved records on second block(T2).
    Data are only on oracle forms not in data base so i cannot use table.
    Whenever user moved from T2 to T1 then i've check how many unsaved record are there on base need to write validation.
    Its very urgent. Your immediate help would be appreciated.
    Thanks

    Thanks for replying.
    I've checked with GET_RECORD_PROPERTY but i'm getting status like NEW,CHANGED,QUERY.
    My questions is i wanna to make validation on T2 block un saved data.
    i want data values in T1 block.
    Regards,

  • Showing Blank Records oracle forms 11g

    Deal all..
    i am using oracle forms 11g ,  i created a form by using data block wizard & layout wizard  , but when i run the form, the form running successfully  in  browser,  url is (  http://arun-pc:9001/forms/frmservlet), but  it is showing empty records.
    when i check with sql  plus user Scott ,  i found 10 records in departments table ,  same user and same table  i used in oracle forms.
    i don't know what is the  problem.. i am new to oracle forms please help me..
    i am waiting 4r your valuable reply
    thank s in Advance..

    Hello. Mr.harsh shah...
    Thank u for your reply..
    I follow the link what u given in above post..  But still i have the same issue..  i am not sure, but   i think i have problem with my Environment, bcz in many blogs i read that oracle forms is not recommended to use with 64 bit OS. and second , iam not using developer suite 10g,
    currently i am using,
    operating system:  windows server 2008 r2
    weblogic server :-  wls1036 (64bit)
    JDK :- 7u17 64bit
    Oracle forms :-  11g
    and database in another host , just i edit tnsnames.ora file in forms directory.  the following are my configuration options
    Oracle Forms and Reports Installation
    Configuration Options
      Middleware Home Location: C:\Oracle\Middleware
      Oracle Home Location: C:\Oracle\Middleware\Oracle_FRHome1
      Oracle Instance Location: C:\Oracle\Middleware\asinst_1
      Oracle Instance: asinst_1
      Domain Option: Create Domain
      Domain Name: ClassicDomain
      Domain Home: C:\Oracle\Middleware\user_projects\domains\ClassicDomain
      Domain Host Name: WIN-DMJUC51KRHF
      Domain Port No: 7001
      User Name: weblogic
      Automatic Port Detection: true
      Administrator Console: http://WIN-DMJUC51KRHF:7001/console
      EM Console: http://WIN-DMJUC51KRHF:7001/em
      EMAgent URL: http://WIN-DMJUC51KRHF:5155/emd/main
      Forms URL: http://WIN-DMJUC51KRHF:8888/forms/frmservlet
      Reports URL: http://WIN-DMJUC51KRHF:8888/reports/rwservlet
    i check all the links above, all services showing running successfully..  but when i run the form , i dont fine any records , showing empty and blank records..
    please give me clarification ...
    Thank u very much..
    Arun

Maybe you are looking for