Show CustomerID with Most Attempts e.g. TopN = 1

I have a requirement to show the maximum number of attempts (customer activity) for a single customer by date and then display the CustomerID of the single customer with the most attempts.
Example
Date,     MaxAttempts, CustomerID
9/12       12                  45654
9/13       10                  78495
9/14       15                  34156
I'm struggling to figure out how to show only the CustomerID with the MaxAttempts and not ALL CustomerIDs for a given date.  I think TopN function would work.  I've been trying to do something in the Edit Column Formula dialog box that basically says SELECT CustomerID WHERE TOPN(MaxAttempts,1)

Hi,
You can use TOPN  and Sum function using selection steps...
Under selection steps condition format u can use.
http://mkashu.blogspot.com
Regards,
VG

Similar Messages

  • Keywords imported but don't show up with photos

    I am not getting keywords to show up with imported photos. i've done a lot of searching on this and other forums to try to figure out what is different about my situation but to no avail. here's what I've deduced though:
    the keywords will import if I deselect “Copy the items to the iPhoto Library”. But if I leave the default box checked", I will not get keywords associated with the photos.
    (the rest of my discussion deals with a library where the imported photos ARE copied to the library)
    Interestingly, the keywords ARE imported into iPhoto (if one looks at the keyword list); they just aren't attached to the photos (i.e. clicking <Get Info> shows no keywords, as opposed to them being there but just not showing up on the screen with the image). Most (but not all) of my imported photos show up in iPhoto without any keywords attached. Most Events are all-or-nothing; i.e. all the photos of the event either have keywords or don’t. At least one Event is a mix. I cannot make any sense as to why some do, as the ones that do will be part of an event that all the other photo's don't show the keywords; additionally, neither the ones with nor the ones without keywords share any common feature or change (e.g. edited, rotated, file type, keyword/tag name, etc.).
    I'm a pretty basic user when it comes to photos (but with a fair amount of common sense and computer knowledge); not trying to do anything fancy here. I don't know much about photography, so I'm not manipulating photo settings on my camera and am not (purposefully/knowingly) manipulating the metadata directly from the file. So, I'm baffled as to why my system would be acting differently than any other "out of the box" iMac.
    In case it matters:
    -- the photos being imported originated from a Windows-based PC and tagged by Adobe Photoshop Elements. I have the same problem regardless of whether I export them (using Photoshop) to a file on the iMac or directly import them over the network from the PC using iPhoto.
    -- (Using iPhoto Library Manager) I created another iPhoto library to see if the same thing would happen with photos imported to a different library -- same problem. (BTW, I checked the new library's Keywords BEFORE I imported to make sure the keyword "library" wasn't somehow replicated from the previous library.)
    -- In one of your forum discussions, you said that these “copies” would be in the “Originals” folder within the iPhoto package, right? If so, then they are the same size as the files being imported minus a few KBs, presumably due to the lack of associated keywords.
    I assume that these "copied" files are suppose to retain their keyword/tag info. Any ideas why they aren't and/or what I can do about it? I tried rebuilding the database too but that didn't do any good. I'm figuring on trying to reimport everything again, but I fear I'll get the same result.

    Welcome to the Apple Discussions. First try the simple fix: delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder. Launch iPhoto and see if the keywords show up. If not, then launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome

    Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome. Works in IE. This is my first time trying to post a question - so please be kind. I am also not good with code and am finding css a real challenge after learning to design based on tables. I'm using CS5.
    The "test" page with the slide show is: http://www.reardanwa.com/index-slides.html   The same page without the slide show is http://www.reardanwa.com/
    I realize the images are not ideally sized - I'll fix those once I get the pages to function.  Maybe I need a different slide show? I would prefer a widget that I can modify to required size & postition. Again - I'm not good at building with code from scratch.
    The problem is the naviagation links that are directly next to the slide show do not work in Firefox of Chrome. They do work in IE.
    I've read about using jQuery.noConflict(); code but can't figure out the correct way to use it in my case or whether that's even part of the solution. I know my code is not well organized as I have cobbled together from various sources in an attempt to format the page the way the client wants it. Also, FYI, I will eventually try to make the page work in Surreal CMS.
    I've spent sevaral days over the last several weeks trying to solve sth slide show/navigation conflict - so any specific light you can shed will be much appreciated.
    Thanks in advance.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Reardan Area Chamber of Commerce</title>
    <meta name="description" content="home page for Reardan Area Chamber of Commerce" />
    <meta name="keywords" content="Reardan WA, chamber of commerce" </>
    <script src="scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="scripts/jquery.cycle.all.js" type="text/javascript">  </script>
    <script type="text/xml">
    </script>
    <style type="text/css">
                                  #slideshow { 
                                      padding: 10px;
                                            margin:0; 
                                  #slideshow-caption{
                                            padding:0;
                                            margin:0;
                                  #slideshow img, #slideshow div { 
                                      padding: 10px;
                                      background-color: #EEE;
                                      margin: 0;
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              background: #004B8D;
              margin: 0;
              padding: 0;
              color: #000;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
               /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    .left
    position:absolute;
    left:0px;
    .center
    margin:auto;
    width:95%;
    .box
              position:relative;
              left:-90px;
              width:950px;
              height:350px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              z-index:1000;
    .slide{
        position:absolute;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #42413C;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #6E6C64;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
    /* ~~this fixed width container surrounds the other divs~~ */
    .container {
              width: 960px;
              min-height:900px;
              padding:5px 0px 0px 0px;
              background: #E8F8FF;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background: #E8F8FF;
              padding:10px 5px 0px 5px;
    .sidebar1 {
              float: left;
              width: 225px;
              margin: 60px;
              color: #FFFF0D;
              background: #595FFF;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
        z-index:-1;
    .sidebar2 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:2;
    .sidebar3 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:3;
    .content {
              padding: 0px 0px 0px 0px;
              width: 780px;
              float: left;
              background: #E8F8FF;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0px 15px 5px 10px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this removes the list marker */
              border-top: 0px solid #FFFF66; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
              margin-bottom: 50px; /* this creates the space between the navigation on the content below */
              font: Arial Black, Verdana, , Helvetica, sans-serif;
              font-size:1.3em;
              font-weight:bold;
              z-index:2;
    ul.nav li {
              border-bottom: 0px solid #FFFF66; /* this creates the button separation */
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 3px 0px 5px 0px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              width: 185px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
              text-decoration: none;
              color: #FFFF0D;
              background: #595FFF;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              background: #595FFF;
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
              color: #FFFFFF;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              background:  #595FFF;
              color: #FFFF0D;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    -->
    </style>
    </head>
    <body>
    <div class="container">
      <div class="header"><!-- end .header -->
      <a href="#"><img src="images/Chamber-Logo-2.gif" alt="Reardan Chamber Logo" width="187" height="163" hspace="10" vspace="5" align="top" /></a><img src="images/Reardan-Chamber-Title.gif" width="476" height="204" alt="Reardan Area Chamber of Commerce, Dedicated to Preserving and Enhancing Area Businesses" /><p></p>
      <p style="color: #F00">This Site is under construction! Please pardon our dust as we create!</p>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="about.html">About Us</a></li>
          <li><a href="history.html">Reardan History</a></li>
          <li><a href="activities.html">Activities</a></li>
          <li><a href="business.html">Business<br />
            Directory</a></li>
          <li><a href="about.html">Join the<br />
            Chamber</a></li>
           <li><a href="links.html">Links<br />
      <span style="font-size: 85%">Tourism</span><br />
          </a></li>
        </ul>
         <!-- end .sidebar1 --></div>
    <br />
    <br />
    <br />
    <br />
    <div class="box" +"slide">
      <script type="text/javascript">
    // BeginOAWidget_Instance_2559022: #slideshow
                               slideshowAddCaption=true;
    $(window).load(function() {
      $('#slideshow').cycle({
                        after:                              slideshowOnCycleAfter, //the function that is triggered after each transition
                        autostop:                              false,     // true to end slideshow after X transitions (where X == slide count)
                        fx:                                        'blindX',// name of transition effect
                        pause:                              false,     // true to enable pause on hover
                        randomizeEffects:          true,  // valid when multiple effects are used; true to make the effect sequence random
                        speed:                              100,  // speed of the transition (any valid fx speed value)
                        sync:                              true,     // true if in/out transitions should occur simultaneously
                        timeout:                    5000,  // milliseconds between slide transitions (0 to disable auto advance)
                        fit:                              true,
                        height:                       '300px',
                        width:         '525px'   // container width (if the 'fit' option is true, the slides will be set to this width as well)
    function slideshowOnCycleAfter() {
              if (slideshowAddCaption==true){
                                  $('#slideshow-caption').html(this.title);
    // EndOAWidget_Instance_2559022
      </script>
      <div id="slideshow">
        <!--All elements inside this will become slides-->
        <img src="images/100_1537.jpeg" width="600" height="450" title="caption for image1" /> <img src="images/Parade-2011-2.jpg" width="300" height="225" title="caption for image2" /> <img src="images/100_1495.jpeg" width="600" height="450" title="caption for image3" />
        <div title="sample title"> Images for slide show will need to be re-sized to fit box to avoid distortion</div>
        <img src="images/beach4.jpg" width="200" height="200" title="caption for image4" /> <img src="images/beach5.jpg" width="200" height="200" title="caption for image5" /> </div>
      <!--It is safe to delete this if captions are disabled-->
      <div id="slideshow-caption"></div></div>
    <div class="sidebar2" "anotherClass editable"><p align="center"><strong>Chamber News</strong><br />
    Local News item
    <br />
    Another New item</p>
      <p align="center">lots of news this week<br />
        <br />
        <br />
        <br />
      </p>
    </div>
    <div class="sidebar3" "anotherClass editable"><p align="center"><strong>Upcoming Events</strong></p>
      <div align="center">    <a href="activities.html" style="color: #FFFF0D">Community wide yard sales</a><br />
        <br />
        <br />
        <br />
        <br />
      </div>
    </div>
    <div class="content"><br />
    <br />
    </div>
    <div class="footer">
            <p align="center"><span style="font-size: small">Reardan Area Chamber of Commerce</span><br />
              <span style="font-size: x-small">[email protected]  - 509.796.2102</span><br />
            </p>
            <!-- end .footer -->
    </div></body>
    </html>

    If you DO want the slideshow overlaping the navigation try the below css:
    .sidebar1 {
        float: left;
        width: 225px;
        margin: 60px 0px 60px 60px;
        color: #FFFF0D;
        background: #595FFF;
        border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
    .box {
    float: left;
    margin-left:-60px;
    width:700px;
    height:350px;
    border-radius: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;

  • How do I get my entire photo stream to my new iPad. I use my ICloud and some of them showed up but most if them did not. I am trying to sync the photos from my phone to an iPad 1 and iPad mini.

    How do I get my entire photo stream to my new iPad. I use my ICloud and some of them showed up but most if them did not. I am trying to sync the photos from my phone to an iPad 1 and iPad mini.

    Photostream in the cloud only keeps photos from the last 30 days (subject to a 1,000 photo limit). When photostream syncs the photos to your device they will stay there until deleted, which means you may well have more photos in your photostream album on your device than there are in photostream in the cloud.
    The consequence of this is that if you turn photostream off and on again on your device (or enable it for the first time), it will only be populated with photos from the last 30 days, which may not be all the photos that were previously in the photostream album on that device.

  • I know my back up exists I can see it on disk utility but migration and disc utility wont work to restore my back up on my new hard drive it shows up with the message "this disk is already in use" i am so done. someone pls help me

    I know my back up exists I can see it on disk utility but migration and disc utility wont work to restore my back up on my new hard drive it shows up with the message "this disk is already in use" i am so done. someone pls help me

    Otherwise software may be attempted to access the drive. The the computer up in Safe Mode by holding shift when you turn it on. Also be sure to power off and on the hard drive itself.

  • My maps are not showing buildings with clarity. They have no color. It's like my maps are outdated but my ipad is fully updated. I can't get the option of views in my ipad

    My maps are not showing buildings with clarity. They have no color. It's like my maps are outdated but my ipad is fully updated. I can't get the option of views in my ipad. Like the downtown view and stuff. Please help.

    What locations are you seeing these "problems"? If the satellite photos are older or not as clear, you may see some of what you describe. Take a look at one of the major cities and see if they are also appearing as you describe. Someplace like New York, London, Paris. Those are among the cities that seem to be updated most frequently.
    Incidentally, the maps are web/cloud based and not contained within the maps app on your iPad, so regardless of the version of your app, you will still get the most current map available.

  • I have a new iphone that is not showing up when I attempt to sync to itunes

    I have a new iphone that is not showing up when I attempt to sync with itunes

    Windows or Mac?
    iOS: Device not recognized in iTunes for Windows
    iPhone:  Device not recognized in iTunes for Mac OS X
    Robert, if you are using a Windows based computer, often disabling anti virus software and turning off the Firewall on the PC can help.
    iTunes for Windows: Troubleshooting security software issues

  • HT2589 What if I have an iPhone and its sends/recieves messages with our apple id which is my moms email? How do I fix that so that when I text my friends it doesn't show up with my moms email but my number?

    What if I have an iPhone and its sends/recieves messages with our apple id which is my moms email? How do I fix that so that when I text my friends it doesn't show up with my moms email but my number?

    Hi lfeddrix,
    You can send and receive Messages from the Apple IDs and phone numbers signed in to your iMessage section in the settings of your phone. We have an article that explains a little bit about this, and it can be found here:
    iOS: Using Messages
    http://support.apple.com/kb/ht3529
    This section is the most appropriate for your situation:
    You can change the address that new iMessage conversations are started with in Settings > Messages > Send & Receive > Start new conversations from:. Note that this setting applies only to new conversations. If you would like to change the address from which messages are sent, first change this setting, and then delete the existing conversation and start a new one.
    iMessage responses will be sent from the address the recipient most recently messaged. For example, a friend sends you a message to your Apple ID. Responses in this conversation will be sent from your Apple ID, even if you've selected new conversations to start from your phone number.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Wacom or Bluetooth Mouse issues with most recent Beta??

    Wacom or Bluetooth Mouse issues with most recent Beta??
    All I was wondering if anyone was having issues with Lightrooms beta and pointing devices… while I’m sure the Wacom Introus4 is dying in Lightroom I can’t verify that my Mouse is as well.
    I’m using the most recent Beta of Lightroom and Wacom Tablet Driver 615-3a… I’m sure the issue dosent reside with another program because the tablet only stops working in Lightroom. Basically I loose all tablet functionality until I reboot whin I attempt to access the Film Strip… I’ve repeated a few times and with each it dies…

    Unfortunately, although you are getting problems with your Wacom and Lr, the solution for the short term is to re-install an older driver for the tablet until Wacom come up with a new update to fix the prolem. This has been a long running problem for users when operating Lr with Wacom tablets.
    (I offer this solution not from personal experience, but from what other tablet users have reported in previous threads, and there have been several).

  • I just purchased an iPad 3 and it works great with most of my email accounts, but with an imap account from school it will download the content of the folders in the account, but doesn't download the messages in the inbox.

    Hi,
    I just purchased an iPad 3 and it works great with most of my email accounts, but with an imap account from school it will download the content of the folders in the account, but doesn't download the messages in the inbox. I have deleted and created the account several times. I have checked the status of the account and it's active and works either from safari or from my Mac or iPhone. I have turned off both my Mac and my iPhone as not to have competing devices, I can even send emails from the account successfully. It simply won't download the content of the inbox. Help!

    Hi Csound1, thanks. The email host is 1and1.co.uk, however, i am going to fess up and make myself look like a plonker now -
    the email account in question was set up in Outlook as POP - stupid, stupid, stupid me, wasted an afternoon on this!  I have now changed the Outlook account to IMAP and Mail.app works perfectly - and looks much nicer than Outlook did.  Im in the middle of converting from Windows to a Mac, and still finding my way around the Mac
    The lesson learned, never assume - always double  check!  All my other email addresses with 1and1 are all imap, except this one, and it happened to be the first one I set up in the Mail.app. (bows head in disgrace!)
    Thank you anyway for attempting to help me!
    Cheers

  • Get top 3 User with most List Items

    Hi all,
    I have 3 lists and I want to display in a WepPart the top 3 User with most created Items.
    Say we have U1, U2 and U2 -user that have created some list items in List A. User U1 has the most list items, so it will appear at first position,... and so on, ok?
    Top 3 User for List A
    U1
    U2
    U3
    Does someone have done this task alredy? 
    thanks for any suggestions
    Regards,
    Martin

    You should be able to use a Content Search Web Part to build a query scoped to those lists to provide this information. Here is one article I quickly found showing it and many others out there that should help you get on your way.
    http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?ID=185

  • Will Sun Studio 12 Update 1 eventually show up with smpatch analyze?

    I have a Solaris 10 (sparc) box on which previous Sun Studio updates have been applied via smpatch. I was able to use smpatch analyze/download/update to find and apply the updates. Will Sun Studio 12 Update 1 eventually show up with smpatch analyze or will I need to manually install it?
    Thanks.
    Matthew

    I'm not 100% sure, but it is a different release, despite the name (12 update 1). Most, if not all, components have different version numbers compared to ones from Sun Studio 12.

  • Suddenly no sound with most videos

    Hi, I just updated to the latest version of Apple TV and now most videos don't have any sound. The videos start playing, but I just get overwhelmed by silence. When I play the vids in iTunes there is sound. Some (older) videos on the Apple TV still have sound, so the problem doesn't show up with all videos.
    Any ideas how this could be happening? I rebooted the Apple TV but that didn't help.
    I converted the vids with VisualHub (1.34.1) as always to .mov format and imported them to iTunes, which then synchronizes with the Apple TV.

    Tnx, this seems to be the problem. I just saw the other topic about it. I will read that one, I hope to find a solution there

  • I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.

    Hi,
    I am unable to install extensions, they show up with "will be installed after you restart Firefox" even after I restart.
    The "Staged" folder is present and remains after a restart, but the extensions do not get installed. They show in the extensions page with the "will be installed after you restart Firefox" message and remain like this no matter how many times I restart.
    Any Idea's?
    Running Firefox 24.0 on Windows 8.1
    Many Thanks,
    BD
    P.S. Just tried to install the "troubleshooter" add-on before posting the question and I got an error saying it cannot install because it cannot modify the needed file. (I did it manually instead)

    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the extensions.* files (e.g. extensions.sqlite, extensions.ini) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled or not compatible extensions in "Firefox/Tools > Add-ons > Extensions" then click the Tools button at the left end side of the Search Bar to check if there is a compatibility update available.
    If this hasn't helped then also delete the addons.sqlite file.

  • Showing Items with no transactions

    I am trying to build a report that will show us items with potentially incorrect item status.  Item status (on table itmmas) is either A(ctive) or I(nactive).  The report should show all Inactive items which have had at least one transaction in the past 4 weeks AND active items which have had no transactions in that period.
    My plan is to join the item master table to the item ledger table (itmldg) which lists all inventory transactions.  I can show the inactive items with transactions without a problem.
    What I can't figure out is how to show items with Active Status that don't have any transactions.  I can't get CR to return a data set which includes ALL records from itmmas but only those from itmldg in the last 4 weeks.  I tried this SQL query:
    SELECT itmmas.itmiid, itmmas.itmdes, itmmas.itmsts, itmldg.ilgdno, itmldg.ilgdat
    FROM {oj itmmas  LEFT OUTER JOIN itmldg ON itmmas.itmiid = itmldg.ilgiid}
    WHERE (itmldg.ilgdat>={d '2009-09-01'})
    When I run this query in MS Query and return the results to Excel, I get single lines for items with no transactions.  For these items, the fields from itmldg are NULL.  When I run this query in CR, I don't get any data for items with no transactions.
    Can anyone think of a way to get this to work?

    The issue that you have is that the WHERE clause in your SQL statement is only looking at an itmldg table field for a value.  This is effectively making your Left Outer Join an Inner Join, because when an itmmas record does not have an itmldg record, the date field will be NULL.  You have to add the condition "OR itmldg.ilgdat is null".
    If you want to return ONLY the records that the report is interested in (which should have beter performance), change the SQL to
    SELECT itmmas.itmiid, itmmas.itmdes, itmmas.itmsts, itmldg.ilgdno, itmldg.ilgdat
    FROM {oj itmmas LEFT OUTER JOIN itmldg ON itmmas.itmiid = itmldg.ilgiid}
    WHERE ((itmldg.ilgdat>={d '2009-09-01'}) and (itmmas.itmsts = 'I'))
      or  ((itmldg.ilgdat is null) and (itmmas.itmsts = 'A'))
    HTH,
    Carl

Maybe you are looking for

  • From Database pass in Provisioning job

    Hello SDN, I'm trying in a provisioning job to get some data from the database and then sending it back onto the database, here i found the 'from database' pass satisfying. The problem is i'm getting this wired error: "Fromsource ODBC is a illegal ty

  • Using XML file in Java script to create Google Map

    Hello, I work for a non-profit in San Diego as a GIS Specialist. I have had to teach myself about some scripting to create some dynamic maps, but I am still very limited in my skills, so I have had to explore the internet in order to discover various

  • My Macbook Pro is coming on and off

    My MacBook Pro Late 2008, Lion operating system, is coming on and off on its on without encouragement from me.  The other day I clicked on something when checking from some lost emails in (Yahoo an account I no longer use, but occasionaly emails end

  • Problem of Master-Detail displaying

    I have a room VO ,in every room I have several Patients.I display the rooms in a table(room.uix) .And I want to display the patients for the selected room in another table(in patient.uix) and also the selected room. I tried it through using a event "

  • HTML5 support

    When exporting Captivate files into HTML5 can it export each slide as its own HTML5 page ? Or does it just do the entire thing ?