Master-detail reports in SqlDeveloper

Hello,
I recently read this article by Sue Harper.
www.oracle.com/technology/oramag/oracle/07-may/o37sql.html
I am using Sqldeveloper for a little while now, but never created a user-defined report.
This morning I read this article about it, and I am really thrilled.
The problem is: I cannot get a master-detail report to work.
I followed the instructions:
Master query:
select a.master_column
from not_important a
The type of the detail report is "DETAIL" and I refer to the master-column like this : where blabla = :MASTER_COLUMN
I Tried:
* changing caption of the bind variable.
* adding a column alias in the master query
* changing type to child
nothing works
Tried it in sqldeveloper: 1.5.4 and 1.1.2.25
neither work.
Of course I am missing the obvious. Can somebody please point out, what I am doing wrong.
Regards.

I finally figured out, what I was doing wrong.
I tested my report with a single master-record by pressing the detail run-button (>) immediately after the report openend, WITHOUT first actually selecting this single master record with my mouse.
So when I hit the detail run-button (>) Oracle returned with a "All Rows Fetched: 0". So I never realized I was actually querying with a NULL value in the bind variable.

Similar Messages

  • Binds in Master/Detail Reports: Problems and Solutions

    I've been trying to use bind variables in the master report of master/detail reports with multiple detail reports; but, I've been getting a problem with the detail reports not displaying data.
    Here's a sample sequence of events:
    1) Select the master/detail report under User Defined Reports.
    2) Connect to a DB (if necessary).
    3) Enter any value(s) for the bind(s) for the master report.
    4) Select a row in the master report.
    5) The currently selected detail report displays column names and data.
    6) Select a different detail report.
    7) Nothing displays except column names.
    8) Select a different detail report.
    9) Nothing displays except column names.
    10) Click the currently selected row in the master report.
    11) Now the current selected detail report displays (column names and) data.
    I have found that if, I am more selective with my bind variable names, I can get things to work as expected.
    First, let me show an example of some SQL that was giving me problems.
    Master Report:
    select distinct OWNER
    from SYS.ALL_OBJECTS
    where (OWNER like :OWNER or :OWNER is NULL)
    Detail Reports:select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'INDEX'replacing 'INDEX' with other values for the other detail reports.
    (I did have this problem with other SQL too but hopefully this SQL will run on everyone's DB.)
    The first solution I found was to change the name of the bind in the master to something like OWNER_BIND.
    The second solution I found was to change the master to
    select distinct OWNER as POWNERand change the detail reports to
    where OWNER = :POWNERAnother solution might be to adjust the bind variable names' case, but I didn't look at that.
    While I was trying different things to get this to work, one of the goofy things that SQL Developer did was add <binds>s to the <query>s of the detail reports in my UserReports.xml. IIRC, it even did this to a master/detail report that I was not editing. So, if you run into this problem, you might want to open your UserReports.xml and clean it up by hand. (Actually, that might be good advice for other problems too.)
    Tip: I've had other problems with my User Reports such as disappearing reports; so, not only do I regularly make copies my UserReports.xml, I also save report(s) into separate XML files and use Tools > Preferences... > Database > User Defined Extensions to add REPORT-type extensions to SQL Developer. (Kris Rice talked a bit about REPORT-type extensions in this blog entry: http://krisrice.blogspot.com/2006/11/xml-extension-points-reports.html)
    FYI: I'm using sqldeveloper-1.1.2.2579 on Windows XP w/ SP2. The DB is Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    Here is the complete XML exported from a problem report. If you want to use this, save it as an XML file then import that file from within SQL Developer (ie, right-click on User Defined Reports and choose Import).
    Notice that there are <binds>s on the detail reports. They don't belong there; only the one on the master report belongs. (The <binds> is specified by the Binds tab when creating a report. They are for prompting the user for value(s) and you cannot do that in child reports.) Even if I removed the <binds>s from the detail reports before importing the XML file, I still see the problem. SQL Developer also ends up putting them back. I think that it might happen to each detail report individually as it is visited when using (ie, not editing) the master/detail report.
    <?xml version="1.0" encoding="UTF-8" ?><displays><display id="" type="" style="Table" enable="true">
         <name><![CDATA[Sad]]></name>
         <description><![CDATA[]]></description>
         <tooltip><![CDATA[]]></tooltip>
         <drillclass><![CDATA[null]]></drillclass>
         <CustomValues>
              <TYPE>horizontal</TYPE>
         </CustomValues>
         <query>
              <sql><![CDATA[select distinct OWNER as OWNER
    from SYS.ALL_OBJECTS
    where (OWNER like :OWNER or :OWNER is NULL)]]></sql>
              <binds>
                   <bind id="OWNER">
                        <prompt><![CDATA[OWNER (like)]]></prompt>
                        <value><![CDATA[NULL_VALUE]]></value>
                   </bind>
              </binds>
         </query>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[INDEX]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'INDEX']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[PACKAGE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'PACKAGE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[PACKAGE BODY]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'PACKAGE BODY']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[SEQUENCE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'SEQUENCE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[TABLE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'TABLE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
    </display>
    </displays>

  • Master Detail Report for PDF Printing

    Dear All,
           While trying to create a master detail report using Oracle APEX 4.2 and BI Publisher. I tried creating report queries and report layout following the below mentioned steps.
    CREATE TYPE emp_row AS OBJECT (
      EMPNO NUMBER(4),
      ENAME VARCHAR2(10),
      JOB VARCHAR2(9),
      MGR NUMBER(4),
      HIREDATE DATE,
      SAL NUMBER(7,2),
      COMM NUMBER(7,2)
    CREATE TYPE emp_tab AS TABLE OF emp_row;
    CREATE TYPE dept_row AS OBJECT (
      DEPTNO NUMBER(2),
      DNAME VARCHAR2(14),
      LOC VARCHAR2(13),
      EMP_LIST emp_tab
    SELECT SYS_XMLAGG (
      SYS_XMLGEN(
      dept_row(
      d.deptno, d.dname, d.loc,
      CAST(MULTISET(SELECT e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm
      FROM emp e
      WHERE e.deptno = d.deptno) AS emp_tab)
      SYS.XMLGENFORMATtYPE.createFormat('DEPT')
      ) AS "XML_QUERY"
    FROM dept d
    WHERE d.deptno = 10;
    Though the above steps generates xml output while trying to generate in APEX it says unsupported datatype. Tried using DBMS_LOB as well no luck. Any inputs will be quite helpful. Should there be any other way to incorporate master detail report printing in APEX kindly advise.
    Thanks
    Ahmed

    Hi Ahmed_Jed,
    Ahmed_Jed wrote:
    Thanks Kiran for your prompt response. I tried following the steps already using this link (How To Create a Master-Detail PDF Report) somehow the detail record was not getting processed perhaps was trying to generate xml data using the above query. Any other reference will be highly appreciated.
    Regards
    Ahmed
        Well the problem lies here:
    SELECT SYS_XMLAGG (
      SYS_XMLGEN(
      dept_row(
      d.deptno, d.dname, d.loc,
      CAST(MULTISET(SELECT e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm
      FROM emp e
      WHERE e.deptno = d.deptno) AS emp_tab)
      SYS.XMLGENFORMATtYPE.createFormat('DEPT')
      ) AS "XML_QUERY"
    FROM dept d
    WHERE d.deptno = 10;
        The Report Query itself generates XML data (in the required BI Publisher format). So, no need to generate it like this.
        As you are using table functions your query should be of the type:
    SELECT EMPNO
                , ENAME
                , JOB
                , MGR
                , HIREDATE
                , SAL
                , COMM
        FROM TABLE ( EMP_PKG.GET_EMPLOYEES ( :PXX_DEPTNO ))
        where EMP_PKG.GET_EMPLOYEES is packaged table function which returns the Object Table of type EMP_TAB mentioned above.
        When you test the above Report Query with sample DEPTNO, it will generate the sample XML, which you can use to generate Report Layout in RTF format using BI Publisher Desktop.
        Hope this helps!
    Regards,
    Kiran

  • Master Detail Report Export to Excel/CSV

    Hello,
    Does anybody know how one may export a master detail report page - master is a html region, detail is a report region export to a csv file.
    The only option I found i the layout and pagination - export csv option, but this generates just the report region...
    Is there any possiblility to export the report as shown on screen to csv?
    Thanx
    Johann

    Hi,
    Limit the range of data to be exported and check any row missing.
    Thanks & Regards,
    Nagarajan

  • Master details report/form

    Hi Friends,
    I want to create a Master-Detail report/form.
    I have one Master Table and it has 3 Detail tables.
    Example:
    Master Table: Members
    Detail Tables: Contributions
                   Loans
                   Benefit ClaimsI want to show when I click on a specific Member in the report edit , I can make entry/update to all
    the 3 detail tables. And not going each entry separately.
    Is this design requirement good?
    Thanks a lot

    You can look here on how to create multiple detail tables:
    http://htmldb.oracle.com/pls/otn/f?p=31517:163
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Group above master/detail report; page break causes repeat of master frame

    Hi
    I have a a group above master/detail report; when there is a page break part way through the master frame it causes the whole master frame to be repeated on the next page. I don't want this to happen, I just want the remainder of the master frame to be displayed on the next page. any ideas?
    TIA

    Hi
    I've tried switching the "Page Protect" to No at the page level and the "Print Object On" is set to "First Page" but it doesn't solve the problem. The whole master frame is repeated on the next page when a page break occurs part way through. The master/detail Repeating Frame "Print Object On" is set to "Last Page".
    Any other ideas?
    TIA

  • Master-Detail Report

    Hi Gurus,
    I am trying to implement master-detail report in single window without navigating to other window in OBI 10g by following the below link
    http://108obiee.blogspot.in/2010/02/obiee-master-detail-requests-navigation.html
    but i am facing problem in creating iframe column and including that column in the report
    Can we achieve this requirement in OBI 10g if yes please suggest me how can we do this.
    Thanks,

    Hi Muram,
    For implementing Master-detail for the product report when we click on Prod-Cat from master report(Year, Prod-Cat, Tot-Sales) it as to show the detail report (Prod-SubCat,Tot-Sales) in the same window without navigation to the other window for this scenario I implemented the steps as per the below URL which was send in the previous post.
    http://obiee10grevisited.blogspot.in/2012/05/master-detailed-report-on-same-page.html
    but I am facing problem in 5th,6th,7th steps could you please suggest me on these.
    1>First I created master report with columns (Year, Prod-Cat, Tot-Sales)
    2>Second I created detail report with columns(Prod-SubCat,Tot-Sales)
    3>I have created two prompts Year and Prod-Cat
    4>Now in the dashboard page I kept prompts and two reports in separate sections
    5>To build intermediate report for validation which columns I have to take in that report and what I have to give in the fx.
    6>In the detail report sections in the edit dashboard how to give the reference to the intermediate report and how to make the report not visible at the initial view of the user.
    7>In the main report how to give the navigation to the same page which consist of main and detail report together we can navigation either main report or detail report how we can navigation which consist of both.
    Thanks,
    Rafi
    Edited by: Rafi.B on Aug 29, 2012 11:42 AM

  • Master Detail Report + Tab navigation error

    Hello All,
    I built a master detail report and included a standard tab set. I built it with the wizard. When tabbing from the report page there is no problem. When tabbing from the associated master detail page you always get "web page not found" with this in the address bar-"http:///apex/wwv_flow.accept". I understand why you would not want to tab out from this type of page. Can anyone point me in the right direction to remove the tabs from view on this page. All my attempts want to remove the tabs at the application level. I am using the one level tab page template. Thanks ...

    Wayne,
    If you can put your application on apex.oracle.com and tell me how I can see this problem, that might be easiest. Just need your workspace name and application ID (plus instructions).
    Scott

  • Master Detail Report using Report Query

    I am using APEX Report Query component to try and create a mater/detail report with BI plug-in. The Report Queries doesn't give you mush flexibility as each query is independent of the other. I'm trying to see if I need to create 2 queries or 1 AND what option would let me create a master detail report like so in BI Desktop:
    Employee: Bob ID:100 Dept: HR
    Jobs
    Job 1
    Job 2
    Job 3
    Employee: Tom ID:200 Dept: ACCt
    Jobs
    Job 1
    Job 2
    Job 3
    Option1.
    I could combine the Employee Job info with the Employee info, but that would report the Employee info for every Employee Job. I didn't think that was good.
    <Rowset1_Row>
    <EMPID>
    <NAME>
    <DEPT>
    <JOB>
    </Rowset1_Row>
    Option 2.
    I could create 2 queries. The 1st getting all of the Empoyee info. The 2nd getting all of the Employee jobs.
    <Rowset1_Row>
    <EMPID>
    <NAME>
    <DEPT>
    <JOB>
    </Rowset1_Row>
    <Rowset2_Row>
    <EMPID>
    <JOB>
    </Rowset2_Row>
    <Rowset2_Row>
    <EMPID>
    <JOB>
    </Rowset2_Row>
    Any advice?
    Edited by: bobmagan on Jun 1, 2009 5:29 AM

    Can you check for the settings please.
    Thanks and Regards
    Riyas

  • Master Detail Reports on the same page

    hi experts. i need your assistance in one issue...
    i have a master detail reports in one page. Master report displays all the products and details report shows their orders...
    what i want is, when user clicks on products graph its detail graph show the orders of that particular record on the same page. Both reports would remain visible on the same page side by side.
    if anyone can help?

    Hi Asif48,
    Just as Visakh suggest, we can add the master data and subreport in the same tablix, then set the visbility of subreport to toggle based on click action of master level row. And add some parameters to filter the related data based on the master report field.
    For more details, please refer to the following steps:
    Create another report as the subreport and insert some fields. 
    Create a parameter named Order in the subreport.
    In the main report, right-click to insert a subreport in the column right of the master tablix.
    Right-click the subpeort to open the Subreport Properties, and select the subreport name in the drop-down list.
    In the left panel of the Subreport Properties dialog box, click Visibility.
    Select Hide option, and select Product (master level row) to display the subreport to be toggled by the Product report item.
    In the left panel of the Subreport Properties dialog box, click Parameters.
    Select Order in the drop-down list of Name, and select [Product] (use the related filed name) in the drop-down list of Value.
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problem in Master detail report

    Hi Team,
    I want to generate a master detail- report on table employees(empno,ename,sal,jobid,deptno,deptname,dept_mobileno,dept_pincode).
    The report should be display in the format which is shown in the image present at URL:- http://www.uploadup.com/di-DC37.jpg
    For each unique combination of columns (empno,ename,sal,jobid) , i want to display the detailed records ( more than one ) (deptno,deptname,dept_mobileno,dept_pincode).
    Please see the image present at URL :- http://www.uploadup.com/di-DC37.jpg
    Please help me on this how to edit templates for my requirement and what sql query is required to solve this problem.
    Thanks and Regards,
    Rajendra Yadav

    913508 wrote:
    Hi Team,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "913508".
    You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    I want to generate a master detail- report on table employees(empno,ename,sal,jobid,deptno,deptname,dept_mobileno,dept_pincode).
    The report should be display in the format which is shown in the image present at URL:- http://www.uploadup.com/di-DC37.jpg
    For each unique combination of columns (empno,ename,sal,jobid) , i want to display the detailed records ( more than one ) (deptno,deptname,dept_mobileno,dept_pincode).
    Please see the image present at URL :- http://www.uploadup.com/di-DC37.jpg
    Please help me on this how to edit templates for my requirement and what sql query is required to solve this problem.Thanks for making the effort to create the demo screenshots, they're helpful but with APEX we're fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Please create sample tables and data on apex.oracle.com and post guest developer credentials for your workspace here.
    +{message:id=9816577}+ covers a similar problem.

  • HTTP 400 Bad Request error in master/detail report

    Using APEX 3.2
    I have master/detail report and thought all was working fine because the detail lines were less than 100. I increased the number of lines to 300 and then when the Save or Delete buttons are pressed, we get the HTTP 400 Bad Request error. I decreased the lines to 100 (about 32K) and everything works again.
    Is there a size limitation on the detail? FYI - the header regeion is on the same page as the detail. If there is a size limitation, is there a way to increase this?
    If you experts don't think the error is a result of the size, could there be another cause?
    THANKS FOR YOUR HELP!
    Sandie

    Hi All,
    Issue resolved:) ...that due to When calling a URL in the REST Receiver Channel, all GET variables are ignored
    so we had to upgrade SP10 patch level 5 and all services are working as we expected.
    Also pls check Note :2114322
    Thanks,
    Maheswarareddy

  • Repeating  field values per paage in Master Detail Report

    I know there are lots of threads about repeating fields values across pages but not seem to work that I have tried and I was looking for a simple resolution to my problem.
    I have a master detail report like:
    Deptno: 10 Dname: Accounting
    Empno Surname Job Sal
    1234 Smith Clerk 1000
    1235 Jones Clerk 1200
    Deptno: 20 Dname: Research
    Empno Surname Job Sal
    2234 Smith Clerk 1000
    2235 Jones Clerk 1200
    etc. The employee data is displayed in a Word table.
    Now if I use the standard emp/dept tables (with only 14 employees) the report paginates properly and I see one department per page and the corresponding employees per page. I have used the <?split-by-page-break: ?> tag. A sample of the rtf file is:
    <?for-each:dept?>Dept: <?deptno?> Name: <?dname?>
    TABLE of EMPS (via insert -> table ->advanced etc)
    <?split-by-page-break: ?>
    <?end for-each?>
    Everything works fine but if I then apply a larger xml file to this rtf where the number of employees spill over onto another page the deptno and the dname do not print before the table when I want them to.
    I have tried putting things into Word headers, using the <?start:body?> tag and a couple of other ways (like @section). Could someone be quite explicit about the steps I need to follow (rather than just say put it in a header) to make sure that if the employees spill over the page the deptno and dname will display. I don't know if its made more difficult because I have multiple departments but any help would be appreciated.

    I sent a template to Chris who was able to solve the problem.
    The change that he made was from:
    <?for-each:dept?>Dept: <?deptno?> Name: <?dname?>
    TABLE of EMPS (via insert -> table ->advanced etc)
    <?split-by-page-break: ?>
    <?end for-each?>
    to:
    Dept: <?deptno?> Name: <?dname?>
    <?start:body?><?for-each@section:dept?>
    TABLE of EMPS (via insert -> table ->advanced etc)
    <?end for-each?><?end body?>
    That is, he used the start and end body tags and the section attribute and took out the <?split-by-page-break: ?> tag. I put back in the split page tag on the template he gave me but it gave me an extra page each time the department changed. So maybe you can really only use one of the other.
    Regardless, Chris sorted it out for me, so thanks.

  • Master-detail reports with variable number of pages in a big report

    I am designing with Reports 6.0.5.32.0 a master-detail report such as a
    combination between a customer with his name, address etc, at the top of
    the page (always 60% of the first page) and then as details lines with his orders.
    For one customer seems relatively OK with the variable number of pages in accordance with the number of his orders.
    When the main query finds more customers I present always the customer at the top of
    a new page (that's easy), but how can I control the number of the next pages for the orders, variable for every customer.
    I can not predict how many pages are necessary for a customer and white pages are
    not desirable. When the number of Max. Vertical Body Pages is too low I can get the next pages for every customer, but appears an
    uncontrollable shift to the left.
    For instance, a customer with 40 orders needs 3 pages, one with 4 orders only 1 page, one with 15 orders 2 pages, etc.
    What's the magic property for a secure and precise layout?

    Hi Andreas,
    did you try setting vertical spacing to expand or variable on master repeating frame (and posible other frames surrounding master repeating frame)?
    Hope this helps

  • Master-Detail reports in Reports 6i

    I am trying to write a master-detail report where the master record prints on the top of page one and the detail records print on the top of page two. They would repeat this for additional records.
    Currently I have a repeating frame with two frames inside it (the repeating frame is on one page of the layout model). The top frame is for the master record (this is a regular frame) and the bottom frame is for the detail records (this is a repeating frame). I can get the detail records to print on the second page, but they print at the same position as in the layout model (towards the bottom of the page).
    The question I have is how to get the detail records to print at the top of page two?
    Thanks in advance

    Hi Todd!
    I had the similar task but implemented it a little bit differently. Try the following on the master record frame: set Vertical Elasticity to variable and create format trigger
    function M_1FormatTrigger return boolean is
    PAGE_NUM NUMBER;
    begin
    srw.get_page_num (page_num);
    if mod(page_num,2)=0 then
    return false;
    end if;
    return (TRUE);
    end;
    Both of this things should release space occupied by the master frame from the second/even pages and move detail frame up.
    Regards,
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000
    http://www.brainbench.com

Maybe you are looking for

  • Not able to get the profile option value

    Hi, Not able to get the profile option value after i changed the new value in the application. I am using fnd_global.apps_initialize to initialize the apps from PLSQL code to get the updated profile option value. But fnd_profile.value is not getting

  • Text does not move to next line

    at the end of each line of text the cursor is returning to the start of the same line. The text is then writting over the original. by "over" I mean you can see the original text underneath the new. this also occurs in text boxes. i would start a new

  • What can't Apple TV connect to library?

    I have done all the normal checks and I keep getting the message that Apple TV cannot connect to my library.  Anyone3 have any suggestions?

  • LTS  doubt

    Hello All, In my physical layer we have some table disconnected(TableA and TableB). When I create a logical table in BMM layer and use these two tables and pull columns from each table and do consistency check, it doesn't give me error msg.So now I h

  • Linked Documents Version in MM01/MM02

    Hello experts, Every time I link a new document in mm01/mm02, the system includes a version by default, always 00: Is it possible not to have a value by default?? I want to indicate the version always manually. Regards. Laura