How to create a master/detail with a PK of 4 columns form

I want to create a report/form (or a master-detail form) based on a table with a primary key of 4 columns. But only up to 2 columns can be présicer at APEX. How can I handle this?

Sincerely,

James

Hi James,

I think Mike suggests that you create a SQL view on the table and bring together the different values of the primary key in a primary key, unique, unique, nickname. You can always include the individual columns in the SQL, but you can then use this new column as the primary key on a form. However, you also need to create instead of triggers to manage the changes/insertions/deletions that SQL does not update the tables in a view. (See: [http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/create_trigger.htm#i2064426] for more details on this Oracle or Re: how to upgrade the table or view for an example within the Apex).

Ideally, however, you should only really need a column of key - is it necessary for four?

Andy

Tags: Database

Similar Questions

  • Urgent! Master - detailed with the option/Hide search

    Hello

    I developed a page OFA master / detail with the option/Hide.

    in my search option, I have main and detail columns.


    How can I control query vo level of detail.


    For example. If I pass point not in the search option as well as customer, I could get only this line item for this CUST.


    I created the main query parameters and I'm passing param values in a methos to AM.

    When I click on show details his exception throw.


    Can someone help me please how to do this. Its urgent...



    Thank you

    Hello

    Error is due to the original Version of details may not get the value of the bind variable when judicially.

    Check your steps with this link http://apps2fusion.com/at/51-ps/333-oa-framework-master-detail-region-mandatory-steps.

    If still you face the same thing then let us know.

    Kind regards
    GYAN

  • Master-detail with independent tables

    Hi experts,

    I use JDeveloper 11.1.2.4.0

    I have two independent table (not related by foreign key), but I have to post this tables table of master / detail in the user interface and allow operation in milk CURD.
    The two table have a common field so I can use this field to display link to make the relationship. Even if there is no foreign key, association is not created when I created the business components

    Will I have to create an association for master-detail?

    I created a view link and tested the functionality and his work has found.

    Are there overhead if I create a master detail without an association?

    I would like to learn more about the role of the association master detail design.

    In the hope of good advise and suggestions.

    Thank you and best regards,
    Gijith (GTG)

    YHI,

    There is no overload. You use assiciatons if you need analyze the relationship at the level of the entity. So its good how you

    Frank

  • How to create a photo album with ms office?

    How to create a photo album with ms office? I tried to use picasa, but I don't know how to make an album. I also want to add a text below.

    Click on the Forums link at the top of the page and go on the forums of office to ask. But, if you can not understand Picasa, you'll probably some luck using nothing else. Consider going on the forums of Picasa and get help.

  • How to create a recovery disc with all vista updates?

    original title: how to create a recovery disc with all vista updates without starting from scratch, so I can replace my hard drive?

    My hard drive seems to be dying.  I would replace the drive.  I reloaded vista from scratch with all the updates, but it took forever.  I would like to make a record of recovery with all updates.  IAM on vista Home premium.  32 bit

    If you want a good backup program that backups image, I recommend Acronis True Image 2010:http://www.acronis.com/homecomputing/products/trueimage/.  It offers a free trial, so you can test and if you want it's only about $30 for the original version.  A lot of people I know this program and use it instead of Vista even in versions of Vista that offers imagery as this program does a better job.  Of course you also need a place to put the backup (which will take a lot of space), so also consider.  The best choice would be a USB external hard drive at least as large as the readers you want to back up (not only the data on them, but the entire available disk space, so you miss when you add more information about the disks).

    You cannot use IMGBURN do - it can't do anything like that.  It must be the imagery of backup software.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to create a new project with other page with the new version of Muse layouts?

    Hello
    If someone would continue to operate as before with the inadmissible Muse version... is - this posible to have both versions installed? or how to create a new project with other page with the new version of Muse layouts?
    Or how to download third party) 3 different configurations (desktop/tablet/mobile) under the same url with a clean result, like up yet with the Muse does not?

    Thanks for any help,

    Patrick

    Use the new version! What you want to achieve, will work! Go to the 'Page' menu and choose 'Add another Layout' and the missed buttons are in plan view.

  • Can FrameMaker to create several Master Pages with sizes different pages in a single file of FM?

    Can FrameMaker to create several Master Pages with sizes different pages in a single file of FM?

    N °

    You must break your content between files and use the book feature to apply numbering to make look it seamless. Sometimes, if you can, re - organize the content so that all oversize pages come at the end of a chapter/file makes it easier to manage a such split files in the book.

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • How to create a menu manual, WITH dropdowns

    How to create a menu manual, WITH dropdowns

    You can use the "Composition" widget with these settings:

    Note: Use triggers to place your text. You can use each box to add all your links on the page in question.

  • How to create a master page in Dreamweaver?

    Hello

    Anyone know how to create a master page in Dreamweaver?

    The Dreamweaver templates ~.

    http://www.smartwebby.com/web_site_design/dreamweaver_template.ASP#1

    Server-Side Includes.
    http://www.smartwebby.com/web_site_design/server_side_includes.asp

    Spry tabbed panels ~

    http://labs.Adobe.com/technologies/Spry/samples/TabbedPanels/tabbed_panel_sample.htm

    Spry Accordion Panels ~

    http://labs.Adobe.com/technologies/Spry/samples/accordion/AccordionSample.html

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • How to create the new domain with lookup?

    How to create the new domain with list of choices like terrain dDocType system?

    Administration/Admin Applets tab / SCCM / information fields.
    Add field or edit a custom field if you have one.
    The name field (the name will be prefaced with the lowercase letter x behind the scenes, if ever, you write the code to call it if you name this Fruit it will xFruit for code)
    Define your values for the field, but the important thing for a menu drop-down list or list of selection will be to list the Option activate the checkbox.
    Then, you perform one of the 3 main things to put data in the list.
    1. manually fill in a list of options
    2. use a DB or DB table view to view Configuration Manager
    3. create a complex tree (read the documentation on which I him have not used)

    If this does not answer your questions, click the help button in the applet.

  • How to grant access to secure with sending a 1 2 areas form

    How to grant access to secure with sending a 1 2 areas form? For any help or suggestion would be appreciated.

    If you change the zone-1 ID in the form action, it will return to the page and a default logon you connected. You have access to all areas will be saved in. Technically, you can connect even with no associate also area long have you a username and password.

  • [ADF, JDev12.1.3] master / detail af:tables the link is handled by ExecuteWithParams: how to create a master report / detail in a loop on the lines?

    Hallo,

    I have a page with 2 legs and they both contains an af:table created by dragging an instance of VO in the user interface.

    The 1st tab uses a master VO while the 2nd uses a VO detail.

    Between 2 your, there is not a link of VO master / detail.

    Opening Details tab I update the secondary table by calling the method ExecuteWithParams of the detail VO instance (in a managed bean).

    I would now like to generate a report that loop on the master table and that, for each line of master:

    • He writes in the report;
    • loops of registration of details (which are based on the master record) and also writes the report.


    Could you kindly suggest me which is the best way to achieve that through a code to write in a managed bean?

    Here I am interested how do to loop through the data, not in how to write the report.

    Thank you

    Federico

    Yes it will affect the selected line. If you want to ignore try using this code

        DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("DepartmentsView1Iterator");
        ViewObject vo = iter.getViewObject();
        for (int i = 0; i < vo.getEstimatedRowCount(); i++)
        {
          Row r = vo.getRowAtRangeIndex(i);
          System.out.println("DeptId= " + r.getAttribute("DepartmentId"));
        }
    
  • How to create a master page and detail? Insert &gt; object missing panel data

    Hello

    So I created a database, and I want to read data from the database table. I want when someone clicks on an element of the database to get on a new page and see all the other information on this element. I looked for how to do this and found the master page and detail 'system '. But for this I need an option in the Insert > data panel, the master and detail Page set option. And that's the problem, actually there is no sign of 'data' in the insertion bar in my Dreamweaver product. I use Dreamweaver CC 2015, Windows 8.1

    nea.PNG

    version.PNG

    Is there another possibility to create the master page and detail?

    If you are coding manually, you need not to buy extensions.

    If you don't code manually, you can do it.

    Nancy O.

  • Problem when Rollback an operation of creating scenario master / detail

    Hello.

    I use 11.1.1.7.0, and I'll try to explain my problem as clear as I could.

    I have in my DataControls

    • StateView1
      • SubstateView2

    I did drag SubstateView2 to my .jspx and create a master table - table in detail. This method works.

    My data are: State1 and State2, state3, air conditioned and have related subreports.

    Then I drag and drop a button to make the new State functionality. Create operation is called, a popup with the form is open, and it works too.

    Then I drag and drop a button to make the new subreport feature. Create1 operation is called, a popup with the form is open. This is somethig wrong.

    Suppose I chose State2.

    I click on subreport again, but I cancel the operation. Rollback is executed, and it works too.

    My question is now: I click on new New subreport button with State2 selected in the main Table. In this case:

    • I don't know how, but State1 is selected (and I did this).
    • Then, reload table detail with State1 associated subreports.
    • Popup is open to create a subreport State1 (but not State2 substate than I expected).

    What I am doing wrong? Any help would be much appreciated.

    Concerning

    Well, finally, when you close or cancelling the popup, this code works fine:

    DCIteratorBinding parentIter = ADFUtils.findIterator("StateView1Iterator");
    Key parentKey = parentIter.getCurrentRow().getKey();
    //You can add your operation code here, i have used simple Cancel operation with Rollback andExecute
    OperationBinding rollback = ADFUtils.getBindingContainer().getOperationBinding("Rollback");
    rollback.execute();
    // Execute for StateView1
    OperationBinding execute = ADFUtils.getBindingContainer().getOperationBinding("Execute");
    execute.execute();
    // Execute for SubstateView2
    OperationBinding execute1 = ADFUtils.getBindingContainer().getOperationBinding("Execute1");
    execute1.execute();
    parentIter.setCurrentRowWithKey(parentKey.toStringFormat(true));
    

Maybe you are looking for