How do I search for data that's not there?

Scenario:
The store managers are supposed to upload the previous days data by 11am the following day.
I have a table of stores (74 records, 1 for each store) and a table of events (3600+ records,1 for each store per day). When I look at the event data selecting a specific date, I can see I only have 71 records, but I can't easily tell which stores are missing.  I want to gather all the events for a date, then look for the store records and report only if the store is NOT there.  I have tried the following linking options:
store.store_no (equal to link) event.store_no (gives all 71 event records, as expected, but not the ones that aren't there)
store.store_no (not equal to link) event.store_no (gives all 71 event records, for each store record, store1, event 1, store1, event2, store2, event1, stove2, event2, etc) I believe this is because it's looking for the store match first, not the date, then the store)
store.store_no (left outer join) event.store_no (gives all 71 event records, as expected, but not the ones that aren't there at the bottom, like the help states)
I thought of subreport too, but you can't like on what's not there.
does anybody have any clues?
BTW, I'm using 8.5 but can change to 10.
Thanks,
Clare

Carl,
Thanks so much. I took we a while to get the formatting correct, here's what I ended up with:
SELECT
    store."store_number", store."address1"
FROM
    "sac"."store" LEFT OUTER JOIN (SELECT * from "sac"."posj_event"  WHERE  posj_event."business_date" = {d '2009-07-08'} ) ev  ON store."store_number"=ev."store"   
WHERE
    ev."store" is null
ORDER BY
    store."store_number" ASC
My original report was set to look for CurrentDate-1, which translated to {d '2009-07-08'} will that still work here?
Clare

Similar Messages

  • Finder Searches for Files That Do NOT Contain Certain Words

    Is it possible to do a search in the Finder for files that do NOT contain a certain word?

    As far as I know you can't do that. It would be lovely to pipe the results of one search into another....
    What happens is if you specify a type folder, then exclude a file system name, the command excludes folders that have the word in their name.
    You may want to take a look at this:
    http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/index. html
    See the section on "Query Expression Syntax" and the one on "Spotlight Metadata Attributes Reference" (click link, then click the link in the Introduction to the section). Most the other stuff is of interest mainly to programmers, but those two sections are actually useful to regular folks.
    Francine
    Francine
    Schwieder

  • How do I search for apps that work on my iPod Touch Generation 1 (Version 3.1)?

    I have the original iPod Touch and I want to give it to my toddler to play with... so I can have my phone back!  The problem is I cannot find apps that work on the older operating system 3.1.3.  Is there a way to search for them?
    Thanks!

    When you make a playlist it makes a "shortcut" of the file, not a copy of it and the size is so tiny it takes about 10,000 to make 1 mb. It doesn't make a duplicate. It just makes the song appear in a playlist too. Make sure you have the latest iTunes, make sure genius is on, and click Store, update genius. then sync iPod. If you still have a problem, please write wore info about the computer you have. Find all of this (on a PC) click start, run, type winver, then hit enter. (For Mac) Click apple icon (top-left), abou this mac.

  • How to search for documents that do not contain a word in a section?

    For example: (deleted% within folder) finds all documents that have deleted in the folder
    I want to find all documents that do not contain "deleted%" within folder.

    If you have other criteria, then you can use "other criteria NOT deleted% within folder". However, if there is no other criteria, then you cannot just begin with NOT, so you have to use "% NOT deleted% within folder", but on a large data set that will result in an error about the wildcard expanding to too many terms.
    SCOTT@orcl_11g> create table test_tab
      2    (id     number,
      3       folder     varchar2(30),
      4       col2     varchar2(15),
      5       dummy     varchar2(1))
      6  /
    Table created.
    SCOTT@orcl_11g> insert all
      2  into test_tab values (1, 'something deleted', 'something', null)
      3  into test_tab values (2, 'whatever', 'deleted', null)
      4  into test_tab values (3, 'something', 'whatever', null)
      5  select * from dual
      6  /
    3 rows created.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference ('test_datastore', 'multi_column_datastore');
      3    ctx_ddl.set_attribute ('test_datastore', 'columns', 'folder, col2');
      4    ctx_ddl.create_section_group ('test_group', 'basic_section_group');
      5    ctx_ddl.add_field_section ('test_group', 'folder', 'folder', true);
      6    ctx_ddl.add_field_section ('test_group', 'col2', 'col2', true);
      7  end;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> create index test_idx
      2  on test_tab (dummy)
      3  indextype is ctxsys.context
      4  parameters
      5    ('datastore     test_datastore
      6        section group     test_group')
      7  /
    Index created.
    SCOTT@orcl_11g> select * from test_tab
      2  where  contains (dummy, 'something NOT deleted% within folder') > 0
      3  /
            ID FOLDER                         COL2            D
             3 something                      whatever
    SCOTT@orcl_11g> select * from test_tab
      2  where  contains (dummy, '% NOT deleted% within folder') > 0
      3  /
            ID FOLDER                         COL2            D
             2 whatever                       deleted
             3 something                      whatever
    SCOTT@orcl_11g>

  • How do I use the location bar to search for phrases that do not contain spaces?

    When I type phrases that contain spaces into the search bar, it brings up a google search as specified by my about:config under keyword.URL
    However, when I type anything that *does not* contain a space (e.g. potatoes), firefox tries to connect to http://potatoes/, returning a "cannot establish connection to server at potatoes"
    my keyword.URL is set to: http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=
    browser.fixup.alternate.enabled is *false*
    browser.urlbar.autocomplete.enabled is *true* (though I don't think this has anything to do with it)

    hello jywang74, please update to firefox version 33.0.2 - there you'll see a different behaviour (keyword.url is no longer used btw, the address bar uses the same search provider as set in the searchbar).
    http://msujaws.wordpress.com/2014/08/01/faster-and-snappier-searches-now-in-firefox-aurora/

  • How do I exclude directories from Finder search results? I'm trying to find the biggest FILES on my computer and it keeps showing me "Macintosh HD" as the biggest, how can I search for files of type "NOT folder/directory"?

    Basically I've lost 10GB of free space over the last few weeks so my plan was to search for files modified in the last 2 weeks in order to figure out which ones are big and where that space went.
    So I open finder, go to "File > Find", and enter a search:
    Modified > In the last 2 weeks
    All fine so far.
    Problem is, it's showing whole directories as results. Which essentially means that when I order the list by size, Macintosh HD is at the top, followed by "Users", then "Applications", then one of my bigger movie files, then "Library", etc.
    How can I do a search which will ignore folders? I want individual files. Knowing that Macintosh HD is the biggest item on my computer and was modified in the last 2 weeks is utterly useless to me.
    Older versions of Finder in OS 9 had a feature where you could search for "files, whose type "IS NOT" folder", but OS X doesn't seem to have such a feature.
    Can anyone help?

    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is likely the easiest/best, and is now free...
    http://www.omnigroup.com/applications/omnidisksweeper/download/

  • Charge for data that will not be used

    I wanted to upgrade my phone to an env3 and was told that I would need to pay an extra $20 for data access.  I informed the rep that I had no interest in data and have it blocked on my phone.  He told me that didn't matter I still had to pay the extra $20 if I wanted the env3. 
    I think when my contract is up I will either find something different to quit using a cell phone.

    The enV3 does not require a $20 data plan.  At one point, it was classified as a "3G Multimedia" device, and required a $10 data plan.  People have reported on these boards that they have been able to activate 3G MM phones without a data plan by requesting a data plan when they activate it.
    I suspect that the rep didn't understand what phone you were talking about, since the enV3 is no longer sold by Verizon.  Just get your enV3 and then dial *228 to activate it.  If it tries to add a data plan, you'll be connected with a rep automatically and you can explain that you don't want data and request the block.

  • Reporting on data that is not there

    Hi,
    I have an infoprovider and a Query. I have created a variable to filter data from the query. Is there a way to report that some data is not there??
    If I enter value "123" in the CODE variable, and there is no record according to this, the system will say "no data found". Is there any way to get the system to say "True"/"False" wether this found some records or not?
    EJ.
    CODE/DATE
    123/200701
    124/200701
    125/200701
    If I enter "124" in the CODE variable, the system will say "True".
    If I enter "987" in the CODE variable, the system will say "False".
    Is this possible??
    thanks for the help.
    Mauricio.

    Dear Mauricio,
    The usual way to report on "non existing data" is to set up a MultiCube which combines your InfoCube and the InfoObject for which you miss records in the InfoCube.
    A query based on such a MultiCube will give you empty key figure values for all records for which InfoObject values do not correspond with an InfoCube records.
    As far as I know there is no way to adapt the variable screen logic, which would allow to see "True" or "False" there.
    Geetings,
    Stefan

  • How to select data that is not there

    Table : Details
    Columns : 2
    prj1 | empA | R
    prj1 | empB | D
    prj2 | empC | R
    prj2 | empD | D
    prj3 | empE | R
    prj4 | empF | R
    prj4 | empG | D
    Table:Project
    Columns : 4
    prj1 | title1 | start1 | end1
    prj2 | title2 | start2 | end2
    prj3 | title3 | start3 | end3
    prj4 | title4 | start4 | end4
    SQL
    SELECT prj.column1, prj.column2, prj.column3, dtl.column2, dtl2.column2
    FROM project prj, details dtl, details dtl2
    WHERE (prj.column1 = dtl.column1AND dtl.column3='R')
    AND (prj.column1=dtl2.column1 and dtl2.column3='I')
    I am using TOAD for oracle to insert from the source to the staging table and then to the fact table in the data warehouse.
    A project has 1 requester and 1 developer.
    Some projects have requester but have yet a developer assigned to it.
    The sql that I use cannot recognize the missing row.
    The code cannot work because project 3 will be ignored. Anyone's help is very much appreciated.
    Chris.
    Message was edited by:
    user462899

    SELECT prj.column1, prj.column2, prj.column3,
    (SELECT column2 FROM details
    WHERE column1 = prj.column1
    AND column2 = 'R') AS "R_Value",
    (SELECT column2 FROM details
    WHERE column1 = prj.column1
    AND column2 = 'D') AS "D_Value"
    FROM project prj
    Anna

  • Before removing iPhoto (latest update crashed the app), I accidently removed it from my purchased Apps from the App Store. I accept iPhoto when I search for it, but does not put it back in my list. How do I get this back so that I can reinstall iPhoto?

    Before removing iPhoto (latest update crashed the app), I accidently removed it from my purchased Apps from the App Store. I accept iPhoto when I search for it, but does not put it back in my list. How do I get this back so that I can reinstall iPhoto?
    Thank you.

    I found the answer just after posted this.  Thanks to a user named CloudWalker.  Solution is to go in AppStore, View Account under "Store" Menu and unhide any purchases.

  • How can I get Firefox to search my computer for plugins that are already there?

    How can I get Firefox to search my computer for plugins that are already there?
    Adobe's Flash player is already on my computer from IE 8. How can I get Firefox to see that it is already on my PC and use it so I don't have to download it again and possibly create other problems. Also, in my efforts to download Flash, Firefox activated IE which made me concerned that proceeding WOULD cause problems our just leave me where I am now where IE can use Flask but Firefox cannot.

    Internet Explorer uses a ActiveX version of the Flash player plugin as it does not work with other browsers.
    Download the Plugin-based browsers version from https://www.adobe.com/products/flashplayer/distribution3.html and make sure Firefox is closed when you install it.

  • How to search for data in active directory

    if i have an administrator priviledge, how can i search for user's data if i know his username from active directory.

    What form do you have the user's name in ?
    ANTIPODES\alberteString searchFilter = "(&(objectClass=user)(samAccountName=alberte))";[email protected] searchFilter = "(&(objectClass=user)(userPrincipalName=[email protected]))";Albert EinsteinString searchFilter = (&(objectClass=user)(givenName=Albert)(sn=Einstein))";or using Ambiguous Name Resolution (anr)String searchFilter = "(&(objectClass=user)(anr=Albert Einstein))";or it's even clever enough to useString searchFilter = "(&(objectClass=user)(anr=Einstein Albert))";

  • How to search for apps that will run on os 4.2

    How do ytou search for apps and things that will run on the older OS 4.2.1??????????

    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Apple Club - filter apps by iOS version.
    Starting when iOS 7 was released, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.

  • How are people searching for music now that the power search link is gone?

    How are people searching for music now that the power search link is gone?

    That info in my above post doesn't bring back Power Search
    I think this Discussion holds the answer https://discussions.apple.com/message/20451945#20451945
    Found it under iTunes U!  Don't know why the moved it from the main page but you will find it here.

  • How to search for packages that Names including "'" [solved]

    Hi everyone
    first ,forgive my english lvevel
    and I want to know
    How to search for packages that Names including "'"
    for instance
    $ pacman -Ss America's Army
    it returned
    >
    Please help me ,many thanks!
    Last edited by icywalk (2010-04-05 13:09:26)

    fyi America's Army in the AUR as armyops if you're looking for it.

Maybe you are looking for

  • Pdf urls not loading in Android on 32 viewer

    Hi, PDFs in HTML Resources link and download fine into Reader on Droid from the new 32 viewer, but links to pdfs online only produce a blank screen. It does not prompt you to download/view it anywhere. The same pdf url works fine when viewed on the n

  • Illustrator hangs when saving .ai files with linked or embedded images

    Hi, Currently I have a huge problem with Adobe Illustrator. When I place an image file inside an Illustrator document, the program freezes for about 45 seconds when saving. In the beginning I though it was just because my image file was too big, but

  • Java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    hi am having this error when running my application am in jdeveloper 11.1.1.6.0 java.lang.StringIndexOutOfBoundsException: String index out of range: -1      at java.lang.String.substring(String.java:1931)      at car.deDeedandeSurvey.view.frameworkE

  • Suggest me a good project for m.tech ,give details

    hi ,i am studying m.tech(postgraduation) ,i want do my project using Labview ,plz suggest some me good projects and send details

  • Searching on Win Servers

    it looks like it was a mistake to uprade to Lion. Since this time i can't search on external Win servers. (OK its now nearby a Year i do this. But i am here to do my job and not to serve in the web for fixing software bugs. -isnt it a job for the del