Problems accessing parameters within repeating frames.

I hope this is a more readable version of the problem I just submitted.
This is the overall layout of a report I am currently working on
and having problems with, using Oracle Reports 6i.
Departments Commitments Obligations
Dept 1 - Dept 1 Title
RCC 1 - RCC Title
RIC
Non-pay by RIC 308 1 1
Non-pay by RIC 438 1 1
Non-pay by RIC 514 1 1
Subtotal 3 3
Pay by RIC 514 2 2
Total RCC 1 5 5
RCC 2 - RCC Title
RIC
Non-pay by RIC 308 1 1
Non-pay by RIC 438 1 1
Non-pay by RIC 514 1 1
Subtotal 3 3
Pay by RIC 514 1 1
Total RCC 2 5 5
Dept n
Total Dept 1
Non-pay by RIC 308 2 2
Non-pay by RIC 438 2 2
Non-pay by RIC 514 2 2
Subtotal 6 6
Pay RIC 514 4 4
Total Dept1 10 10
I use a format trigger to calculate the data for
Non-pay by RIC 308 (the most inner frame).
If (:RIC = '308') then
Return (True);
Else
Return (False);
End if;
And I do something equivalent for the other two RICs, RIC = 438,
and RIC = 514.
With this approach, I am able to calculate subtotals and totals
for all the RCCs for each Dept.
I work one frame at a time, from the inner frame to the outer
frame.
My problem is to get the Total Dept section at the end of each
Department.
Total Dept 1
Non-pay by RIC 308 2 2
Non-pay by RIC 438 2 2
Non-pay by RIC 514 2 2
Subtotal 6 6
Pay RIC 514 4 4
Total Dept1 10 10
I get a frame error when I try this code in a format trigger
If (:RIC = '308') then
Return (True);
Else
Return (False);
End if;
I know this trigger fails because I am trying to reference the ":RIC"
parameter that is in a different repeating frame.
How can I check for the RIC at this level?
Is there a better way to tackle this problem? Any suggestions?
Thanks,
Carlos

Sounds like the source data for the Graph is the wrong Group.
Dave

Similar Messages

  • Problem with graphs on repeating frames

    Is it possible to use graphs showing correct data within repeating frames?
    We experienced problems with graphs within repeating frames, each occurrence of a graph shows the same picture (using data that corresponds to the first frame).
    Tnx in advance.

    Sounds like the source data for the Graph is the wrong Group.
    Dave

  • Please suggest problem in increasing height repeating frames

    Hi,
    in my report normally up to 100 are printed. i setted the vertical elasticity as expand and horizontal as fixed.
    but while priting, in vertical, it is contracting if date is too short enough and expanding when dat is large enough. But what my requirement i want to specify the height of each field in repeating frame fixed. i.e. 3 centimeters and it should be same for all records printed on page and on each logical page and i want to print maximum 8 records per page becoz my print page size can hold maximum 8 records and each record at 4 lines. And even if the data is short enough it must not be contracted, if data is one line,and the remaining space that is in 3 cemtimers should be left blank and it must to go to second record. That is in fixed heigt of record repeart frame i want to print the data. If data goes more than 3 centimetres then date must be truncated. I did not find any height to set this property in Repeating frame property.
    please suggest solution'
    thanks in advance
    prasanth a.s

    Hi Prasanth,
    Enlarge the Repeating Frame height to say, 3 centimeters in the layout.
    Set the Vertical (& Horizontal as well) Elasticity of the repeating Frame as Fixed.
    In the Property Palette of Repeating Frame, set Maximum Records Per Page to 8 and Set Page Break after property to Yes.
    This will solve ur problems.
    Have a nice day...
    Raja Angamuthu B

  • Problem accessing function within my Document Class

    Hi there,
    I have a Document Class which dynamically adds a MovieClip to
    my FLA. The MovieClip is in the FLA library and has "Export for
    ActionScript" setup for it and this is how I'm accessing the
    MovieClip from my Document Class.
    The problem is that when the MovieClip is finished (it has a
    timeline animation and a stop() method applied to the last frame of
    the animation) I want it to call a function that is placed within
    my Document Class, but simply calling the function (e.g.
    displayEnterButton();) is displaying an error of....
    1180: Call to a possibly undefined method
    displayEnterButton.
    Can anyone help here, I'm sure it's a simple issue to
    resolve.
    Many thanks!
    Kind regards,
    M.

    Hi,
    I've managed a work around to this.
    Basically, in my Document Class after the code that adds the
    MovieClip to the Display List, I then setup a Timer that called a
    function every 100 milliseconds. This function would then check the
    current frame of the loaded MovieClip. If the current frame of the
    MovieClip was equal to the last frame of the MovieClip then I would
    know the animation had finished and would call the next function I
    needed.
    I've pasted the code below in case anyone was interested....

  • Problems accessing parameters, files - problems in general.

    I've been posting my problems to comp.lang.java.programmer but Google Groups is exceedingly slow to update and I've been stuck on this for nearly two whole days:
    I am developing what will be a series of web utilities for our company and our client's company. Unfortunately I am hampered by the fact that my Java is not that good having come from a C++ background.
    My current setup is Windows XP, JDK 1.3.1.07 (which is what our client is running), Tomcat 4.1 for testing on my local box.
    I've been middling around with small examples and decided to do something slightly more complex. What I am trying to do is access a file that is described in web.xml as a parameter. However when ever I run the program it is unable to find the file. All the documentation I have (web-based plus a Professional Java Server Programming J2EE Edition - way over my head) either skims across it/takes it as read it will be set up correctly/doesn't touch it at all.
    I thought I was trying to access the wrong directory so I mapped the file to the root of C and still can't access it - it always comes back as null. Also between attempts I restart the Tomcat server so it always loads in the web.xml file.
    This is my web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
      <display-name>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
      <servlet>
        <servlet-name>LogIn</servlet-name>
        <servlet-class>website.LogIn</servlet-class>
        <init-param>
          <param-name>passwordFile</param-name>
          <param-value>C:\\passwords.txt</param-value>
        </init-param>
      </servlet>
      <servlet-mapping>
        <servlet-name>LogIn</servlet-name>
        <url-pattern>/logged</url-pattern>
      </servlet-mapping>
    </web-app>And the Java:
    package website;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    *  Handles the login to the administrators section of the website
    public class LogIn extends HttpServlet
        private String passwordFile;
        /** Read the password file from the location specified
         *  by the passwordFile initialization parameter.
        public void init(ServletConfig config) throws ServletException
            super.init(config);
            passwordFile = config.getInitParameter("passwordFile");
            System.out.println(passwordFile);
            if (passwordFile == null)
                System.out.println("The \"passwordFile\" property must be set to a file name");
            try
            catch (Exception e)
                System.out.println("Error: Unable to read passwordFile.");
        public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
        public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    }It was suggested on comp.lang.java.programmer to check the path that the system was thinking I was searching which I did by inserting this code fragment:
         // initialise the servlet and load password(s)
    //     super.init(config);
    //     passwordFile = config.getInitParameter("passwordFile");
         // added code
         passwordFile = "passwords.txt";
         File f = new File( passwordFile );
         System.out.println( f.getAbsolutePath() );
         // added code.
            ...This lead me to learn that the directory being returned was:
    C:Program Files\Apache Group\Tomcat 4.1\passwordFile.txt
    Which is strange since I would of thought that the lowest directory
    that is visible to the class would of been ROOT (hence it's name).
    Does this mean if I copy the passwordFile.txt to the above directory
    it would work? Actually no. I still can't get the filename as a
    parameter from web.xml which is frustrating. If you could give me any
    pointers on what might be wrong then that would be cool.
    I thought I could move forward by accessing the file directly. But no: An addition of f.exists() to check that the file exists returns false. I've now got a copy of passwords.txt in every single directory from the classes directory all the way down to C:\ and it still doesn't work.
    I hope someone can help out here since this is very frustrating to be stuck on something so basic as file handling.
    Graham Reeds,
    http://omnieng.co.uk | [email protected]

    I can see how this is frustrating but it should be fixable. The last example you posted won't work because you have "passwords.txt" instead of "c:/passwords.txt".
    If you're still looking for a solution could you cut and paste the following code into your servlet code and then post the results?
    // Check that init param is read correctly
    String filename = config.getInitParameter("passwordfile");
    System.out.println("config param = " + filename);
    // try filenames
    String[] filenames = new String[] {"c:/passwords.txt", "c:\\passwords.txt", "passwords.txt"};
    for (int i=0; i < filenames.length; ++i) {           
       File file = new File(filenames);
    System.out.println("File " + filenames[i] + " - exists = " + file.exists());
    System.out.println("Abs path = " + file.getAbsolutePath());
    This is based on the file c:\passwords.txt existing - if I have the wrong filename, please adjust. Also, you may need to change <i> to [[i]i] in a couple of places.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

  • [SOLVED] Report Repeating Frame Will Not Print More Than One Page of Data

    I have a layout which contains only 1 repeating frame, and is not contained in any other frames. The query that the group of this frame is based on returns 414 rows. The report is a character based report of 180x66. All of the fields in the repeating frame are all in a straight line on a single row.
    No matter what I do, the report ends at the bottom of the first page. If I put the frame at row 30, only 36 rows are printed. If I put the frame on the first row, it stops at 66. No mater what I do, it will not continue on the next page.
    Any ideas on what could be the problem here?
    Thanks,
    Kurz
    Edited by: Kurzweil4 on Oct 13, 2008 3:35 PM
    Print condition was set to All. Changing it to First solved the problem.

    Make sure the repeating frame is variable vertically and that all the frames that it encloses are variable.

  • Problem with delimited output in repeating frames - urgent

    I have two repeating frames one below the other. The problem is that unless there are two rows or more that result in the first repeating frame, it does not appear in the delimited output file. What is going on here ? Is it a bug ?
    This happens only when I use generate to file -> delimited option. The report work fine using the previewer.
    Any thoughts? Thanks in advance.

    Now I have reports 6i (6.0.8.22.0). I believe it is patch 13. I still have the same problem. I still do not see the "delimiteddata" option. I only see "delimited" option. Someone told me that there is a new, "delimiteddata" option with patch 11 and higher. Also where can I find new documentation that shows the new desformat.
    tHANKS

  • Layout problem - multiple repeating frames

    Hi, I have a layout problem, pls help!
    Short report description:
    - Repeating Frame1 - gives 1 record, contains all other frames, variable vertical elasticity
    - - Frame2 - contains all frames beneath - variable vertical elasticity
    - - - Frame3 - variable vertical elasticity
    - - - - some boilerplates
    - - - - Repeating Frame 2 - various number of records, fixed vertical elasticity, height 100
    - - - - Repeating Frame 3 - various number of records, fixed vertical elasticity, height 30
    - - - - .. other repeating frames ..
    When reaching the bottom of a page, and there is not enough room to print a record for Repeating frame 2, a record from Repeating frame 3 is printed in the bottom.
    Next page starts with the remaining records from Repeating frame 2.. and then the remaining records from Repeating frame 3.
    For example:
    Page 1:
    Rep frame 2 - Record 1
    Rep frame 2 - Record 2
    Rep frame 2 - Record 3
    Rep frame 3 - Record 1 -- not enough space to print Record 4, so this record is printed
    Page 2:
    Rep frame 2 - Record 4
    Rep frame 2 - Record 5
    Rep frame 3 - Record 2
    How can i ensure that all records from Rep frame 2 is printed before records from Rep frame 3?

    Hi, thanks for helping me out!
    I tried to use anchors, but they had no effect when connecting top of 3 to bottom of 2, got the same layout.
    I then tried to create frames with vertical elasticity expand around both rep frame 2 and rep frame 3, and it seems to do the job.
    - Repeating Frame1 - gives 1 record, contains all other frames, variable vertical elasticity
    - - Frame2 - contains all frames beneath - variable vertical elasticity
    - - - Frame3 - variable vertical elasticity
    - - - - some boilerplates
    - - - - Frame 4 - vertical elasticity expand
    - - - - - - Repeating Frame 2 - various number of records, fixed vertical elasticity, height 100
    - - - - Frame 5 - vertical elasticity expand
    - - - - - - Repeating Frame 3 - various number of records, fixed vertical elasticity, height 30
    and so on..
    Thanks again

  • Repeating Frame Problem - please guide

    Dear Gurus,
    I am developing a report in reports 6i. The structure of report is something like this.
    M1
    R1
    f1
    f2
    R2
    M1 is a fixed frame containing all other elements. R1 is repeating frame containing
    2 fields and one repeating frame.
    Now while printing records of R2 overflow to next logical page. that's fine but space of f1 and f2 also get repeated on to next page.
    To give an analogy :-
    Purchase Order Report
    po number - f1
    supplier - f2
    po lines -r2
    next page
    empty space present ( equal to the required fields r1 and r2 )
    po_lines
    Now point is i want the Po lines to continue without the space for fileds for f1 and f2 repeating.
    and yes i kept vertical elasticity for M1,R1 and R2 as variable.
    How can i solve it.
    please guide.
    regards ravi

    Print Object on property it is "First Page". the structure is like
    <code>
    M1
    R1
    f1
    f2
    R2
    </code>
    Problem is when r2 overflows to next page, the space for f1 and f2 is also there on next page. What i want is content of r2 should come at the start of the page rather than at the location where its fixed when it's overflowing to next page.
    regards

  • Repeating frame problem

    Hi,
    I've Matri with group report which prints 'region' level data in Repeating frame (down).
    But, for the Last region of the report, the report is prinitng twice the data. I observed this problem when I have more than one 'region' level data and then for the last region data in that.
    ( means, if there is only one region data, it's not priniting twice, rather priniting fine).
    Please suggest anything on this..urgent a bit..
    Thanks,
    Ratnakar

    Hi,
    Do one thing, place a group frame around repeating frame , sure it must be of size to occupy 3 or more reocrds generated by query. Below this group frame , place additional fields you want to appear below . Remember to keep vertical and horizontal elasticity fixed for this group frame.
    Adinatn Kamode

  • Repeating frame spacing Problem in Reports 6i

    I have a Matrix with Group report. Now I have two sections (one is matrix section, second is Grand totals section).
    After I run the report layout ,Matrix section data (repeating frame) is appearing at one spacing but the other repeating frame in Grand Totals - appears in the same page (below the Matrix data section) with different spacing and aligning.
    I’ve attached the output of the sample report. You can find the aligning/spacing problem between Matrix data (one repeating frame) and Grand Total data (another repeating frame)
    This is the problem, I have tried changing all the properties, but all in vain. I feel that the repeating frame in Grand Totals appears exactly at the same position as the first one.
    Please help...
    Ratnakar.

    Hi,
    There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
    Thanks,
    Rohit Hi Rohit,
    Thanks for the information.
    well I am generating single output file on each run .
    the problem is somewhat funny.
    I have build query2 in data model after query1.
    query 1 is giving me correct output both in .PDF and delimiter version.
    But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
    When I took out query2 to another module it is running fine for both.
    I hope this make sense.
    Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
    Thanks
    Mohit...

  • Large Repeating Frame Problem

    Dear All:
    My problem is as below:
    I need to draw a large repeating frame ( sized 8 inches x 38 inches) and print it out using A4 paper (sized approximately 8.5 inches x 11 inches) via PDF format in Acrobat Reader. The problem is the report print out to be so small in order to fit the A4 size.
    Is there anyway to fix the Layout Model Body Section as A4 size and at the same time include a repeating frame in the report body which sized larger than the layout body?
    Thank You.
    Regards;
    Jessie

    Jessie,
    Check the "Horizontal Panels per Page" property, in the "Main Section" node of "Layout Object" (in the Object Navigator window).
    I believe this will solve your problem.
    Pedro das Neves
    ([email protected])

  • Repeating frame position problem!

    HI!
    This is bothering me two days and i can't figure it out.
    I have 4 repeaitng frame hierarchly:
    R_frame_1
    R_frame_2
    R_frame_3
    R_frame_4
    4 th repeating frame is a problem because on the first page is everything ok
    data1 data2 data3 data4
    but on second page where data is continued it goes left out of the paper
    data 3 data4
    When on second page repeating frame goes from the begining then is again ok.
    Example
    Page1
    SOME TITLE
    data1 data2 data3 data4
    data1 data2 data3 data4
    Page 2
    data 3 data4 <---- WHY?
    SOME TITLE
    data1 data2 data3 data4
    data1 data2 data3 data4

    Thank a lot dear :)
    By the way I have Frame B which is inside Frame A, when I add a new column on B it goes to A. What trick should I do here please.
    Maybe I adding is not the proper way? How do I associate a column to which frame does it belong? I can not see it on property pallette.
    Thanks again

  • I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel?

    I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel? Is Parallel in fact the best way to go?

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Repeating frames...simple problem

    I am new to Oracle Reports and have run into a simple issue which I am not able to fix.
    Suppose that I’ve a table Numbers as shown below:
    SQL> desc numbers
    Name Null? Type
    COL1 NUMBER
    SQL> select * from numbers;
    COL1
    1
    2
    3
    4
    5
    Now I want to build a report manually(not using the wizard).
    In the datamodel I’ve given the query as (select * from numbers).
    In the layout model I am having one field and a repeating frame pointing to the group of the query. When I run the report it shows
    1,2,3…on different pages but I want all of them on the same page. I am not sure which property to set, I’ve tried the maximum records per page for the repeating frame but it doesn't help!
    If I build the layout using the layout wizard then I am able to achieve the desired results but I'll still like to know which properties exactly control this behaviour.
    Thanks in advance.
    Regards.

    Three ideas -
    Your repeating frame is as large as a full page and the elasticity is set to fixed.
    You have page protect set to on.
    You have a page break set before or after.
    Easy enough to create the two reports and compare the properties in the property palette.

Maybe you are looking for

  • I am trying to uninstall Creative Suite CC and go back to CS6.

    I have uninstalled the applications, restarted my computer and tried the CC Cleaner Tool. It still will not start my CS6 applications without a dialog window instructing me to "Renew Your Subscription" and it won't let me go any further. I am trying

  • FCE 2 not working on my mac mini

    Is any one using FCE 2 on a mac mini running OS 10.4.2. I have FCE HD running at home fine with OS 10.3.9 I decided to bring FCE 2 to work and run it on my new mac mini. I get a missing file error at startup and then FCE quits. The message reads "Una

  • Style editor bug

    I changed the style of a DataTable by picking a colored 1-pixil solid line around "All". Once this is done, the style editor will no longer open.

  • Servlet classpath: multiple path

    Is it possible to have multiple path in a servlet classpath (not in the java           class path) ?           How do you do it. ?           Jean.           

  • Contact Sheets from Multiple Folders: Can it be done?

    CS3 Photoshop had a function under Automate, that allowed you to make contact sheets of images within a specific folder and include subfolders within that. Im not seeing that in CS4. Im not seeing it in Bridge CS4 either. Is it still possible? And ho