Previewing Transients in Loops?

Hi there,
I've got two questions regarding transients in Apple Loops.
If I create an Apple Loop from an audio sample I have, the transients differ in the Logic Sample Editor to how they are when I open the loop in Apple Loops Util.
For example, let's say I've 'rhythmically' sliced a drum loop with a transient at each hit, when I open it in Apple Loops Util, the transients just show at regular intervals as selected in the toolbar (1/4s, 8ths, 16ths, etc etc). Is there a way to keep the transients from the Sample Editor?
Also, when working with transients in the Apple Loops Utility, is there a way to preview the audio between transients. Like when you double click a section between transients in the Sample Editor, you can play back just that slice.
Thanks

exo wrote:
Okay, let me try again. I need three loops. Two loops start at the same time one runs fast one runs slow. The slow one is probably independent to the problem. When the second loop is done, it needs to restart and start a third loop that takes less than the second.
This is all still very vague. You are omitting crucial information.
Which one is the "second loop". Slow or fast?
What is the meaning or "probably" in this context?
Should the first loop continue forever?
What determines if the second loop is done?
What does the third loop do during that one second? Is it actually looping many times or is it just executing some code once?
What should happen after the third loop is done?
It might be much easier if you could describe your problem from a real-world perspective instead of programming terms.
What is it suppused to do? What is is controlling? What behavior should the user see?
Message Edited by altenbach on 04-28-2008 08:32 AM
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Preview render keeps looping..see video

    http://www.youtube.com/watch?v=ZS2_UGXjgIw
    I have to render the timline in small sections in order for it to complete. Otherwise it keeps going from 98% to 99%
    Please see video.
    anyone have this issue?

    Have you installed the 5.0.3 update that came out yesterday? One of the bugs fixed is:
    Rendering of previews got stuck in a never-ending loop state under some circumstances. This is fixed.
    More info here: http://blogs.adobe.com/premiereprotraining/2010/12/premiere-pro-cs5-5-0-3-update.html

  • 10g Preview: BUG: Infinite loop renaming entity attribute

    9.0.5.0.0, Build 1375, Win2k SP3.
    BACKGROUND:
    After attempting to rename an EO on which a VO was based I received an error that indicated the VO was dependent on the attribute to be renamed. I removed the VO attribute from the VO's attribute list and saved the changes. I then brought up the Entity Object wizard where I attempted to rename the attribute.
    When jdevw.exe is used to launch the IDE, the renaming action results in the IDE hanging. When jdev.exe is used, the console prints the following stack trace and the IDE gives a StackOverflowError.
    java.lang.StackOverflowError
         at java.lang.System.arraycopy(Native Method)
         at java.lang.StringBuffer.expandCapacity(StringBuffer.java:203)
         at java.lang.StringBuffer.append(StringBuffer.java:393)
         at oracle.jbo.dt.objects.JboBaseObject.getFullName(JboBaseObject.java:188)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
    [...a few hundred thousand more of these...]
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java:3394)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
    [...and a bunch of these...]
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java:3394)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeChangeQuery(JboBaseObject.java:3427)
         at oracle.jbo.dt.objects.JboObject.changeAttributeQuery(JboObject.java:107)
         at oracle.jbo.dt.ui.entity.AttributeSettingsPanel.attributeNameCheck(AttributeSettingsPanel.java:453)
         at oracle.jbo.dt.ui.entity.EOAttributePanel.leave(EOAttributePanel.java:279)
         at oracle.jbo.dt.ui.entity.EOAttributeTabPanel.leave(EOAttributeTabPanel.java:108)
         at oracle.jbo.dt.ui.entity.EOEditAttributeTabPanel.updateCurrentAttr(EOEditAttributeTabPanel.java:330)
         at oracle.jbo.dt.ui.entity.EOEditAttributeTabPanel.leave(EOEditAttributeTabPanel.java:113)
         at oracle.jbo.dt.ui.main.dlg.DtjMddTraversable.onExit(DtuMddNavigable.java:278)
         at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:761)
         at oracle.ide.panels.MDDPanel.onExit(MDDPanel.java:286)
         at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.okAction(DtuWizard.java:1899)
         at oracle.jbo.dt.ui.main.dlg.DtjDialog.dismissDialog(DtjDialog.java:219)
         at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5134)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog.show(Dialog.java:538)
         at java.awt.Component.show(Component.java:1134)
         at java.awt.Component.setVisible(Component.java:1089)
         at oracle.jbo.dt.ui.main.dlg.DtjDialog.setVisible(DtjDialog.java:137)
         at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.setVisible(DtuWizard.java:1926)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.jbo.dt.ui.main.dlg.DtjDialog.showDialog(DtjDialog.java:114)
         at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.showDialog(DtuWizard.java:1885)
         at oracle.jbo.dt.ui.main.dlg.DtuWizard.createMddWizard(DtuWizard.java:422)
         at oracle.jbo.dt.ui.main.dlg.DtuWizard.setVisible(DtuWizard.java:276)
         at oracle.jbo.dt.ui.entity.EOWizard.setVisible(EOWizard.java:204)
         at oracle.jbo.dt.ui.main.dlg.DtuWizard.showDialog(DtuWizard.java:254)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeEOWizard(JdxMenuManager.java:762)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeEntityWizard(JdxMenuManager.java:741)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doEditMenuAction(DtuMenuManager.java:1341)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction(DtuMenuManager.java:1218)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction(JdxMenuManager.java:701)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1058)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1041)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doActionPerformed(JdxMenuManager.java:532)
         at oracle.jbo.dt.jdevx.ui.JdxMenuInvoker.run(JdxMenuManager.java:1285)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    Thanks for the post, I've been able to reproduce this in the current builds and I've logged this as bug #3159091 to be fixed for 9.0.5 production.
    Ray

  • Preview of loops has effect on it (digital delay)??

    Previewing my drum loops (all music loops actually) ... I'm picking up digital delay. Where is it coming from?
    When I drag the loop to the arrange window the effect is still there ... even though there is no effect assigned to that particular audio track.
    I'm just getting up to speed on this Logic update. So I'm at a loss. Any help would be most appreciated. Thank you.
    Ben

    Aha!!
    This is only happening when I am using the beat mapping. I have a piece of audio I've 'beat-mapped'. Now I want to add a loop to it. But the loop previews, and the loops when I add them to the audio track, have some weird digital delay effect on them.
    This isn't happening if I'm NOT doing a beat map. Everything is normal.
    Ben

  • Preview loops in their native key & tempo - Can it be done?

    Sometimes I just want to browse my loops to hear what I've got -- not for a particular song. In this case, listening to a loop transposed and sped-up/ slowed-down just gets in the way. And changing the key and tempo of the open project all the time is just a huge hassle.
    I have tried various modifier keys (control, option, command, shift) while clicking the loop to preview it, but it still plays in the key and tempo of the project. Ack!
    Is there a way to listen to a loop in its original key & tempo?
    Dual 1.8 G5   Mac OS X (10.4.4)   Garageband 3.0
    Dual 1.8 G5   Mac OS X (10.4.4)  

    I use the Finder to preview files in their native key and tempo. You could spend a few bucks for AudioFinder to preview your loops. If I had a few extra dollars I would buy that application just to preview and manipulate loops outside of Garageband.
    I have gotten used to previewing with the finder, it alows me to quickly trash a loop I know I'm never gonna use.

  • Midi loops play tones instead of music

    Hello,
    I am having a problem with my Garageband loops that I can't seem to solve.
    Basically the problem is that when I select a midi loop (The green ones?) I get tones instead of the music. If I preview the loop in the loop browser the music plays fine but when I drop the loop into the arrangement area all I get is tones and chimes.
    I don't have this problem whatsoever with the audio loops (The blue ones?) They play just fine when previewed in the loop browser as well as in the arrangement area.
    I have tried removing and re-installing Garageband, and I have exhaustively searched the web and this forum for a solution to no avail! Any help would be much appreciated!!

    the instruments aren't installed, reinstall GB:
    http://www.bulletsandbones.com/GB/GBFAQ.html#reinstallgb
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • How should I manage lots of MIDI loops?

    Hello,
    I just purchased GrooveMonkee MIDI drum loops, which gave me hundreds of MIDI drum loops.
    I use the Mac's Finder to preview these MIDI loops. When I find the one I want, I drag it into the Arrange window of Logic Express.
    However, Logic assigns the name "Sequence" to every loop, rather than the original file name. So then I get left with lots and lots of regions called "Sequence", and it's hard to know which was which.
    Is there any way to change the name of a MIDI region after it is imported into Logic?
    Would there be a better way for me to manage hundreds of MIDI loops like this? (apart from buying new software drum machines).
    thanx

    ngoonee wrote:
    lukaszan wrote:I run updates rarely, as I don't really care about the latest packages. And unfortunately Arch IS releasing packages to eagerly (new kernels within a couple of days of official release ? That is not tested whatsoever...), so you just have to be... carefull
    *unfortunately*? I believe that's part of the basic policy of Arch in the first place . Everything gets sign-offs in [arch-dev-public] though (or rather, everything important).
    Yes, it is part of Arch philosophy. Unfortunately
    I'm probably trying to say 2 things: this is the only thing I personally don't like about Arch, and the packages could do with a little bit more testing. I mean, do you really need the newest packages the very next day ??

  • Apple loops audio files wont play

    I can listen to previews of the loops but when I drag them to the arrange area, I hear nothing. I can see that they are working but cant hear anything. The green instrument apple loops work fine, its only the blue ones that dont work. I also cant hear anything that has been recorded using a usb mic. I have everything set up the way the manual tells me too, and it will record and I can see that it is playing i just cant hear it. How do I fix this problem. I have Logic Pro 9 and Snow Leopard.

    I have not changed any settings on my own as I am very new to the whole music recording thing and have no idea how to get technical. All I have done is installed the program and followed the "try this" in the getting started manual. It seemed to work just fine the first time I put something together. I restarted my computer because it was seeming extraordinarily slow. When I reopened logic and attempted to create another beat only the green loops could be heard. Although you could see the meters moving on the blue ones no sound could be heard through either the built in speakers or headphones as I tried both. I can still click on the blue loops while they are in the loops library and I hear them just fine. As soon as they are dragged into the arrange area, I hear nothing.

  • How to stop looping?

    Forgive me but I am JUST learning. I have created a small
    animation and I can't seem to stop it from looping. When I
    published it, I went into settings and unchecked the loop box in
    the HTML part and then saved it. When I open Internet Explorer and
    go to file and open the HTML file it is just fine. But when I try
    to place the file (.swf extension) into a page in Dreamweaver and
    then preview, it keeps looping.
    What am I doing wrong? Thanks!

    Mirrasi wrote:
    > Ugh, nevermind, I just found it. Looks like there is a
    setting within Dreamweaver where I can unloop it. If I missed
    anything let me know. Please ignore this newbie. hehe
    it is always better to place stop(); whenever you want the
    movie to stop.
    The parameter "loop" won't always work, it pretty much vary
    depends on
    what browser you playing the movie in.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • After Effects CC failed renders, RAM preview useless

    Hi there,
    I'm having some strange issues with After Effects, the sort that I've never experienced before.
    I'm animating a 5-second sequence with nine layers, each with video copilot's "Twitch" effect plugin added. The comp is big, set to 4000 x 4000 px.
    When I go to RAM preview on full resolution, I only get ten frames of the comp previewed before it loops from that point. Spacebar preview returns the same result (it freezes at ten frames). I tried exporting the comp, but it returns "Failed at 00:00:02." I created a new 1920x1080 comp and tried again with scaled down source material but the same effects occur, this time further down the timeline at about 3 seconds. Can't RAM preview, Spacebar preview or export beyond that point. If I trim the comp to just before the problem frames at 3 seconds, I can successfully export.
    I'm running a brand new macbook pro (2.3 GHz, 16gb RAM, Nvidia Geforce GT 750M [CUDA enabled]) and the project is located on the internal SSD. OSX 10.9. After Effects is the latest update available 12.2.1.5.
    Any ideas? I've not found anything in any forums dealing with this specifically. I think I have an OSX update due actually - I'll check to see if this does something interesting and report back!
    Cheers!

    Hi Todd and AlpineEdits,
    I deleted Twitch from the plugins folder and ran a few tests - everything seems fine.
    I reinstalled Twitch, but used perhaps an older version - I didn't use the 64-bit specific plugin provided as part of the download package. The same sequence now previews seamlessly and fast too.
    Seems that Twitch causes strange little AE hiccups!
    Thanks so much for the simple suggestions, worked a charm.

  • How to loop a composition within a composition in ( not a movie ) After Effects ?

    Dear all,
    I'm on a mac trying to learn after effects.
    I'm trying to make a very simple stopmotion of 30 sec. Writing with a squiggly line 
    I want to learn this because when I do bigger projects I can easily loop things like walking sequences or blinking eyes within a long movie.
    Maybe because I'm used to animating in flash maybe i'm thinking wrong, looping like a movie-clip.
    I've made a jpg sequence by hand of 4 images, because i can control how long each image will last. In my case I choose 1 image = 3 frames. I did this because I don't want it to be hyper active fast. The jpg sequence now lasts about 12 frames, I named it day3. Because it's so short to fill a 30 sec movie I want to loop it for a duration of 30 sec.
    I tried placing my composition day3 within a new composition named nervous with a duration of 30sec. By pressing enable time mapping hoping this would work but it does not.
    I also tried finding the Expression Language menu, because someone said it would help but it's nowhere to be found. I found it odd that my time line in the main composition nervous displayed frames instead of seconds.
    Can someone help me with this?
    Thank you so much

    As Szalam said, pre-compose, time remap, and the use a loopOut() expression.
    Here's the steps in detail.
    First make sure you comp is exactly the right length to make a perfect loop. This means the last frame of the comp must perfectly line up with the first frame of the comp. You can test the loop by doing a RAM preview with the Loop option enabled in the Preview Panel. When your loop is perfect it's time to pre-compose. Make sure you move all attributes to the new comp.
    Now you must change the duration of your original comp to allow time for the loop to run. Now enable time remapping. You'll see two keyframes, one at the start and one at the end. If you move to the end keyframe by pressing the K key you'll see that there is no image. Use the page up key to move back one frame and manually set a new keyframe. Delete the last keyframe now. Pressing the J and K key should now show you the first and last visible frame. Now extent the out point of the pre-comp by going to the last frame of the composition, select the pre-comp layer and then press Alt/Option + ] to set a new out point. Now hold down the Alt/Option key and click on the stopwatch for Time Remapping and type in loopOut() and your'e done. You can also use loopOut("cycle"), cycle is the default, or type in loopOut("pingpong") which will make the comp play frontwards then backwards, then frontwards. There are also some other properties you can include in the brackets but let's not get into that now.
    There you go. EZ as pie once you know what you are doing.

  • How to search on a transient attribute in a VO ?

    Hi,
    I want to search on a field, on my page, that's not in the database. So I created a transient attribute, in the view object, that is queriable so it appears on the find page.(with JDeveloper/JHeadstart) But when I use the attribute in the where clause of the View Object I get the following error: "SQL Query Error Message: ORA-00904 "STATUSGROEP": invalid identifier".
    I also tried to use a bind variable (:1) instead of the attribute name in the where clause but then I get the runtime error: "java.sql.SQLException: ORA-01008: not all variables bound".
    What am I doing wrong ?
    Regards,
    Chris van Dijk

    Michiel / Chris
    Based on the find attributes, JHeadstart automatically adds a SQL WHERE CLAUSE to the ViewObject. Since transient attribute do not map to a valid column name, this will not work.
    I built a little testcase with a transient attribute, and it was simply ignored, I did not get the ORA-904. From your description, it looks like you added some bind variables to the ViewObject as well. That is not supported in combination with find pages, unless you overwrite method
    DataObjectSet getDataObjectSet(String queryType, HashMap arguments, Object sessionId, int startRange , int rangeSize)
    on the handler.
    Anyway, if you really want to filter on a transient attribute, you will have to do that in java code, overriding the aforementioned method:
    - remove the transient attribute from the arguments HashMap
    - call super to execute the query without the transient attribute
    - loop over the result set and remove the rows that do not match with the transient attribute value.
    This might be quite slow, depending on the size of the result set returned by the query. Can't you somehow translate the transient attribute value to some SQL column values so all filtering can be done using SQL?
    Steven Davelaar,
    JHeadstart Team.

  • Adjusting Volume while previewing

    for some reason If my transport is not going I can't adjust the volume of the Apple loop I'm previewing. Also if I'm just previewing (from the loop browser) audio loop play either on the left or right side of my output. Anyone know why this is? be nice kiddies

    Hi, maureenfromoradell.  
    Thank you for visiting Apple Support Communities. 
    I understand that the volume is low via the receiver during a call.  Here is a troubleshooting resource that I would recommend going through when experiencing this issue.  
    If you can't hear a person on a call or voicemail or if the sound quality is poor on iPhone
    If the issue persists, see the section labeled Get more help.
    Cheers,
    Jason H.

  • Playback of clips only plays between 4 and 12 frames

    Hi all,
    I am fairly new to Premiere, have used After Effects CS4 to produce some clips, but need something that handles editing better, and I thought I would give Premiere CS4 a try.
    Unfortunately, I can't get Source or Sequence preview working.  I click the play button and the video plays for about 1/2 to 1/4 or a second (between 4 and 16 frames) and then stops, returning to the place where I hit play.  Almost like I had selected an in and out of 14 frames and hit "play in to out".
    The duration of the playback is random, but never more than a full second.
    The computer I am on is:
      Model Name: MacBook Pro
      OS: Snow Leopard 10.6.2
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.4 GHz
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 800 MHz
      Chipset Model: GeForce 8600M GT   
      Bus: PCIe
      VRAM (Total): 256 MB
      Vendor: NVIDIA (0x10de)
      RAM Size: 4 GB
      Type: DDR2 SDRAM 667 MHz
      HDD: 500Gb 7200RPM (50% empty)
    Apple system updater says I am up to date.
    I have Adobe Premiere CS4 installed (trial) 4.2.1 (003 (MC: 166418))
    Adobe Updater says I am up to date.
    I have done the following to try and resolve:
    * Tried different source files (mp4, mov)
    * Tried rendering a video in After Effects CS4 as MOV H264 and importing
    * Tried putting still frames on the time line and playing those (no effects, no transitions)
    * Tried playing no video, just music
    * Ensure that "clear all markers" is done on the source and preview monitors
    * Ensure loop is not playing
    * Force in and out markers to a 5 second clip and press play
    * Full deinstall and reinstall of all adobe products (I had some CS3 left overs that I cleaned out)
    * Deleted all adobe application preferences folders before reinstall
    * Deleted plugin cache
    * Created new projects and tried all the above.
    I have tried shutting down every other program before running Premiere, it is definitely not a resources problem, there is 3Gb of RAM free and CPUs sitting at 5% when I try this.
    I am looking at buying Premiere, but if I can't get playback to work it's a bit of a waste
    Anyway, any help or pointers would be appreciated!
    Mikel

    Thanks everyone for the long thread and lots of comments, unfortunately I have tried them all.
    I even purchased a full copy of Premiere Pro (as part of a Masters collection set) and this still has not fixed the problem.
    The screen recording of my problem is exactly the same as the one linked to here: Screen Recording 2 720p.mov, and I am also going to open a support ticket with Adobe.
    Another point is that it even does not work on a tiny video that I used (320 x 240px)  Still same problems.
    This is very frustrating.
    It should be noted that After Effects and Encore both play videos fine in a similar situation, it is just Premiere that is bombing out.
    See the first post for my configuration, it is still the same, except now I own a full copy of Premiere Pro as part of CS4 Masters collection.
    Any further ideas?
    Mikel

  • "Missing parameter values." Error when setting record selection formula

    Setup - VS 2008, CR 2008 (v12.0), Win XP & C#.Net
    I have a form which loops through all parameters (non-linked to sub reports, so only off the main report) and allows users to enter the values for each parameter. When hitting the preview button, I loop through all of the saved values, set the parameter field values and then add any additional filters into the recordselection formula as below. The problem i'm having is that the ReportDocument.HasRecords returns true if the ReportDocument.RecordSelectionFormula doesn't filter out every result.
    For example, I have a list of customers and if I set the selection formula to filter out a specific customer, ReportDocument.HasRecors returns true, if I set the selection formula to filter something that doesn't exist i.e. customer "xk39df", the moment this line of code runs "ReportDocument.RecordSelectionFormula = rsFormula;" - ReportDocument.HasRecors returns the following exception as opposed to "False".
    Message: Missing parameter values.
    Source: CrystalDecisions.ReportAppServer.DataSetConversion
    StackTrace:    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.hasRecords()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_HasRecords()
    ErrorID: MissingParameterFieldCurrentValue
    The strange thing is, it works fine if the recordselectionformula selects a record which exists in the results - all parameters have a current value except for the linked parameters.
    This one has got me stumped!
    foreach (ParameterFieldDefinition parameterField in ReportDocument.DataDefinition.ParameterFields)
                    var query = ReportObjects.Values.Cast<Filters>().Where(objects => objects.ParameterName == parameterField.Name.ToUpper().Trim());
                    foreach (var item in query)
                        parameterField.CurrentValues.Clear();
                        parameterField.CurrentValues.Add(item.ParameterValue);
                        parameterField.ApplyMinMaxValues(item.MinLength, item.MaxLengh);
                        parameterField.ApplyCurrentValues(parameterField.CurrentValues);
                var records = ReportObjects.Values.Cast<Filters>().Where(recordSelection => recordSelection.RecordSelectionFormula.Trim().Length != 0);
                foreach (var item in records)
                    rsFormula += item.RecordSelectionFormula;
                if (rsFormula.EndsWith(" AND "))
                    rsFormula = rsFormula.RTrim(5);
                ReportDocument.RecordSelectionFormula = rsFormula;

    Hi,
    The report has it's own ADO Datasource set in crystal reports, so I just pass the log on information to the report object before doing anything else.
    this.DataSourceConnections[0].SetConnection("ServerName", "Database", "sa", "Password");
    I then do a refresh before applying the parameter values (I do this because the user can preview the report more than one time by using a preview button on the parameter form without re-loading the report object)
    this.Refresh();
    Then I set all parameter values followed by setting the recordselection formula.

Maybe you are looking for

  • On synching my iphone for purchases it says my computer is not authorised, it is what do I do

    On my recent synching with my iphone 4 when itunes reaches step 3 to transfer purchases, in this case ibooks, it states authorise this computer.  I enter email address and password then receive a reply this computer is authorised I click ok immediate

  • Error in Posting for MIRO

    Dear Experts I am trying to post a vendor invoice through MIRO for the month of December 2008, But the system is giving an error that you cannot post to December month. What could be the reason? Regards Samir

  • Unmarshal Error in Eclipse

    the application what I am working is in java & rmi, I have a batch file to run the application it is working fine, I want to Debug the application so i am trying to do the same in Eclipse it is failing and throwing following error... com.psc.dsg.di.b

  • Photoshop Recovery not working

    Hello, I need SERIOUS HELP!!! My photoshop autosave IS NOT WORKING. Last time it crashed, when I re-opened photoshop, the 'recovered-digital painting' DID NOT LOAD! I tried uninstalling the program than re-downloading it immidiately afterwards but th

  • ITunes 9.2, Mac OS 10.6.4, gray movie playback

    Hello, I recently upgraded my iMac to OS 10.6.4 and iTunes 9.2. Since then, any purchased/downloaded/digital-copy movie or TV show asks me to authorize access and then plays a gray (sometimes black) background without audio. Any videos, movies or TV