Count repeating frames occurance

Hello,
In the report there are multiple queries. I am trying to count the total number of repeating frames. Basically, I need to count the final output.
When trying to use "Count" or "Sum" aggregates inside of SQL, I don't get the needed output. Is there some way to give a number to a repeating frame and then sum up its occurance? I tried different ways, but wasn't successful.
I appreciate your help.

Hi Slava
Create a placeholder column, CP_1, at report level. Set its "Value if Null" property to zero.
In the group on which the repeating frame is based, create a formula column and set its code to:
:CP_1 := :CP_1 + 1;
return :CP_1;
This will (indirectly) return a running count and finally the total count of repeating frame instances.
Regards
Sripathy

Similar Messages

  • Count Repeating Frames

    What is the easiest way to count the number of repeating frames(records) that are returned when a report is generated? I want to be able to set items visible based on whether the frame count is even or odd.

    Hi Travis,
    Let me see if I understand your Q... I think what you want is this:
    EmpNo..... EName...... Salary...... SerialNo.....
    100....... King....... 1000........ 1
    101....... Luther..... 1100........ 2
    102....... Doe........ 3000........ 3
    If this is what you want, then a function of Count will give you the desired results. It will return 1 for the first row, 2 for the 2nd row and 3 for the 3rd row. You just have to make sure that in the "Data Model", this summary column is placed in the same group as the other records (EmpNo etc), and not outside the group. Choose Reset At > Master_Group or Report (depending on your report design).
    Pl let me know if what you want is different.
    Navneet.

  • How to get the number of rows in a repeating frame ?

    Hi all,
    When I launch a report from forms then sometimes there are data in the report and sometimes there are no data. And the problem is that when there are no data then the frame containing the repeating frame is still displaying and a blank page displays on the report.
    So I want to get the number of rows from the repeating frame so that I can code a format trigger on the frame to display or not the enclosing frame depending on the existence of data from the repeating frame.
    Thank you very much indeed.

    Dear Friend,
    You can achieve this. Define a summary column (say cnt). Select summary type as "COUNT". select any one of columns that are getting displayed in your repeating frame as summary column and provide "reset at" group name (or set this to report if you are defining this field at report level) . This "cnt" variable will contain how many records that will be fetched for your repeating frame (i.e. Group of Repeating frame). You can use this "CNT" variable in your format trigger.
    In this case there is no need to write before report trigger or anything.
    Regards,
    Manish Trivedi

  • How to find out no. of records or repeating frame in a page

    Hi All,
    How do I find out how many records have been displayed on a particular page?
    I'm having a repeating frame, and I want to know print another item, on a condition that if the records printed on the page are less than 5 then it should be printed otherwise not.
    The item to be printed is not a part of the repeating frame whoz occurences have to be counted.
    Regards
    Naveen

    Hi Naveen
    You can create a Packaged varaible that acts as
    global variable , and you can increment this
    variable in the repeating frames Format Trigger .
    Based on the value of the variable , you can
    return true or false for the item that you want to
    display .

  • Footer for a report with 2 repeating frames with down/across print directio

    I have a report with a frame for title shown in first page. the content of the report is shown on two columns in a repeating frame(R2) which enclose an other repeating frame (R1). In R2, just after R1, I have a frame for totals. Both repeating frame have down/across print direction. All repeating frames and title frame are enclosed by a regular frame(let say frame A) that have vertical elasticity fixed. at the end of the report i must display an other frame(frame B) with signatures. I put frame B in frame A, just after R2. If I set vertical elasticity to fixed or contract for R2, when the title frame is missing i get an empty space in the bottom of the page(except the first page, where the title appear)(R2 is anchored to title frame). if I set vertical elasticity to variable for R2, the frame B is not shown on last page with records, but in next page. I need a solution to keep the frame B in last page of the report which have records. the problem appear only when I have records in second column.
    Can somebody help me, please?

    Hi,
    I think without using Across/Down instead of Down/Across this is not possible. But then the output is
    1 2 3 4
    5 6 7 8
    If you need to have
    1 3 5 7
    2 4 6 8
    then you had to add some logic in an additional column for sorting the output. (sounds easy, but the logic need some work depending the count of records and their position.
    Regards
    Rainer

  • Repeated frames when time remapping AVCHD clips in AE

    I will try to explain the best I can. Keep in mind I am a novice and by no means highly technical. First some background: I edit sports video for college bound athletes. I put together highlight videos for them. When I am filming I start/stop the camera at the beginning/end of a play so I can easily identify/edit "clips". I have imported 10 AVCHD "clips" from my Sony HDR-SR11 to a Premiere Pro CS4 project. I am using the "AVCHD 1080i anamorphic/29.97fps" sequence setting as my output for this project will be a 1440x1080 mepeg2 file. So I get my clips in the timeline add some transitions, no major edits, render the work area and playback. Everything looks fine, all clips play smooth. Now here's the rub. I want to freeze play, highlight an athlete then continue play. To do this I am using AFTER EFFECTS (NOTE I have done this with HDV footage off my Canon HV20 camera with no problems) so anyway with the new CS4 edition I can right click on a clip in my timeline and choose "replace with after effects composition"....I do and the clip migrates to AE into a a composition ready for me to work my magic. So my method for freezing play is select the "clip" in the composition, Ctrl-Alt-T for time remapping. I add 5 seconds to the duration of the composition since I am going to add time when I freeze the clip. I find the point in the clip where I want to freeze it. I place a "time remap" keyframe at that point. I then drag my mouse to highlight the keyframe I just placed and the keyframe at the end of the clip......I drag them to the right 2 seconds, then cut/paste the keyframe I added which is placed by the CTI (which is still at the original point). Now I have a 2 second freeze in play. I add a white solid and do some masking to highlight the athlete during that freeze. And that's it.....I press "O" then "N" to define the work area then I choose "trim comp to work area" from the composition menu. I repeat this process to all my clips and here is where I see the problem. I go back to my timeline in PP and I play the clips......I see my freeze/highlight edits from AE just fine but on SOME clips......2 out of 5 for example.....I get jittery playback. So I decided to scrub thru the clip frame by frame to see what is going on. So within 29 frames this is what I see. Girl is getting ready to serve a volleyball....Frame 1-15....she steps forward to serve THEN at frame 18 she pops back to the starting point...IT LOOKS LIKE FRAMES 1-12 ARE BEING REPEATED. I scrub the rest of the clip and this happens at random points....a small block of frames gets repeated throughout the clip which in the end looks like "jitter" or "jumpy" motion. I follow the same workflow in AE for each clip BUT this "jitter" does not happen on every clip...only some. So is my workflow at fault or is AE/PP/Adobe still buggy when it comes to working with AVCHD codec?? Anyone else experience this, if so do you have a fix?

    I haven't tested your theory yet Andrew but I did do this. In trying to track down exactly where these repeated frames are occurring. In AE I redid one clip that was repeating frames. I went frame by frame in AE and see no repeated frames. These changes should occur automatically in PP since the AE comp is still dynamically linked to my PP timeline. So I scrubbed the "source" (AE comp) file from the PP project panel frame by frame. And low and behold there are repeated frames, so it appears the problem is the handoff from AE to PP Sooooooo, ok I deleted the source file in the PP project panel and reimport it via dynamic link. Open the clip in the source monitor and yes...repeated frames at same point....recheck the comp in AE....no repeated frames. Delete the clip from PP project panel and this time import the clip directly instead of dynamic link.....repeated frames still there. So how about rendering the clip in AE the old fashion way then import to PP. AE Render Queue best settings - lossless.....blah blah blah. I ended up with an .avi file with no repeated frames. So to me the problem is the handoff between AE & PP. So rendering my AVCHD comps in AE first is my work around for now. Andrew...thanks! I will try your theory of converting the clip prior to the comp asap...right now I am trying to meet a deadline.

  • Question about repeating frames

    I am producing a summary report.
    I have several querys that produce different counts.
    for each query I have to have a different repeating frame to display the count.
    However if I produce a summary column on that querys information I do not
    need to repeating column.
    My question is which way is better?
    Thanks

    I am curious. Does your repeating frame only display the total count? It's hard to say which way is better, although you could try qualifying the two on certain criteria. Do they both display the same data you (or the user) wants to see? Which way is easier on you to set up? Did you already do it one way and is it working? If so, is the current way running satisfactory?
    I think a lot of times developers waste hours upon hours trying to make something run a few seconds quicker for a user that may only use the program a couple times a month if that.
    Personally I would use the summary column method. If for no other reason, that it is more manageable to me as the developer to alter a field than it is to alter a frame.

  • Repeating Frames Prior to a Transition

    Hello All,
    I'm sure it's something that I have overlooked, but I'm going to need some help. I have a DVD of individual clips I want to make into one longer project and include titles, transitions, and chapter markers. So I ripped (legally...their my clips) these clips off of the DVD via Handbrake. Handbrake encoded them in .m4v, so through Streamclip I took these clips and converted them to AIC/.mov/48,000. From there I imported them into FCE to edit.
    I had no problem putting the project together, but at each transition (all of the transitions are Fade In Fade Out Dissolve) about one second of the the clip prior repeats. So for example if the end of a clip goes 5 6 7 8 9 (where the fade begins at 8), 6 and 7 reappear as the transition starts. This appears on all of the clips and all of the transitions. One interesting thing is that when I scrub through the transitions, this repeating does not occur.
    My Easy Setup for this is:
    Format: NTSC
    Use: DV-NTSC
    Item Properties for a representative clip:
    Type: Clip
    Creator: Quick Time Player 7
    Vid Rate: 29.97
    Frame Size: 720x480
    Compressor: AIC
    Data Rate: 3.0 MB/sec
    Pixel Aspect NTSC
    Field Dominance: Lower (even)
    Composite: Normal
    Audio: 1 Stereo
    Aud Rate: 48.0 KHz
    Aud Format: 16-bit Interger
    Any direction as to what I have missed would be greatly appreciated.
    Thanks,
    Marc

    Alchroma wrote:
    You have an AIC clip in a DV Timeline!!
    You need to change the FCE Easy Setup to match the AIC Streamclip converted files, audio and video properties.
    Then you have a chance. At the moment the field order is back to front.
    If you have to render all the Timeline when a clip is edited to it, there is a mis-match issue somewhere.
    Al
    Al,
    When I saw you answered I thought I would have a "duh" moment, but I'm still not clear. In trying to understand what I have done incorrectly let me be more specific.
    I have two sequences with identically converted clips. When I began working on sequence #1, I set the Easy Setup as I described, but FCE said that the sequence did not match the clip...do I want it to. I said yes. I finished this sequence and it played correctly. I did the same thing for sequence #2, but this sequence plays with the repeated frames during the transitions. The Easy Setup still shows the DV-NTSC setting.
    So I have two sequences that I set up the same way. One plays fine and the other doesn't.
    In neither case did I need to render the clips after I put them in the Timeline. I'm assuming this is because I converted them prior to importing them to FCE.
    If there is some other piece of info I'm missing that would help, let me know and I'm happy to get it.
    Thanks again,
    Marc

  • Repeating Frame with mutiple lines -- Page Break

    I have a report with repeating frame R11. R11 has several fiels
    spread across 4 lines.
    We have a case in which there is a pagebrek, while this
    repeating frame R11 is printed. Fields in the first line of R11
    are printed in the first page. Then when it continues to print
    the repeating frame in the next page, it is not printing the
    fields in the second line of the repeating frame. In other
    words, the second line is completely missing in the report.
    However, fields in the third and forth lines of the repating
    frame R11 are printed in the second page.
    Why the second line is dropped?
    How do I fix this problem?

    Create one summary column (lets say cs_pagenumber) in inner group and provide following:
    Function: Count
    Source: any field from innrer group
    Reset At: outer group
    Create one summary column (lets say cs_totalpages) in outer group and provide following:
    Function: Count
    Source: any field from innrer group
    Reset At: outer group
    (above will work if one field is printed only once in a form)
    Create a field in inner repeating frame for cs_pagenumber and create a boilerplate text (&cs_totalpages) in the same repating frame for cs_totalpages. This should solve the problem.
    Hope this helps.

  • Repeating frame data run over the page number in the bottom of page

    Hi all,
    I have an issue trying to have page number info shown on every page of report.
    The report has an outer frame M1 that includes frame M2 (it contains a repeating frame with actual data), M3 (a frame that shows the summary and total info) and M4 (the frame that contains page number information.
    Settings are as follow:
    Frame - Vertical - Horizontal - Print Obj On - Base Printing On
    M1     Fixed          Fixed          First Page     Enclosing
    M2     Expand          Fixed          First Page     Enclosing
    M3     Fixed          Fixed          Last Page     Anchoring
    M4     Fixed          Fixed           All Page     Enclosing
    What happens now is that frames M3 and M4 both only shown on the last page. M3 has the right behavior but I expected M4 to show on every page. All these are on Main Section. I know I could have page info on Trailer section but I need to have everything on Main section because of some other logic I have.
    Any suggestions?
    Mike

    I tried that but it did not work. If I used Print All Pages for main content frame it will just have 1 page output versus multiple pages as expected.
    Two important points:
    1) R1 (the repeating frame in M2) has Vertical Elasticity as Expand because it also contains more repeating frames under it. Problem could be solved if the R1 would have vertical elasticity as Fixed instead;
    2) I also could have fixed this by having M2 (it contains a repeating frame with actual data) with Vertical Elasticity as Fixed instead of Expand. But once I do that, I get Report error M3 (frame that shows the summary at the last page) "has an illegal print condition"? Anyone know why this error occurs?

  • Page Numbering on repeating frame with 3 logical pages per physical page

    We have a report in Reports 6i that prints a form on continous multi-part paper. We are converting the report to print to a laser printer with three forms per page. Each form has page numbers in the format of "page 1 of 15". The "page" refers to the form number and the "of" refers to the total number of forms for the outer group. So we could have page 1 of 15 through page 15 of 15 followed by page 1 of 112, etc.
    I have tried all of the suggestions on how to base page numbers on a repeating frame and non of them seem to work. All the examples seem to be based on the idea that the logical page contains 1 or more physical pages; whereas my situation is that I have multiple logical pages on each physical page.
    Does anyone have a thought on how to do this?

    Create one summary column (lets say cs_pagenumber) in inner group and provide following:
    Function: Count
    Source: any field from innrer group
    Reset At: outer group
    Create one summary column (lets say cs_totalpages) in outer group and provide following:
    Function: Count
    Source: any field from innrer group
    Reset At: outer group
    (above will work if one field is printed only once in a form)
    Create a field in inner repeating frame for cs_pagenumber and create a boilerplate text (&cs_totalpages) in the same repating frame for cs_totalpages. This should solve the problem.
    Hope this helps.

  • Page Break Before & Repeating Frame (Reports 10G - Windows)

    Hi to all,
    I have to give page break when a condition met in a tabular report.Like it s advised I tried some layout objects with page break before property true and wrote their return code true if this criteria occurs. But whatever I tried, I couldnt get my desired output.It gives page break but repeats a blank repeating frame in the next page but only with that object I added later with page break property. Anybody have an idea ?
    Thanks...

    Hi,
    sounds like there's no child object for your object with page break before. This property has only impact of the object itself and all it's child objects. An object is a child object of another object, if the position of this objects has impact of the own position. This is only the case, if the parent object is vertical expandable and the child object is horizontally overlapping the virtual expand-region, or the child-object is anchored to the parent object.
    So if you have this layout:
    blue box fixed size
    red box fixed size
    yellow box fixed size
    and you set page break before to the red box, you will get:
    blue box
    yellow box
    -- page break
    red box
    If the red box is verical expandable you will get:
    blue box
    --page break*
    red box
    yellow box
    So in your tabluar report your field of the report should be in a frame and this frame should be child object of your new object which must be vertical expandable or anchor them together.
    Regards
    Rainer

  • Why the placement of repeating frame hide he record of other fields ?

    Hello,
    After creating a data group in Data Model, I place a repeating frame corresponding it the group created.
    But In the presentation of the report, There is records in first line and after space, no records of other columns only data for the column grouped is seen. And too the reality number of pages has increased.
    Why this fact is occured ?
    How to avoid this ?
    Thanks in advance
    Regards.

    Try 2 select the repeating frame by selecting one of the fields in ur group layout then
    e.g
    F_BANK_NAME then select it's parent frame > will select the repeating and adjust it.
    Regards,
    Abdetu...

  • Heading for repeating frame (horizontal) to appear just once - How?

    Hi
    I have 3 queries that represent 3 different levels. Each level is displayed one above the other. Example
    Level 3: <field3 from query3>
    Level 2: <field2 from query2>
    Level 1: <field1 from query1>
    In the output The level labes are displayed as many times as the values in the fields. Example Level 2 is displayed twice if query 2 returns 2 rows.
    Level 2: <row1 from query2>Level 2: <row2 from query2>
    This is because I have field and label for Level within a repeating frame. Is there a way that I can suppress Levels being dispalyed multiple times and display just once in the beginning?
    I cant put the Labels outside of the repeating frame because the levels may vary (there may be 1 level or two or all 3 levels depending on input).

    Are these 3 queries independent of each other or linked with Data Link?
    If these are linked with each other, then try the following:
    Try using summary column (count) for each query and put a format trigger on the labels. If count is <> 1, hide the label.
    Hope this helps.

  • Viewing repeating frame data

    Hi all
    My reports has many enclosing frames. They show single record column data and column data inside repeating frames. One of the enclosing frame , say F1, has its "Print object on" property set to "First page" and "Vertical elasticity" to "expand". The enclosed repeating frame , say R1, inside F1 has its "Print object on" property set to "All pages" and "Vertical elasticity" to "expand".
    There are 36 records in the database for the field inside the repeating frame R1, and there are also some column data shown in F1 above the repeating frame R1 : so the repeating frame R1 has to be shown last.
    When I launch the report there are only 6 of the 36 records shown in the bottom of the page. Logically the 30 remaining records should appear in the next page. But the reports does not show the remaining data and it shows immediately data inside the next enclosing frame !
    So how can I show the remaining 30 records in the next page ?
    Thank you very much indeed.

    I tried that but it did not work. If I used Print All Pages for main content frame it will just have 1 page output versus multiple pages as expected.
    Two important points:
    1) R1 (the repeating frame in M2) has Vertical Elasticity as Expand because it also contains more repeating frames under it. Problem could be solved if the R1 would have vertical elasticity as Fixed instead;
    2) I also could have fixed this by having M2 (it contains a repeating frame with actual data) with Vertical Elasticity as Fixed instead of Expand. But once I do that, I get Report error M3 (frame that shows the summary at the last page) "has an illegal print condition"? Anyone know why this error occurs?

Maybe you are looking for

  • How do I restore my tabs and windows, whether open or closed, when everything else fails?

    This is not so much a question, as an answer that some people desperately need. Ever since Version 34, Firefox has done a superb job of restoring the tabs that the user has created, either on restarting Firefox (if that option is chosen) or on reques

  • Can't Find iPhoto Library File

    I'm going crazy here! I cannot find the iPhoto Directory file I need to locate to delete it and create a new file in my external drive. I can't seem to find an indication in the Preferences section of the program itself either. I've done a search wit

  • Publishing .fla project including client - server socket connection

    Hi, I have designed with Adobe Flash Professional CS5 a .fla project that integrates a client - server connection. After publishing it, I have the following issue: - when running the generated .exe file for Windows, then the connection to the server

  • Need some help with wine + midi

    Howdi guys! I need some help. I'd like to run an application which is only available for Windows and OSX, so my choice is wine. This application needs to send midi signals to the hardware it is supposed to control. In the product's forum there is a t

  • Printing folder file names

    Is there any easy way I can print the file names of any particular folder so I can I have a printed record of it's contents?