Number of Frames ?!

Hi all,
This forum has been great. But I encountered this problem that I cannot find a solution hint to here. It must be something simple... I did ask this question a couple of times, and got great responses but not quite what I asked. Maybe I wasn't clear on what I needed. However, I cannot believe that you gurus out there don't know how to count the number of repeating frames!
I need to count total occurances of a repeating frame. This repeating frame represents a second level linked query say G_emp. The main query is G_dept for example. Output is as follows:
Dept ID: 10
...Emp ID 100... Count 1 (Artificial)
..........101 Count 2
..........102 Count 3 <--
Total of counts for DeptID#10: 3.
The difficulty is the I don't have a physical column to sum it up or use "Last" function of the summation. Since the result comes from two linked queries (G_Dept and G_Emp), than I cannot use count function there either.
I tried to use placeholder column to identify each frame's occurance. I have a problem when trying to sum it up for each G_Dept and output after G_emp information.
Is there a way to do it?
Or it's not possible in Oracle 9i?
I do apologize for being so determined to get some help, but I don't have much experience with this stuff to back me up.
Can anyone help? I appreciate it a lot!
Thank you, Slava

Hi Slava
1. Create a summary column cs_1 within the detail group g_emp.
A. Set the function to count.
B. Source to a column that is not null, may be empno.
C. Reset at master group g_dept.
In the output
Dept ID: 10
...Emp ID 100... Count 1 (Artificial)
..........101 Count 2
..........102 Count 3 <--
IF you really want Count 1, Count 2 etc in each row,
2. Default the layout.
3. Double click on CS_1 -> General Layout -> Format Trigger Edit. Create a trigger.
For example:
function F_CS_1FormatTrigger return boolean is
count number;
begin
count := :cs_1+1;
return(TRUE);
end;
With this the output would look like:
Dept ID: 10
...Emp ID 100... Count 1 (Artificial)
..........101 Count 2
..........102 Count 3 <--
In case you need to sum up the count at every break of master group like
Dept ID: 10
...Emp ID 100... Count 1 (Artificial)
..........101 Count 2
..........102 Count 3 <--
Total of counts for DeptID#10: 3
Add one more summary coumn to master group cs_2. Set the function as add and set the source column to cs_1. Generate the layout again. This would sum up the cs_1 of each rows at each break of master group.
Let me know if it helps.
Thanks
Rohit

Similar Messages

  • How do i reduce the number of frames in a UIView animation

    When animating a Uiview... for example the center of a UIImageView.... is there a way to reduce the number of frames that occur during the animation?
    The framerate is too high and making my app slow down significantly... thanks.

    If you do not have an image editor that allows to do that then use one of the online sites to resize images.
    * http://www.shrinkpictures.com/
    * http://www.picresize.com/

  • Retiming with same number of frames

    Hi (couldn't find this) - If I want to convert my source video to a new frame rate -- but keep exactly the same number of frames -- what is the best way to do that?
    Do I just set my desired frame rate in the Encoder tab and then set duration to 100% in the Frame controls? Does that give me the just the original frames in the source, but at a different speed?
    Thanks, PH

    OK -- I figured it out!

  • Preloader that loads a percentage or specified number of frames, help please

    hi,
    i've googled and searched the forum here for a (simple) way
    to use a preloader that loads a percentage or specified number of
    frames. What i find is preloaders that load the total frames.
    here is the action script used:
    if (_framesloaded>=_totalframes) {
    gotoAndPlay("Scene 1",1);
    } else {
    gotoAndPlay("preload",1);
    is there a way to modify this simple script or do i need to
    use another script? i tried changing "totalframes" to "300frames".
    But it didn't work and i just shooting in the dark here.
    help please
    thanks
    gregory

    "why would you not want the whole file to load? "
    yes i want the whole file to load.
    What i'm asking is how to specify in the preloader how many
    frames will load before the file plays.
    "although you could start the file after a certain amount of
    frames are loaded, but I still do not see the point"
    the reason you would be to not have a long wait while the
    entire file loads. Flash will stream the rest of the file as the
    preloaded section of the file starts playing.

  • Number of Frames in Animation?

      Hello! I was just wondering if there was anyway to figure out how many frames you have in an animation? Thank you if someone can tell me.

    You can set the number of frames per second or FPS. Knowing this number, you can figure out how many frames are in your animation
    Ex. 30fps for a 1 minute animation would be
    30 frames x 60 seconds = 1800 frames
    So a five minute animation is
    30 x 60 x 5 = 9000 frames

  • Counting number of frames played

    Hi
    i am interesting in counting the number of frames which are already received and played. I am not interesting in grabbing or editting the frames. Just count them. Any propositions will be greatly appreciated. I think i should use getSequenceNumber( ) but how? I mean should i first create a byte[ ] from my datasource? I am quite confused. Anyway, if anybody has any ideas please send them.....
    Thankssss

    Hi pn@voip,
    first of all thanks for ur feedback. I wasn't really careful while reading the DataSourceReader :) i can finally count the sequence number.
    As for ur problem, i came up with a probable solution (i don't know if it is the best one). I guess u r getting info (Sequence Number, Time Stamp, Length) about ur media from a Buffer. If not, check again DataSourceReader. So, after having calculated the random sequence number i propose using
    buffer.setSequenceNumber(sequence_number)
    then
    buffer.getTimeStamp( )
    and
    buffer.getLength( ).
    In this way u have the begin point (buffer.getTimeStamp( ))
    and the end point also (buffer.getTimeStamp( )+buffer.getLength( ))
    U have to be a bit careful with the formats (sometimes it is long, others int)
    I think it will work :)
    And a question: for transmitting the received data what do u propose? I don't want to save them so i just merge the datasources in order to be able to play the data from the beginning. However i am having some small problems.
    Thanks

  • It's possible to set the number of frame?

    It is recommand to set the number of channels as low as possible, and it is easy to do. But it is recommended to decrease the number of frames? If yes, how can i do it? It seems to me that the manuals do not mention this aspect.
    Thanks.

    Yes but if it is so why it is recommended to set the numbers of channels as low as possible?
    It is sure that is not possible to to set the number of frame? I remember that long time ago  maybe I find something about how to set the frame's number, but
    it is possible that I'm wrong. 
    Thank you.

  • Converting a number of  frames into smpte timecode format

    Hi all,
    I've been thinking about this for a while but don't think I've come up with a good solution just yet. So I wanted to see if anybody could show me a swift and efficient way.
    The problem:
    A given number of frames is to be translated into the corresponding smpte timecode. A single frame lasts 1/25th of a second.
    So, for example: the timecode 01:30:12:24 (hh:mm:ss:ff) translates to 24+(12*25)+(30*60*25)+(1*60*60*25) = 135324 frames. As you see it's very simple to break it down into frames. But how would you reverse the procedure?
    I have two ideas, the first was to subtract from the sum of frames until i have broken it down completely. That seems to involve quite a complicated if structure but I guess it's a reasonably fast way. Next I had the idea that I could iterate through the whole lot and on every 25th iteration step up the seconds variable, and when it reached 60 step up the minute variable and so forth. I do have doubts about the efficiency of that particular code though as this will be a very frequent task in my application.
    My guess is the best and only real option is to go with the former idea, but I want to make sure I am not missing a super simple and elegant way of doing this.
    Thanks,
    Johan

    You can slightly simplify the calculation with:
    01:30:12:24 (hh:mm:ss:ff)  = 24+(12*25)+(30*60*25)+(1*60*60*25)
    = 25 * (60 * (60 * 1 + 30) + 12) + 24
                  --minutes--
            ------- seconds -------
       ------------- frames -------------
    Notice how we multiply by 25, then 60, then 60 again Working from inside the brackets to the outside we multiply by 60, then 60 again then 25, adding some "extra" each time.
    This also suggests how you might "reverse" the process. Start with 135324 and begin at the left hand end. If we divide by 25 we get 5412 seconds with 24 frames "left over". 24 is the ff.
    We can then divide the 5412 seconds by the 60 to get 90 minutes with 12 seconds "left over". 12 is the ss.
    Divide 90 by the next 60 to get 1 hour and 30 remainder. 30 is the mm.
    There are no more numbers to divide by so we take the 1 as hh.
    Look up the integer operators: / which does division, and % which tells you how much is left over. Basically the division is what you were getting at when you spoke of "subtract from the sum of frames", but more effecient than repeated subtraction.
    Edited by: pbrockway2 on Aug 2, 2008 9:58 PM

  • Number of frames in the cockpit-

    Hellow everyone,
    I created 4 frames under a logic view in my cockpit, when presenting the cockpit   6 boxes of frames are presented ( 2 are empty ).
    Can I present only 4 frames under a logic view?
    Thanks

    Hi,
    I understand your problem. But afraid to say it is not possible. As BSP application for MC is designed in that way. though you have not assign the Six frames system will show all six frames and graphs on selcted one.
    Regards,
    MANDAR

  • Report with predetermined number of frame

    I have to produce a report which has three repeating frames (1,2,3) with master /slave relationship i.e. frame 1 is master frame for frame 2 ,3 and frame 2 is a master frame for frame 3. Each page of the report has to have one instance of frame 1 & 2. Frame 3 must have 5 instance per page where some of the frames might not have data.
    If frame type 3 does not have data only the labels for the frame has to be printed. I have managed to produce the report but I do not know how to print frame type 3 instances in cases where there is no data associated with these frames. Can somebody help with this mater?
    PS
    Can you send me a copy of your response to :
    [email protected]
    null

    Hi Teresa
    why you want to print 5 instance of repeating frame 3 even if some or all of them does not contain data? Possible reply should be you want to print some bolierplate graphics or text. In that case you can place it in the repeating frame 2 behind (in terms of layers) repeating frame 3, 5 times repeated ... If this is not what you want feel free contact me to find solution ...
    Hope this helps.

  • Are there any who know what is the number of frames that can be accommodated by the adobe flash cs 5

    My job is to make interactive CDs using adobe flash cs 5. In the Interactive CD, there is a video with a duration of about 2 to 2.5 hours with flv format which should be included.
    Does anyone know the frame in adobe flash cs 5 supports the duration of the video?

    Yes. The difference in some earlier versions is that they allow greater than 16K frames in a document, however Flash Player doesn't (so your SWF just gets cut off). Also, the Timeline starts behaving very strange as soon as you go beyond 16K. I imagine that has always been that way, or has been for a very very long time for both the Player and Timeline behavior.
    I think two versions of the authoring tool introduced two different dialogs at certain editing points to notify you about this, but earlier versions just don't have the notifications but did have the limitation behind the scenes.

  • Moving a set number of frames

    I'm ashamed I have to ask this, but I can't find the code
    anywhere
    Instead of
    prevFrame();
    which only goes back to the previous frame,
    I would like to go back THREE frames.
    This seems like it should be so easy, but I just can't find
    the right command.
    Using a frame label is no good, because I don't want to have
    to tweak the code around in 50 instances, I just want a back button
    that sits there throughout and goes back three frames when you
    click it no matter where you are in the timeline.
    Any thoughts? it's making me crazy!
    Thanks!

    I have no screen name,
    > I'm ashamed I have to ask this, but I can't find the
    code
    > anywhere
    >
    > Instead of
    > prevFrame();
    > which only goes back to the previous frame,
    > I would like to go back THREE frames.
    Ah, no shame in that. ;) It may help you, actually, to take
    a look at
    something called the "MovieClip class" in the ActionScript
    2.0 Language
    Reference. The word "class" in this context refers to a kind
    of "blueprint"
    that defines all movie clip objects. In fact, all objects in
    ActionScript
    are defined by classes, which generally feature one or more
    of three
    categories: properties (characteristics of the object),
    methods (things the
    object can do), and events (things the object can react to).
    In this case, you'll want to look up methods
    (MovieClip.gotoAndStop(),
    say) and properties (MovieClip._currentframe). The nice thing
    is, class
    entries in general contain everything you need to know about
    the object in
    question. It reduces the need to "hunt and peck" aimlessly
    around the Help
    docs.
    Here, you may want to combine gotoAndStop() with
    _currentframe, like
    this:
    // in a timeline
    this.gotoAndStop(this._currentframe - 3);
    ... where "this" (without quotes) refers to the object or
    timeline in which
    the code appears. In the main timeline, "this" refers to the
    main timeline
    (which is a movie clip!); in a movie clip symbol, "this"
    refers to that
    movie clip symbol instance.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Can i change the number of frames when create a layer in  photoshop?

    Hello, well that's my doubt, when i'm animating at photoshop n i create a layer, creates almost 30 frames in the timeline, can i change that?

    I can render a frame animation out as a video. Are you doing and animation or video editing? Your showing a video timeline there not a frame animation timeline. You can also convert between the types of timelines.  Though I had done so it was out of curiosity I don't really do video of frame animations. I just play with Photoshop some to keep my mind in working order. I also just dropped a Bonjovi Mpeg video on Photoshop and it came in as 5 minutes 41 seconds don't know how many frames. You can also import video as frame animation however I have not and don know what would become of the audio. Just tried seems import is limited to 500 frames. Photoshop also has a 8000 layer limit. I tried flatting the 5:41Bonjovi to frames the progress bar when halfway and Photoshop was none responsive anw was getting CPU seldom. I kill it and restatred it and dropped a 57 secon video on Photoshop. That flatten to frames quickly at 30/sec frames that came to 1738 layers I lost the audio. So Photoshop 8000 layer limit would get in the way around 4 and a halt minutes. Bonjovi was 5+

  • Shared-mode Event-driven capture @ 44.1 KHz -- GetBuffer() returning inconsistent and incorrect number of frames

    I use WASAPI in shared-mode for render and capture in my application, and it works great with many different devices and sample rates from 8 KHz to 48 KHz.
    I am experiencing issues with certain devices capturing @ 44.1 KHz, however. For instance, my Microsoft LifeChat headset works fine, but the onboard microphone for my dell laptop causes some trouble. When my capture thread wakes up from WaitForMultipleObjectsEx(),
    I query for the NextPacketSize(). On some devices, I end up getting frames of 448 samples instead of 441, which completely throws off my logic as I am expecting integral size packets of audio. Then, after a few rounds of capturing 448 frames, I'll see a capture
    of 378 frames (or something like that).
    The device initializes properly (2 Byte PCM, 44.1 KHz) and returns S_OK. I am able to create an event and successfully set it with SetEventHandle(). My code is modeled after the examples for WASAPI capture. I'll post some sample code soon.

    /* Main Audio Loop */
    WaitForMultipleObjectsEx();
    UINT nextPacketSize = 0;
    hr = captureDevice.audioCaptureClient->GetNextPacketSize(&nextPacketSize);
    if (FAILED(hr))
    break;
    while (nextPacketSize != 0)
    UINT32 nRawFrames = 0;
    hr = captureDevice.audioCaptureClient->GetBuffer((BYTE**)&pbData, &nRawFrames, &dwFlags, NULL, NULL);
    if (FAILED(hr)) break;
    // Handle flags
    if (SUCCEEDED(hr))
    // Resampling
    ... // need integral # frames here
    // AEC and writing to buffer
    // Cleanup
    hr = captureDevice.audioCaptureClient->ReleaseBuffer(nRawFrames);
    if (FAILED(hr)) break;
    captureDevice.audioCaptureClient->GetNextPacketSize(&nextPacketSize);

  • Problem with FramePositioningControl: number of frames = 0

    Hi!
    I have to access video frames (from MPEG-1 input data) in a not sequential order. I therefore tried to use Seek.java (http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Seek.java).
    If I use the code as is, it is not possible to instanciate the FramePositioningControl-object ("player does not support FramePositioningControl").
    If I create a Processor instead of a Player and therefore replace the line
    "p = Manager.createPlayer(ds);"
    by
    "p = Manager.createProcessor(ds);"
    I am able to instanciate FramePositioningControl.
    BUT:
    "fpc.mapTimeToFrame(duration)" returns zero, even if I know that the duration is set to a non-zero-value.
    And therefore the frame positioning with fpc does not work for me.
    Could you maybe help?
    Thanks in advance!
    manu

    Luis,
    let me explain to you how modplsql ( apex based on) is working. even if you have 1000 client users running your web app. it is not necessary that you will see 1000 oracle sessions. hitting links on your page will initiate a HTTP request then a http process will handle the request, then it connects to a database session, if your database responded to your http request quickly then the db session will be inactive, your http process will deliver the response to the client browser, the the http process will be ready to handle another request (be careful I am not saying another user it may be another click from the same user and it may be another click from another user, the connection between application server and db server is stateless I mean there is no specific db session dedicated to http process, connection pooling ).
    suppose now that your db session did not respond quickly (having wait events, you can check on v$session) then the session will be active and the http will wait until the db responds, at that time if your user did another logout, login process or even tried to open another browser then a new http process will be created on the middle tier and so on until your users will consume all MaxClients even if you have 300.
    to summarize check your application and see where your db session spending the time you can check that in v$session or in the EM it will be easier.
    Good Luck
    Omar

Maybe you are looking for

  • 10.1 running in Windows 7 64 bit NOT smooth

    Im running Windows 7 Ultimate under Boot Camp on a MacBook Pro. Ive been running the 10.1 Release Candidate in Safari, FireFox and IE and it is extremely choppy compared to 10.0. When I view http://www.lucid.it in 10.1 RC performance is very poor com

  • I am using Activex controls from Labview to log the data into Excel spreadshee​t. My applica

    tion is running fine without giving any error messages. But even after the vi stops, excel process does not shutdown. "Excel.exe" process keeps running until I end it from Windows NT Task Manager. Is there any way to end the excel.exe process from La

  • I cannot fill in my phone number and birthday on web sites

    I cannot fill in my Birthday, Phone number and credit card info on website order forms

  • File transaction

    Using the File transactions   Posted: Sep 30, 2008 11:55 AM       E-mail this message      Reply  Hi, While creating a logical file, and uploading it in the Development system using the transaction 'FILE', I am getting a pop up to create a request, w

  • I don't want firefox to reopen old windows when it restarts

    On the rare occasions when Firefox crashes and I restart it I often end up getting the same problem that led to the initial crash because Firefox tries to restore all the windows from the previous session. I looked in the preferences but couldn't fin