Need help with non-video clip transitions on the FCP timeline...

Hi all, I am struggling with this problem with the FCP timeline: I have a mix of things; .motn includes, .psd includes, etc. and I want to put a transition between them and a normal video clip, BUT, as u can guess, it does not work well. I guess because FCP can't see the frames inside the Motion file, it won't let u do a cross fade or whatever with any amount of time applied to it. So what to do?
I started to modify the motion files but realized this would not work, as I often use bits of one motion animation in various places starting and ending at different timecodes. So i need to be able to place a transition at the beg/end of motion clip on the fcp timeline. I started doing this:
1) place a slug above the track of a joining of motion/video clip
2) place the transitions on both ends of the slug.
Is this the way to go? I have dozens of these that I need to fix asap, so all advice is appreciated!
coocoo

Hi Cooco,
there are several ways to find out whether it is a [*matter of handles*|http://www.larryjordan.biz/articles/lj_handles.html]
One is to select the clip>hit the S key (slip tool) clickandhold it . A brown line drawing a rectangle will appear and will continue beyond in and out point revealing the available clip's handles. If not handles are available then the brown line will stay within the clip on the timeline.
Visit the link I sent to you to more understand handle matters.
G.
Message was edited by: gogiangigo

Similar Messages

  • I need help with my videos now that I downloaded the ios6.  It won't play.

    I need help with my videos. I downloaded the ios6 and now they won't play.  Does anyone know how to fix?

    Wanted to let everyone know that after looking at other discussions I did a hard reboot and it is now working.  Love this site!

  • EtreCheck version: 2.1.5 (108) Report generated 4 January 2015 14:29:26 GMT  Click the [Support] links for help with non-Apple products. Click the [Details] links for more information about that line. Click the [Adware] links for help removing adware

    My Mac is very slow and applications take a long time to load, especially Safari and iTunes.  Please help.    I have run the Etrecheck report and these are results.
    Thanks Pat
    EtreCheck version: 2.1.5 (108)
    Report generated 4 January 2015 14:29:26 GMT
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      iMac (21.5-inch, Mid 2011) (Verified)
      iMac - model: iMac12,1
      1 2.7 GHz Intel Core i5 CPU: 4-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 0/DIMM1
      empty empty empty empty
      BANK 1/DIMM1
      empty empty empty empty
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      AMD Radeon HD 6770M - VRAM: 512 MB
      iMac 1920 x 1080
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 0:32:50
    Disk Information: ℹ️
      ST31000528AS disk0 : (1 TB)
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) / : 999.35 GB (717.51 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      OPTIARC DVD RW AD-5690H 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Seagate Expansion Desk 2 TB
      EFI (disk1s1) <not mounted> : 210 MB
      Seagate Expansion Drive (disk1s2) /Volumes/Seagate Expansion Drive : 2.00 TB (1.66 TB free)
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. iPhone
      Apple Internal Memory Card Reader
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Application Support/Avast/components/fileshield/unsigned
      [loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) [Support]
      /Library/Application Support/Avast/components/proxy/unsigned
      [loaded] com.avast.PacketForwarder (2.0 - SDK 10.9) [Support]
    Problem System Launch Agents: ℹ️
      [failed] com.apple.syncservices.SyncServer.plist
    Launch Agents: ℹ️
      [loaded] com.avast.userinit.plist [Support]
      [running] com.epson.Epson_Low_Ink_Reminder.launcher.plist [Support]
      [loaded] com.epson.esua.launcher.plist [Support]
      [running] com.epson.eventmanager.agent.plist [Support]
      [loaded] com.oracle.java.Java-Updater.plist [Support]
      [running] com.trusteer.rapport.rapportd.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [loaded] com.avast.init.plist [Support]
      [loaded] com.avast.uninstall.plist [Support]
      [failed] com.avast.update.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [loaded] com.oracle.java.Helper-Tool.plist [Support]
      [running] com.trusteer.rooks.rooksd.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [invalid?] com.avast.home.userinit.plist [Support]
      [running] com.microsoft.LaunchAgent.SyncServicesAgent.plist [Support]
    User Login Items: ℹ️
      iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 11.0.07 - SDK 10.6 [Support]
      DivXBrowserPlugin: Version: 2.2 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      OVSHelper: Version: 1.1 [Support]
      QuickTime Plugin: Version: 7.7.3
      JavaAppletPlugin: Version: Java 8 Update 25 Check version
    Safari Extensions: ℹ️
      wrc [Installed]
    3rd Party Preference Panes: ℹ️
      DivX  [Support]
      Flash Player  [Support]
      Flip4Mac WMV  [Support]
      GoToMyPC Preferences  [Support]
      Java  [Support]
      Trusteer Endpoint Protection  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 999.35 GB Disk used: 281.84 GB
      Destinations:
      Seagate Expansion Drive [Local]
      Total size: 2.00 TB
      Total number of backups: 78
      Oldest backup: 2013-07-28 18:09:06 +0000
      Last backup: 2015-01-04 14:29:38 +0000
      Size of backup disk: Adequate
      Backup size 2.00 TB > (Disk used 281.84 GB X 3)
    Top Processes by CPU: ℹ️
          2% WindowServer
          1% mds
          0% fontd
          0% mds_stores
          0% com.avast.daemon
    Top Processes by Memory: ℹ️
      120 MB Safari
      112 MB com.avast.daemon
      94 MB com.apple.WebKit.WebContent
      56 MB spindump
      52 MB mds_stores
    Virtual Memory Information: ℹ️
      479 MB Free RAM
      1.56 GB Active RAM
      1.11 GB Inactive RAM
      904 MB Wired RAM
      5.37 GB Page-ins
      75 MB Page-outs
    Diagnostics Information: ℹ️
      Jan 4, 2015, 01:57:18 PM Self test - passed
      Standard users cannot read /Library/Logs/DiagnosticReports.
      Run as an administrator account to see more information.

    patbythesea wrote:
    Can I assume that with my Mac I do not need any additional virus protection software?  If I do, what should I use?
    See my Mac Malware Guide for help on protecting yourself from malware. You generally don't need anti-virus software.
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • I need help with changing my verizon vm to the system voicemail

    I need help with changing my verizon vm to the system voicemail

    Deleting the iTunes account is not the solution as you will very likely lose any and all purchases ever made with the account.
    If you cannot find the option on the site, contact iTunes support.

  • Need help with N93i Video sound/audio problem........

    hi,
    i really hope someone can help me out here...
    after i have done with recording video clips and i replay the video,the phone speaker came out a very noisy sound (is like a bad Radio Frequencies noise)
    why or how is this happen ???
    how can i stop the noisy sound that came out from the phone speaker ?
    Thank you in advance !

    hi el_loco,
    yes,the sound appear to be the same too when i play on the pc
    the noisy sound came from the loudspeaker outlet,
    i got a strong feeling that somethings is wrong with the build in microphones or maybe the loudspeaker ???Message Edited by nl3181 on 15-Jun-200709:23 PM

  • Please I really need help with this video problem.

    Hi!
    Please I need help with this app I am trying to make for an Android cellphone and I've been struggling with this for a couple of months.
    I have a main flash file (video player.fla) that will load external swf files. This is the main screen.When I click the Sets Anteriores button I want to open another swf file called sets.swf.The app is freezing when I click Sets Anteriores button
    Here is the code for this fla file.
    import flash.events.MouseEvent;
    preloaderBar.visible = false;
    var loader:Loader = new Loader();
    btHome.enabled = false;
    var filme : String = "";
    carregaFilme("home.swf");
    function carregaFilme(filme : String ) :void
      var reqMovie:URLRequest = new URLRequest(filme);
      loader.load(reqMovie);
      loader.contentLoaderInfo.addEventListener(Event.OPEN,comeco);
      loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progresso);
      loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completo);
      palco.addChild(loader); 
    function comeco(event:Event):void
              preloaderBar.visible = true;
              preloaderBar.barra.scaleX = 0;
    function progresso(e:ProgressEvent):void
              var perc:Number = e.bytesLoaded / e.bytesTotal;
              preloaderBar.percent.text = Math.ceil(perc*100).toString();
              preloaderBar.barra.scaleX =  perc;
    function completo(e:Event):void
              preloaderBar.percent.text = '';
              preloaderBar.visible = false;
    btHome.addEventListener(MouseEvent.MOUSE_DOWN,onHomeDown);
    btHome.addEventListener(MouseEvent.MOUSE_UP,onHomeUp);
    btSets.addEventListener(MouseEvent.MOUSE_DOWN,onSetsDown);
    btSets.addEventListener(MouseEvent.MOUSE_UP,onSetsUp);
    btVivo.addEventListener(MouseEvent.MOUSE_DOWN,onVivoDown);
    btVivo.addEventListener(MouseEvent.MOUSE_UP,onVivoUp);
    btHome.addEventListener(MouseEvent.CLICK,onHomeClick);
    btSets.addEventListener(MouseEvent.CLICK,onSetsClick);
    function onSetsClick(Event : MouseEvent) : void
              if (filme != "sets.swf")
                          filme = "sets.swf";
                          carregaFilme("sets.swf");
    function onHomeClick(Event : MouseEvent) : void
              if (filme != "home.swf")
                          filme = "home.swf";
                          carregaFilme("home.swf");
    function onHomeDown(Event : MouseEvent) : void
              btHome.y += 1;
    function onHomeUp(Event : MouseEvent) : void
              btHome.y -= 1;
    function onSetsDown(Event : MouseEvent) : void
              btSets.y += 1;
    function onSetsUp(Event : MouseEvent) : void
              btSets.y -= 1;
    function onVivoDown(Event : MouseEvent) : void
              btVivo.y += 1;
    function onVivoUp(Event : MouseEvent) : void
              btVivo.y -= 1;
    Now this is the sets.fla file:
    Here is the code for sets.fla
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    var video:Video;
    var nc:NetConnection;
    var ns:NetStream;
    var t : Timer = new Timer(1000,0);
    var meta:Object = new Object();
    this.addEventListener(Event.ADDED_TO_STAGE,init);
    function init(e:Event):void{
    video= new Video(320, 240);
    addChild(video);
    video.x = 80;
    video.y = 100;
    nc= new NetConnection();
    nc.connect(null);
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS, onStatusEvent);
    ns.bufferTime = 1;
    ns.client = meta;
    video.attachNetStream(ns);
    ns.play("http://www.djchambinho.com/videos/segundaquinta.flv");
    ns.pause();
    t.addEventListener(TimerEvent.TIMER,timeHandler);
    t.start();
    function onStatusEvent(stat:Object):void
              trace(stat.info.code);
    meta.onMetaData = function(meta:Object)
              trace(meta.duration);
    function timeHandler(event : TimerEvent) : void
      if (ns.bytesLoaded>0&&ns.bytesLoaded == ns.bytesTotal )
                ns.resume();
                t.removeEventListener(TimerEvent.TIMER,timeHandler);
                t.stop();
    The problem is when I test it on my computer it works but when I upload it to my phone it freezes when I click Sets Anteriores button.
    Please help me with this problem I dont know what else to do.
    thank you

    My first guess is you're simply generating an error. You'll always want to load this on your device in quick debugging over USB so you can see any errors you're generating.
    Outside that, if you plan on accessing anything inside the SWF you should be loading the SWF into the correct context. Relevant sample code:
    var context:LoaderContext = new LoaderContext();
    context.securityDomain = SecurityDomain.currentDomain;
    context.applicationDomain = ApplicationDomain.currentDomain;
    var urlReq:URLRequest = new URLRequest("http://www.[your_domain_here].com/library.swf");
    var ldr:Loader = new Loader();
    ldr.load(urlReq, context);
    More information:
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7de0.html
    If you're doing this on iOS you'll need to stripped SWFs if you plan on using any coding (ABC) inside the files. You mentioned iOS so I won't get into that here, but just incase, here's info on stripping external SWFs:
    http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/

  • Need Help with Flash Video

    Hi, I have a template set up for a site with editable regions
    for text. I have been trying to insert Flash Video Content, and
    once I complete entering it in the popup window with settings, etc.
    I get the following message "Making this change would required
    changing code that is locked by a template or translator. The
    change will be discarded." When I hit ok it disappears and the
    video and code associated are nowhere on my page. What am I doing
    wrong? Is there a setting to change in CSS templates to allow one
    to insert Flash video?
    Thanks for any help!

    Also, you need to DISABLE the Flash detection when you insert
    the video.
    This is to prevent the insertion process from trying to write
    that detection
    call into the body tag of the child page, which is locked.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Nikitadog31" <[email protected]> wrote in
    message
    news:g7lfjt$kh$[email protected]..
    > Thanks, that worked perfectly!

  • I need help with streaming video

    I have 7 videos I've produced that I would like to
    progressively stream from my web site. They're all approx 400 x 200
    about 2 minutes long with sound. I have a scene set up with each
    video in a separate keyframe so you can navigate from one to the
    other in the same scene.
    I can get the videos to play locally. When I upload the swf
    and .flvs to my server, they won't play. One error message I get on
    output states that "**Warning** The linkage identifier
    'FLVPlayback' was already assigned to the symbol 'FLVPlayback', and
    cannot be assigned to the symbol 'golden', since linkage
    identifiers must be unique." What I did there is rename each video
    in my library from FLVPlayback to a unique name so I can identify
    it.
    I get that output error message for each of the videos that
    I'm trying to publish. It sounds like I have to change the
    Identifier in each video, but I haven't figured out how to do that.
    Any ideas or suggestions would be greatly appreciated!

    Ah, I see what happened. Every time I import a QT into the
    library, Flash creates a FLVPlayback component along with a .flv
    file. I cleared all but one FLVPlayback component and reimported
    the .flvs to stage and now I have streaming video on the website.
    Thanks clbeech, that was really helpful!
    One more issue. I've selected one of the prebuilt skins
    (Clearexternalplayseekmute.swf) to control video, while it works
    locally, I can't see it on the server. Do the skins need additional
    code to work?

  • Need Help with SWF Video Files

    Hello there. I'm experiencing a new problem with Presenter.
    I'm using WinXP, PowerPoint 2002 SP3, and the latest version of
    Presenter. I have a presentation that contains many video clips.
    I've converted them all to SWF files and have inserted them on each
    slide via the Slide Properties dialog box, and inserted
    corresponding "silences". However, when I publish my presentation
    locally, instead of showing the SWF video in the top right corner
    of the screen as it is supposed to do, I get a mirror image of the
    current slide on that small upper right window. It is like the
    presentation is embedding a copy of the slide where the video is
    supposed to be. This never used to happen, so I'm baffled. Any
    thoughts or suggestions would be greatly appreciated.

    You probably will be able to play most of those problem files by using this freeware: VLC
    If you want more information you would likely get more responses by posting in the Quicktime for MacOS forum:
    http://discussions.apple.com/forum.jspa?forumID=932

  • Need help with ipod video/movies

    need help have videos in itunes how do i get them to ipod?

    Double post. Please see your other one.
    http://discussions.apple.com/message.jspa?messageID=3504698#3504698

  • Need help with music videos and audio cd's

    ok, ive already asked, and for some reason, nobody responded. and i posted the question TWO days ago. so again, there is a song that i want to buy, but there is a music video of it that i could buy and the music video has an extra verse on it that i really like but itunes doesnt sell the video version as a normal mp3. and i want to know, before i waste my money, if i buy the music video and put it on an audio cd, will the cd player play the audio of the music video? somebody please help. thank you very much to whoever helps me with this.

    if i buy the music video and put it on an audio cd, will the cd player play the audio of the music video?
    No.
    If the music video is not copy-protected (if it doesn't have the "+" symbol next to the price, it's copy protected), then you may be able to use QuickTime Pro or another editor to extract and convert the audio track from the video. There also may be Windows programs that could capture the audio output of iTunes; there are such programs for Macs and I'd guess that similar programs exist in Windows.
    I'd suggest, though, that you first check with the other download stores such as Amazon and see if they have the track available as an audio-only download.

  • Need help with Adobe Premiere Elements 9 for the Windows XP PC

    Just got it today, so I could make my own video and audio files from pre-existing ones.  I first used a version of Adobe Premiere back in school in the '90s, and seemed to easily make them there, while not working on school work.  There was a row for inserted video, and a row below that for inserted audio.  I'm out of college currently, and just bought Elements 9, as said, but am struggling with it.  Could someone please tutor me to get me started?  Perhaps even talk over the phone?  I'm trying to combine different video and audio tracks into a new singular video/audio file.
    Thanks in advance.
    >>
    Welcome to the forum, but unfortunately, you have posted to the Premiere Pro, CS 4 and Earlier forum.
    Instead, you should post to the PrElements Forum, as few here will know anything about PrE 9.
    Now, the starting secret of PrE is your Source Files. Can you tell us the full details of those?
    Next, matching those to the correct Project Preset, is the next step. Can you tell us what you chose at New Project?
    For a list of some of the resources for learning PrE, see this ARTICLE.
    Good luck,
    Hunt
    >>
    What are Source Files?  You mean the videos I'm using?  The main one is here:
    http://www.tfarchive.com/cartoons/videoclips/bones.php
    Two to four additions to it will be used with video parts from here:
    http://www.tfarchive.com/cartoons/videoclips/us_commercials.php
    And my first project is a .prel file.  Is that what you meant?
    Is it possible I could get assistance over the phone?
    Thanks.

    I created a more precise list of what I wish to combine to make one new video program:
    Audio:
    http://www.tfarchive.com/cartoons/videoclips/bones.php
    Transformers_S2.mpg (0:00 - 0:33) (All)
    Video:
    http://www.tfarchive.com/cartoons/videoclips/bones.php
    Transformers_S2.mpg (0:00 - 0:08)
    Fade to
    Transformers_S2.mpg (0:31 - 0:33)
    Fade to
    http://www.tfarchive.com/cartoons/videoclips/us_commercials.php
    Rodimus.mpg (0:00- 0:08) (Note: Should start after grey jet passes by on top of screen (less than a second in), and stop after blue robot tramples over the other two robots, cutting off the part where he's shot at from the sky, and all that afterward.)
    http://www.youtube.com/watch?v=5yd1OmZvU8w
    (1:34 - 1:38) (Note: Should start as soon as video beings, and end when the four side robots are shooting their laser guns, and the one in the middle shoots his shoulder-cannons, cutting off the part with the bridge and missiles, and everything else afterward.)
    http://www.tfarchive.com/cartoons/videoclips/us_commercials.php
    trypt.mpg (0:15 - 0:16) (Note: Only shows the brief second or two where the five robots quickly transform to one big robot.)
    http://www.youtube.com/watch?v=h23kRJ9i058
    (5:22 - 5:25) (Note: Should start with all 5 robots appearing onscreen, and end with them, in a combined robot, firing at the screen, cutting off the white laser-shooting base/battle-station and everything else afterward.)
    http://www.tfarchive.com/cartoons/videoclips/bones.php
    Transformers_S2.mpg (0:23 - 0:33) (Note: Should start with lava-flowing ending, and lined-walkway appears, and goes to the end.)
    Not sure if I can get all of these videos in, in the 33 second time limit. I'm willing to cut either the trypt.mpg clip, and/or the youtube link-clip below it.
    I have a youtube downloader program, so no worries there. Also need to know how to cut video so I can make these clips that are from youtube and tfarchive.
    I also want the video to contain the same quality as shown from each file here, and all fit the size of the largest file (the youtube one, I think it is).
    Please LMK how to do this, and if any of this is unclear. Things like this are all I really want to use APE9 for, so I won't be asking much else here.
    Thanks.

  • HT4061 I need help with my I-phone 4S and the Cloud,  I can't locate my serial number  I also have a new 4g I-Pad  Can someone help me

    I need help to locate my pictures in the cloud
    When my son updated my phone early this year it wiped out all my pictues on my I-phone 4S
    How do I access the cloud to view my pictures??

    Do you have Photo Stream enabled with your iCloud account on your computer?
    iCloud is temporary storage - limited to 1,000 photos and 30 days for each photo.
    Photos/videos in your iPhone's Camera Roll can and should be imported by your computer as with any other digital camera especially before installing an iOS update.

  • I need help with 'Documents & Data' taking up all the space on my iPhone

    Hello, I have searched for days on the internet for a way to solve my problem but nothing and I really mean NOTHING seems to work at all.
    I can't buy any software either.
    When I go into Settings>iCloud Documents &  Data are off and have been off all the time. Yet I STILL have Documents &  Data taking up 5 GB of my phone and I don't have much space either.
    I have hopelessly tried deleting most of my messages and NONE and I mean NONE of the space has been given to me, nothing changed but my messages completely disappeared. No I do not use iCloud and I have the latest software updates. My phone is not jailbroken. I even tried deleting most of my apps and installing them again but that didn't work either. Photos take a small amount of space on my iPhone.
    I really hope someone can help me this is a really big issue for me and I do not fancy resetting the phone back to its Factory settings.
    I am new to the apple forum so sorry if this isn't in the right category or something. Thank you in advance. I also do not really fancy going all the way to the centre of the city to go to a Genius Bar.
    By the way, a few minutes ago I tried backing up my iPhone and syncing it again and a message popped out telling me that I need additional 4 GB of space in order to let it sync and I do not understand this, Documents & Data take more and more of my space every time I look. Also all the messages I delete come right back when I turn the phone on and off.

    Hi demolitonlovers,
    If you have unaccounted for data taking up storage space on your iPhone, you may find the following articles helpful in identifying what is taking up the space and how to remove it:
    iPhone, iPad, and iPod: Understanding capacity
    http://support.apple.com/kb/ht1867
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/TS1503
    Regards,
    - Brenden

  • Need help with SQL for selecting ID where the sequence does not match..

    I have the following dilemma:
    Database contains IDs as follows:
    Incident#, Case#, & Part Sequence#
    example
    Record 1
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 1
    Record 2
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 2
    Sometimes the user will delete (let's say) Record 2 after creating a new Record 3
    So now the sequencing goes as follows:
    Record 1
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 1
    Record 2
    Incident_Number = 123456
    Case_Number = 1
    Part_sequence = 3
    Now there will no longer be a Part_Sequence 2
    Need a SQL to select all records where the maximum part sequence > than the count of Incident_number||'-'||Case_number
    I tried the following:
    select a.incident_number||'-'||a.case_number||'-'||a.part_sequence
    from chsuser.a_compl_summary a
    where a.entry_date >= '01-may-2011'
    and max(a.part_sequence) > count(distinct a.incident_number||'-'||a.case_number)I end up getting a ORA-00934: group function is not allowed here (highlighting on the Max(a.part_sequence) portion.
    Any suggestions/hints
    Thanks

    select  incident_number || '-' || case_number || '-' || part_sequence
      from  (
             select  incident_number,
                     case_number,
                     part_sequence,
                     max(part_sequence) over(partition by incident_number,case_number) max_seq,
                     count(*) over(partition by incident_number,case_number) cnt
               from  chsuser.a_compl_summary
               where entry_date >= DATE '2011-05-01'
      where cnt != max_seq
    /SY.

Maybe you are looking for