Limit on number of columns details of a master detail form/report

Hi,
I understand that there is a limit to the number of columns you can have in a master detail form/report. I am on Apex 4.01 and have a detail section that shows 24 months at a time as columns with integer hours assigned each month. My master detail was working fine with as many as 24 months/columns in this detail section, but I tried to re-use months by 'recycling' months, clearing them out of values and adding the months to the end of each row but now I am getting errors even though I had more columns showing before my 'recycliing' of the columns. The error is:
"ORA-06502: PL/SQL: numeric or value error: character string buffer too small "
What I don't understand is -- why am I getting this error now when I actually had more columns in the detail section months ago, and all I am doing is 'recycling' prior columns back into the detail report, not actually adding columns.
Thanks for any insights anyone can give.
Pat

DBA tells me that we are at 9.0.2.2.14, (higher version than the one you suggested) but I still get the same error.
Thanks,
Karuna

Similar Messages

  • How to limit row number per group without change new page in crystal report

    Hi All Expert,
    Is there any way to limit row number per group without change new page in crystal report 2008. The reason i do that is due to customer using printer EPSON LQ 300 (dot matrix) always will print in landscape if detech my layout in landscape. Because they need the record always print in 1 page (Letter size) for 2 groups and each group must show 5 records. Example:
    But, in CR2008, if you set the row per group from group section expert, definitely it will change to new page, but I do not want it change to new page. Any Idea?
    In one page (Letter size):
    Group Name: Customer-ABC
    NO  INVOICE  AMOUNT
    1)   INV001     USD100
    2)   INV002     USD100
    3)   INV003     USD100
    4)   INV004     USD100
    5)   INV005     USD100
    Group Name: Customer-ABC
    NO  INVOICE  AMOUNT
    6)   INV006     USD100
    7)   INV007     USD100
    8)   INV008     USD100
    9)   INV009     USD100
    10)  INV010     USD100

    Hi Angie.....
    I guess it is not possible.
    Because if you have one common group for all the 10 records then in one page it will show 10 records under one group.
    I mean i think it is not possible but m not completely sure......
    Lets wait for expert advise....
    Regards,
    Rahul

  • Make detail items in master/detail form read only

    I want to make detail items in master/detail form read only for certain conditions (master STATUS = Closed). I see how to do this on the master record items but not on detail items.

    Take a look at this thread: Re: Conditionally make a tabular form uneditable
    You will need to modify the code, but it should help since a master detail is just a standard form with a tabular form attached to it..
    Thank you,
    Tony Miller
    Webster, TX
    Time flies like the wind, but fruit flies like bananas.

  • BC4J - To get the detail of details in a Master-Detail relationship

    Hi,
    I am developing an application in JDev using Buss Components for Java.
    I need to show the details from the details in a Master-Detail relationship of ViewLink Objects.
    e.g I am browsing through a list of book publishers, if I pick one book publisher, all the books published by this publisher should be displayed. And when I pick one book out of these, the list of buyers should appear for this book.
    Is it possible to do it via the wizards in JDev?
    If not, is their any other way of doing it?
    Thanks,
    Any help would be appreciated.
    null

    Sure. Arbitrary levels of master/detail are easy to handle. It's just the first time you set it up in the "Data Model" panel of your Application Module, the UI gestures may not be the most obvious.
    Depending on whether you need to just browse the data, or both browse and update it, you would decide whether or not you need underlying Entity Objects for Publisher, Book, and Buyer.
    To keep it simple, just assume you want to browse so the Entity Objects are not required to be involved.
    You would develop three View Objects:
    [list=1]
    [*]Publishers - with a query like SELECT publisher_name, publisher_id FROM PUBLISHER ORDER BY publisher_name
    [*]Books - with a query like SELECT title, isbn FROM book ORDER BY Title
    [*]Buyers - with a query like SELECT name, company FROM buyer ORDER BY company, name
    [list]
    Then, you define two View Links:
    [list=1]
    [*]BooksFromPublisher - linking the Publishers view to the Books view, and
    [*]BuyersForBook - linking the Books view to the Buyers view
    [list]
    Then, you define an Application Module that sets up the data model you want to work with in a particular application that reuses these reusable view object and view link components.
    On the "Data Model" tab, you'll see the master/detail views available in the "Available" list like this:
    - Publishers
    |
    +- Books
    - Books
    |
    +- BuyersTo construct a master/detail/detail view with these "raw ingredients" do the following:
    [list=1]
    [*]Click on Publishers in the Available list, and click (>) to shuttle it into the data model
    [*]In the data model tree, select the Publishers view to make it the active selection.
    [*]Back in the Available list, click on the Books view that is indented under Publishers and click (>) to use Books as a detail of the current view in the data model.
    [*]In the data model tree, select the Books view to make it the active selection.
    [*]Back in the Available list, click on the Buyers view that is indented under Bookss and click (>) to use Buyers as a detail of the current view in the data model.
    [list]
    Hope this helps.
    null

  • Limit the number of record to download to excel from a report

    I am just wondering if there is a way to limit the number of rows that I want to download to excel from a report in apex, right now when I click download to excel it downloads all records. If I am displaying 15 records on report page I want the ability to download only those records.
    Any help with that would be appreciated.
    Kind Regards,
    Sofia.

    Sofia,
    The same report query runs for downloading the data into excel, I don't think you can limit the number of records in download.
    You can achieve it using custom code, like on click of download excel redirect to another page and then restrict the data as per your need, or you can use the custom procedure to download the limited data.
    Denes' utility to download into excel.
    http://htmldb.oracle.com/pls/otn/f?p=31517:108:1476564836494581:::RP,::
    Regards,
    Manish

  • To get value in detail part of master detail form

    hi all
    i am using forms 6i
    there is a master detail form
    in the master part
    i am just mentioning one field as per the requiremnt
    FIELD BELONGS TO DATA BLOCK XXNP_JL_001.FIELD
    this FIELD field is populated by a flexfield NAP_GL_WELL
    VALUES are
    abc                           123
    def                            456
    fgh                            875
    in the master part of the form there is also a button called POPULATE which populates values  for the fields in the detail form
    in the detail part of the form
    i am mentioning two fields
    item_number belongs to data block XXNP_JL_EST_002 and      opn_value belongs to data block XXNP_JL_RES_005
    now the requiremnt is as follows
    say the WELL field has a value 'abc'
    then in the detail part
    whenever and only when the item_number is '1010103002' the opn_value field should have value 123
    similarly when the WELL field has a value 'def'
    in the detail part
    when the item_number is '1010103002' the opn_value  field should display value '456'kindly guide on how this can be achieved
    thanking in advance
    i did a when validate trigger on opn_value field
    BEGIN
    IF  :XXNP_JL_RES_005.OPN_UOM_CODE='PKU' and :XXNP_JL_EST_002.ITEM_NUMBER='1010103002' THEN
            SELECT hierarchy_level
            INTO :XXNP_JL_RES_005.OPN_VALUE
            FROM fnd_flex_values
            WHERE flex_value_set_id = 1009757
            AND FLEX_VALUE=:XXNP_JL_001.FIELD ;
            END IF;
            END;Edited by: makdutakdu on Jul 4, 2012 12:40 PM
    Edited by: makdutakdu on Jul 4, 2012 1:05 PM
    Edited by: makdutakdu on Jul 4, 2012 1:09 PM

    HI
    If i understood your question on overview, your requirement is
    get master details in details column.
    If this is correct,
    YOu can write a simple plsql to get master value in details columne thru trigger
    If my understanding is not correct, please tell me

  • Unable to insert detail record using Master- Detail Form

    Hello All,
    I am new to Apex and we are using Apex 2.2.
    I am trying to create a Master-Detail page using the Wizard. Unable to insert the detail record as the foreign column value is not inserted. How can i assign this value to the child record before inserting? Hope you got my query.
    Pls reply asap
    Thanks
    Biju
    P.S - Can't upgrade to 3.0 yet

    G'day Guys,
    We just had to create a Child Tabular for Master Detail manually ourselves and finally worked out how to set the PARENT_ID field (Foreign Key fields). It was quiet easy after we finally found the little bugger :)
    Under The Reports Attributes for the tabular report, located the PARENT_ID field and edit it (column attributes). Goto the "Tabular From Element" and modify the following values:
    Default Type: Item (Application or page item name)
    default: PXX_FIELD_NAME
    Thats it, so when a new row(s) is added this field defaults to PXX_FIELD_NAME.
    Told you it was easy, but I've just got to glue my hair back in after near tearing it out.
    Reagrds
    Mark

  • Inconsistent inserts into detail table of master-detail form

    Hello,
    [I am not sure if this is a bug or user error, so I've also put this in the bug tracking system.  Apologize for the 'duplication']
    I have a master-detail form: Orders is the master, and Order_Details is the detail. I have noticed some inconsistent behavior when inserting the detail information.
    On occasion, the row will be inserted, and a null value will get inserted into the database for the first column of the detail table; all the other data values will be inserted fine. There doesn't seem to be any pattern to when it happens. I wrote down the following test steps:
    1. Enter new order information and click 'Create'
    2. Click 'Add Row' button so can add order detail info
    3. Enter detail row information
    4. Click 'Add Row' (I do this so I can see the success message that the detail data was actually inserted)
    5. Click 'Apply Changes' at the master level.
    I ran a query on the order details table and saw that the data inserted correctly. Then I ran the following test:
    1. Enter new order information and click 'Create'
    2. Click Add Row button so can add order detail info
    3. Enter detail row information
    4. Click 'Add Row' (success message appears that detail was inserted)
    5. Enter second detail row information
    6. Click 'Add Row' (success message appears that detail was inserted, however, now in the first column of that second detail row - the product name field/column - the data does not appear. I only see my null text value. The data in the first detail row is all correct)
    7. Enter third row detail information
    8. Click 'Add Row' (success message appears that detail was inserted, and this row's information appears correctly, as does the first row's, but the second row is still showing a null value for the product name column)
    9. Click 'Apply Changes' to get out of the form
    A query of the order details table shows that a null value (-) has indeed been inserted into the table for the product name column of the second detail row.
    This behavior also happens when I don't have a null value for the LOV (i.e., it defaults to the first row of the lookup table).
    Has anyone seen this before? Am I entering the data incorrectly?
    Thanks.
    -melissa
    Message was edited by:
    mblakene

    having the some problem. Any help with this ??
    milowski were you able to solve it ? can you share the information.
    Thanks

  • How can I insert in the table detail of a master/detail form??

    Hello, I have created a master/detail form from the assistant, and with the code generated by APEX I do not manage to insert a row in the table detail, I press the button 'Add Row' and refill information, when I press the button ' to apply changes ' me the following mistake appears:
    'Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "C85B64D53C8D63E9D3EE83B82728DFA3", item checksum = "244B1FED90DF5CC5B0DDB6728F4D02DD"., update "CRM_ADMIN"."ASIGNACIONES_AM_CONTACTOS" set "SECUENCIA" = :b1, "CODIGO" = :b2, "NOMBRE_CLIENTE" = :b3, "NOMBRE" = :b4, "COMENTARIOS" = :b5, "CODIGO_COMERCIAL" = :b6'
    How I can solve and be able to insert in the table it detail?
    Thanks

    Hi Law,
    Text in a shape or a text box will not feature in the table of contents.
    To get a colour behind your titles, type them into your document (not a shape). Format as Heading or some other paragraph style the TOC will recognise.
    Select the title text and Format Panel > Text > Font > Gearwheel > Advanced Options.
    Choose Character Fill Color and choose a colour from the palette (left) or colour circle (right).
    Example Titles (all on the same page for a smaller screen shot).
    Chapter 3 (in a coloured Text Box or Shape) does not appear in the TOC:
    Hint for cheats :
    To give the titles a wider Character Fill Colour, add some Tab characters before and after.
    Regards,
    Ian.

  • Creating Detail record in Master Detail form

    I have created a Master Detail form with the Detail form being on a second page.
    I have no problem editing an existing detail record. However, if I attempt to create a new Detail record (insert). I get an error. It appears that the value of the field that I am linking the Master and Detail records with, does not get passed to the second (detail) form when I press the 'Create' button and I have not been able to ascertain where I may need to modify the parameters of the page.
    Any guidance would be appreciated.

    Hi Judy,
    It's been 5-6 months since I've created a Master/Detail APEX application, but I don't remember having to create any special trigger or anything. I created a few maintenance appls over tables I created, and created an inquiry appl using Oracle vendor tables. All of them have worked nicely.
    If the PK/FK's are set up correctly it just works. :-) Like magic. If I recall correctly, as you create the appl you define the the key fields to use. If the tables are defined correctly, and you 'tie' them together using the correct key fields in the application everything should work nicely.
    Tony

  • Can't add new detail record in Master Detail form

    Hi ,
    I've created a simple database application from scratch by initially selecting a Master Detail page. This generated a report page (for the parent ) and a form page (for the child ). On using the form to add a new child record the following error was generated:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400: cannot insert NULL into ("STUDENT1"."DELEGATE"."DELEGATE_ID"), insert into "STUDENT1"."DELEGATE" ( "DELEGATE_ID", "CLIENT_ID", "SURNAME", "INITIALS", "SEX", "SPECIAL_NEEDS") values ( :b1, :b2, :b3, :b4, :b5, :b6)
    Error Unable to process update.
    The 'child' field listed in the error message is automatically hidden on the form and I had presumed that on generating this form using the wizard that I would have had an opportunity to link the delegate_id field to a trigger or a sequence as seems to happen when creating a database application scratch using other page types. I'm new to Apex so I'd be grateful if anyone could let me know as to why this default behaviour occurs,
    regards,
    Kevin.

    I tried it for Apex 4.0.2 (my version) and 4.1 (on apex.oracle.com) and I am asked for master and detail PK generation in both versions.
    What are your steps exactly in the wizard? Like this?
    Create page -> Form -> Master Detail Form
    Now you see a whole list of sub steps including "Primary Key Source".
    Oh I see "Create Application wizard." in your post. Start with an empty application (blank page) and use the Create Page wizard instead. Maybe that's the difference.
    Edited by: InoL on Nov 18, 2011 9:27 AM

  • How to access detail-rows in master-detail form?

    I have a master-detail form(one to many relationship). The master and detail are in separate blocks. The detail rows are displayed in a tabular form.
    I need to access the detail-rows since the database writes for the detail rows will be managed by a procedure.
    I have been looking through the documentation and have been unable to find any syntax for iterating through the detail-rows.
    Any help is appreciated. Thanks.

    go_block(detail)
    first_record;
    in a loop while not last_record
    -- do your stuff
    next_record;
    end loop;

  • DB-Adapter 10g: Filtering Detail-Rows in Master-Detail-Relationship

    Hi,
    I'm having a Master-Detail-Table e.g. Departments and Employees. Those are mapped with 1:N FK-Relationship. Using the Oracle SOA-Suite 10.1.3.5 DB-Adapter I'd like to setup a filter returning all Departments and all (e.g.) female Employees.
    For the example see: http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994.pdf (chapter 4.3.9). Unfortunately, this doesn't work. If definining a where-clause empCollection.gender='female' I get the following behavior:
    - If a dept has no female emp, this department is not shown at all (however I want it to be empty)
    - If there is at least one female emp, the department and all employees are shown.
    Any idea on how to solve this problem would be highly appreciated!
    Regards,
    Johannes

    I gave it a try, 2 problems:
    1) the outer-join seems to be wrong. it provides me only departments that have at least one female employee. If I change that outer-join to:
    select DEP.id,DEP.name, EMP.id,EMP.GENDER
    from EMP, DEP
    where EMP.DEP_ID(+)=DEP.id
    and emp.gender(+)='female'
    it gives me what I want from sqldeveloper:
    select * from emp;
    ID NAME
    1 empty
    2 mixed
    3 male
    4 female
    select * from dep;
    ID DEP_ID GENDER
    1 2 male
    2 2 female
    3 2 male
    4 3 male
    5 3 male
    6 4 female
    7 4 female
    8 4 female
    select DEP.id,DEP.name, EMP.id,EMP.GENDER
    from EMP, DEP
    where EMP.DEP_ID(+)=DEP.id
    and EMP.GENDER(+)='female'
    ID NAME ID GENDER
    1 empty
    2 mixed 2 female
    3 male
    4 female 6 female
    4 female 7 female
    4 female 8 female
    2) However that doesn't solve my problem with the BPEL-Adapter. There I still get the folowing result:
    <DepCollection xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/test4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Dep>
    <id>2</id>
    <name>mixed</name>
    <empCollection>
    <Emp>
    <id>1</id>
    <gender>male</gender>
    </Emp>
    <Emp>
    <id>2</id>
    <gender>female</gender>
    </Emp>
    <Emp>
    <id>3</id>
    <gender>male</gender>
    </Emp>
    </empCollection>
    </Dep>
    <Dep>
    <id>4</id>
    <name>female</name>
    <empCollection>
    <Emp>
    <id>6</id>
    <gender>female</gender>
    </Emp>
    <Emp>
    <id>7</id>
    <gender>female</gender>
    </Emp>
    <Emp>
    <id>8</id>
    <gender>female</gender>
    </Emp>
    </empCollection>
    </Dep>
    <Dep>
    <id>3</id>
    <name>male</name>
    <empCollection>
    <Emp>
    <id>4</id>
    <gender>male</gender>
    </Emp>
    <Emp>
    <id>5</id>
    <gender>male</gender>
    </Emp>
    </empCollection>
    </Dep>
    <Dep>
    <id>1</id>
    <name>empty</name>
    <empCollection />
    </Dep>
    </DepCollection>
    This is how I used the wizard:
    1_Select_Table.png
    2relationship.png
    3objectfiltering.png
    4selection_Criteria.png
    Any futher ideas?
    Edited by: Johannes M on 17.01.2013 12:31
    Edited by: Johannes M on 17.01.2013 12:34

  • Search in the Detail of a Master\Detail Table

    Hi everyone.
    I have a master detail table. How can i search in the detail of that table?
    Thanks!

    Assuming your detail is setup using a view link and included as an actively-coordinated view link in the data model, then the detail VO will only display the data for the current master.
    In addition, if that detail has bind variables of its own, you can supply those bind variables values using ExecuteWithParam built-in action. This will further filter that current set of details for the current master.
    For example, imagine DeptView and EmpView.
    You can search the DeptView to find Depts you want, as you navigate between them the EmpView will show only the employees for that current department. Let's say you do this and have Dept = 10 as the current row in the master. The EmpView will show all employees having DEPTNO = 10.
    You can also further filter the detail by using a view criteria or using bind variables. If you're using the latter, then the ExecuteWithParam built-in action gives you a way to supply values to those bind variables and re-executing the query. The query will be a merging of your original query and the additional WHERE clause fragment added by the framework that restricts the rows to only be for the current department.

  • ADF 10.1.3.3 - Set current row on detail table in master/detail

    I want my master/detail form to remember the row the user selected in the detail table before pressing submit/commit.
    Today is it always the last row displayed that default is selected.
    How can that be accomplished ?
    Message was edited by:
    jsteenberg
    Message was edited by:
    jsteenberg

    Which technology are you using?

Maybe you are looking for

  • Lightscribe Drive NO LONGER Being Recognized

    I have a Lightscribe drive in my HP P6540F.  I used it six months ago successfully, but not since.  Now, when I try to use it, my software reports that there is no Lightscribe compatible hard drive to be found.  I also happened to have an external Li

  • Inbound File Adapter problem

    Can someone tell me why my message is not processed by XI. I use a File Adapter. The File Adapter is "active" with the following configuration. Adapter type = File transport protocal = Filesystem message protocol = File adapter engine = integration s

  • Error -2147217887 occurred at DB Tools Open Connec(string).vi

    LabVIEW 7.1 with db connectivity toolkit is returning this error every few days. Error -2147217887 occurred at DB Tools Open Connec(string).vi -> ... Possible Reason(s): API Error: USER LIMIT EXCEEDED. In DB Tools Open Connec(string).vi -> ... I use

  • Trying to activate a new 5c but won't connect to wifi

    I am in the beginning stages of activing a new 5c. However when I try to connect to wifi or the cellular network it doesn't connect. I also cannot get into the settings for the phone because it has not been activated yet. I also cannot install itunes

  • Move Access database to SQL Server

    We have a database that was built and managed in Access. The database has grown too large for Access and I have been asked to move it on to our Windows Server 2012 box that runs SQL Server 2012. What is the best way to make the conversion? This topic