Problem with non-matching records

I have 3 tables - TBL1 is a list of Conditions; TBL2 contains collected data; and TBL3 contains referenced details on the data in TBL2.
TBL2 contains some matching values from TBL1.
Ex.
TBL1
Condition
01 Test A
02 Test B
03 Test C
TBL2
Name, Condition, Value
Host101, 01 Test A, Yes
Host101, 02 Test B, No
Host101, 03 Test C, Yes
Host102, 01 Test A, No
Host102, 03 Test C, Yes
I have them linked TBL1 Left Outer to TBL2 and TBL2 Left Outer to TBL3.
My desire is to get the complete list of Conditions in TBL1 for each record in TBL2, even where there is no matching TBL1 value in TBL2 - so the report results of the above table data would be:
Host101
01 Test A     Yes
02 Test B      No
03 Test C      Yes
Host102
01 Test A     No
02 Test B
03 Test C      Yes
So even though there is no data returned in TBL2 for Host102, 02 Test B, the record for that entry in TBL1 is still returned in the report.
Currently I have the report structured as follows -
{TBL2 Name}
TBL1 Condition     TBL2 Value
Seems quite simple, but I must be missing something somewhere, as I am only able to get the data where the records match, so, in the example above, I am getting only -
Host102
01 Test A     No
03 Test C      Yes
Any assistance would be much appreciated.  Thanks!
Also, I tried doing a simple new report using just TBL1 & TBL2 and still get the same results (also tried a Full Outer join as well).
Frustrating .......
Edited by: Dragon77 on May 17, 2010 2:05 PM

As I said, I have even tried removing TBL3 to make things even simpler - TBL1 & TBL2 Left Outer joined on the common field.
I have tried every combination that I can think of.  We're talking on 4 fields in the report -
Group Header 1 = {TBL2 Name}
Group 2 = {TBL2 Unique Field}
Detail = TBL1 Condition     TBL2 Value
Group Header 1 = {TBL2 Name}
Group 2 = {TBL2 Unique Field}
Group 3 = {TBL1 Condition}     {TBL2 Value}
Detail Suppressed
No matter what I try, I only get matching records.
I've gone so far as to just have the minimal 3 fields
Group Header 1 = {TBL2 Name}
Group 2 = {TBL2 Unique Field}
Detail = TBL1 Condition
Group Header 1 = {TBL2 Name}
Group 2 = {TBL2 Unique Field}
Group 3 = {TBL1 Condition}
Detail Suppressed
The tables only have the 1 field in comon {TBL1, TBL2 - Condition)
This just doesn't make sense.  {TBL1 Condition} should have ALL of its entries returned along with any matching records from {TBL2 Condition} - not just where they are equal.

Similar Messages

  • Problems with non-ascii keywords

    I have some problems with non-ascii keywords that makes the whole keyword feature useless for me. I don't know if I'm doing something wrong or if there something I'm missing completely.
    The problem is that when I enter something like "grön" iPhoto sometimes refuses me to type in "grön" on another photo and "eats" the "ö". And if I select the matching keyword from the popup list iPhoto has changed the originally "grön" to "gr¨ön" (if that comes out right on the web). Here are a few screenshots to show what happens
    If someone knows what happens I would really appriciate some hints on how to avoid this.
    Note that adding/editing keywords works just fine in Aperture.

    There is a long standing issue with iPhoto and non-ascii characters. I know of no solution.
    iPhoto menu -> Provide iPhoto Feedback and report it as a bug.
    Regards
    TD

  • [SOLVED!] On USB drives, problems with non-English chars and HAL

    Hello,
    I am having a problem with non-English caracters (áãàçéẽê...) on files stored on my USB drive.
    On Windows they're created with the correct name. But on Linux the files have the non-English characteres replaced by '?' and are not accessible.
    If I manuallly mount the drives using 'mount -o iocharset=utf8 /dev/sdb1 /media/usbdisk' the characters are OK, so I think I just need to get HAL to pass the correct parameters to mount. However I don't know how to do that, and haven't found any good solution.
    I tried to build a custom kernel setting the default charset as UTF-8 and it didn't work.
    Any ideas? I'm using x86-64, HAL 0.5.13-3 and my locale is pt-BR.UTF-8.
    Thanks!
    EDIT: Actually, this is not a HAL problem, but a problem with 'exo'. For the solution, I edited /etc/xdg/xfce4/mount.rc and added iocharset=utf8 to the [vfat] category.
    Last edited by Renan Birck (2009-11-28 20:54:23)

    I don't use Thunar presently, but I looked in the Thunar Volume Manager doc and I didn't find anything to change the mount options of removable drives. I am not quite sure if it's possible or not. Maybe someone using it can tell for sure.
    But if it is not possible to change the mount options, a possible solution is to disable the Thunar Volume Manager plugin and to use something else more configurable to manage the automount function.
    Personally I use the halevt package from AUR which uses configuration files in the xml format.
    It's not so easy to use but is highly configurable.
    But there exists other tools also.
    I can help you with halevt if you choose that way...

  • Problems with non-ASCII characters on Linux Unit Test Import

    I found a problem with non-ASCII characters in the Unit Test Import for Linux.  This problem does not appear in the Unit Test Import for Windows.
    I have attached a Unit Test export called PROC1.XML  It tests a procedure that is included in another attachment called PROC1.txt. The unit test includes 2 implementations.  Both implementations pass non-ASCII characters to the procedure and return them unchanged.
    In Linux, the unit test import will change the non-ASCII characters in the XML file to xFFFD. If I copy/paste the the non-ASCII characters into the Unit Test after the import, they will be stored and executed correctly.
    Amazon Ubuntu 3.13.0-45-generic / lubuntu-core
    Oracle 11g Express Edition - AL32UTF8
    SQL*Developer 4.0.3.16 Build MAIN-16.84
    Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
    In Windows, the unit test will import the non-ASCII characters unchanged from the XML file.
    Windows 7 Home Premium, Service Pack 1
    Oracle 11g Express Edition - AL32UTF8
    SQL*Developer 4.0.3.16 Build MAIN-16.84
    Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
    If SQL*Developer is coded the same between Windows and Linux, The JVM must be causing the problem.

    Set the System property "mail.mime.decodeparameters" to "true" to enable the RFC 2231 support.
    See the javadocs for the javax.mail.internet package for the list of properties.
    Yes, the FAQ entry should contain those details as well.

  • Problem with non iPhone users receiving my text sent pictures. Can I make them smaller files?

    Problem with non iPhone users receiving my text sent pictures.  Can I make them smaller files? I know that is possible for email sent pics.

    My bad,  It was a Verizon problem.  When they upgraded my phone they were supposed to remove all blocks on messaging . Found out they did not do this.  All messaging now works.  Thanks for listening.

  • Download Problems with iTunes Match

    I'm having problems with iTunes Match, upload the songs are done and had great difficulty with the freezing of steps.
    I'm not able to make the songs appear in iTunes: http://pqp.me/7qr
    and when I get the songs come I can not download:http://pqp.me/7qq
    Can you help me?

    Vinny Bastos wrote:
    I'm not able to make the songs appear in iTunes: http://pqp.me/7qr
    I don't know what you mean by this. Do you mean you can't figure out how to get off that screen? Click the "done" button.
    This is just to say that I managed to sync with iTunes Match, in my other notebook I can not do the songs appear.
    Vinny Bastos wrote:
    and when I get the songs come I can not download:http://pqp.me/7qq
    You're connection the iTunes Match servers is offline. That's why the songs are greyed out and the cloud icon has the horozontal lines in it. Quit iTunes, wait a few seconds, re-launch the application and wait until the tracks are no longer greyed out and you will be able to download them.
    That part you answered, thanks.
    How often iTunes Match is off? Sometimes?

  • Problem with iTunes Match and the song "This will be (an everlasting love)" from Natalie Cole

    Hello,
    I'd like to report a problem with iTunes Match and Natalie Cole's song "This will be (an everlasting love)".
    When I stream it or download it on another device I don't get Natalie Cole's song but another one from Maxine Nightingale (Right back where we started from).
    Please tell me if you have the same problem or how I can report this problem to apple.
    Thank you.

    Hi,
    This is a user to user forum - not Apple. Contact them http://www.apple.com/support/itunes/contact/
    Alternatively if the song was purchased from iTunes, you may be able to report the problem by signing into you iTunes account on your computer. Report an problem with an item you bought from the iTunes Store, App Store, Mac App Store, or iBooks Store
    JIm

  • Problem with  Creating Info Record

    Hello Gurus,
    I've problem with Creating Info Record
    i tried to create info record for Plant Specific/Purchase Org
    The first Screen General Data is OK
    i entered all the data in the next screen ie
    Purchase Organization Data screen but i'm getting error
    <b>Make an entry in all required fields</b>
    but there is Mandatory Textbox ie "VALID TO" which im unable to select Bcos its Disabled
    pls help me regarding this
    thanks in advance

    Hi
    Have u given the net price. <b>VALID TO</b> is the date until which the price shown in the info record is valid.
    If there is no price that is valid on the current date, the last-valid price is displayed and the date field contains the day before the start of the next validity period (this may be 12.31.9999 if there is no further validity date). If all validit periods lie beyond the current date, the price of the next period is displayed. The date field then contains the end date of this period.
    These validity periods we will maintain Purchse data CONDITIONS while creating info record. Check the validity period for the conditions.
    Hope this will helps u
    Ravi
    Ravikumar Bolla

  • Listing foreign keys with non matching column definitions

    Dear All,
    I seen an entry in DBA weeky activities s that "Listing foreign keys with non matching column definitions" . What is meant by that?. How to pick up that?
    Shiju

    I seen an entry in DBA weeky activities s that
    "Listing foreign keys with non matching column
    definitions" . What is meant by that?. How to pick up
    that?Most probably find columns which are part of foreign keys, but their respective primary key column have different length (AFAIK data type cannot be different).
    Data dictionary can help you in that, I'll give you hints where to look at:
    user/all/dba_constraints - foreign and primary keys
    user/all/dba_cons_columns - columns which are part of constraints
    user/all/dba_tab_columns - column definitions of tables
    However creating query from these data dictionary views could be a nice task for you :)
    Gints Plivna
    http://www.gplivna.eu

  • Problems with iTunes match

    I'm having problems with my iTunes account in my Macbook. None of the music I have in the cloud is accessable to me. A few days ago I tried to update music on my iPod and instead of adding music it erased almost everything on it. After that much of my music collection was grey. I tried all sorts of things, such a reinstalling iTunes and nothing helped. I asked today in the Apple store and an employee there suggested I de-authorize and then re-authorize the computer. The sum result now being that none of my music in the cloud is visible. Strangely enough, I can still see and play the music from my iPad and iPhone. Any suggestions?
    Thanks,
    Karl

    I had a similar problem in the first 2 days after IOS 7 was released. iTunes Match would not update, and previously matched tunes showed "waiting". After many attempts to resolve the problem... Re authorizing my computer, numerous forced updates iTunes Match... the problem has resolved itself. As of Sept. 22, all functions have returned to normal. Playlists and artwork for 110G working, and access able from all my devices.

  • Problem with non-container managed entity manager

    i am working on a project, in which i am using entity beans.i use netbeans, glassfish as application server and toplink as persistence provider .
    i created a java class that handles all the operations with the entitys, which means i using non-container managed entity manager.
    in the constructor
    try{
                EntityManagerFactory emf = Persistence.createEntityManagerFactory("voidPU");
                entityManager = emf.createEntityManager();
            catch(Exception ex){
                throw new EJBException(ex.getMessage());
            }then i call a function in this class from a servlet
    the code of the function
    List users = null;
            try {
                ProgLanguages progLanguage = entityManager.find(ProgLanguages.class, languageId);
                users = (List) progLanguage.getUserIdCollection();
            catch(IllegalStateException illegalStateException){
                throw new EJBException(illegalStateException.getMessage());
            catch(IllegalArgumentException illegalArgumentException) {
                throw new EJBException(illegalArgumentException.getMessage());
            }i got an IllegalArgumentException saying Unknown entity bean class: class vanguard.server.entity.ProgLanguages, please verify that this class has been marked with the @Entity annotation
    what confuses me is that sometimes it works and most of the time it does not work, have i made anything wrong?, or there is a problem with any of the tools netbeans, glassfish, or toplink?

    Is it always the same entity that is reported as 'unknown' ? You mention that it works sometimes but is it the same deployment and the same code that works? The first thing I would verify is that the ear is being created as expected by netbeans. Check the persistence.xml file and verify that all of the classes are listed that will be used as entities.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem with Non-English Fields Output to PDF by JASPER in JDev10.1.3

    I am using jsprx files(designed in i-report) to generate pdf reports out of an oracle database.
    The non-English fields are shown correctly when I output the report into an HTML or when I view it with JasperView.
    If I try making PDF files (JasperExportManager.exportReportToPdfFile) the static fields containing e.g.Arabic/Chineese characters won't be displayed and dynamic fields from the database with non-English contents will be shown as ??? or null.
    I received some suggestions about using PARAMETERS to feed the report instead of FIELDS, which I think can not be helpful in this case and in general.
    I think this should be a common problem. These are the components I am using:
    itext-1.4.7. jar
    commons-digester- 1.7.zip
    jasperreports- 1.2.8.jar
    Any comment or help is appreciated.
    Thanks
    Farbod

    I am using jsprx files(designed in i-report) to generate pdf reports out of an oracle database.
    The non-English fields are shown correctly when I output the report into an HTML or when I view it with JasperView.
    If I try making PDF files (JasperExportManager.exportReportToPdfFile) the static fields containing e.g.Arabic/Chineese characters won't be displayed and dynamic fields from the database with non-English contents will be shown as ??? or null.
    I received some suggestions about using PARAMETERS to feed the report instead of FIELDS, which I think can not be helpful in this case and in general.
    I think this should be a common problem. These are the components I am using:
    itext-1.4.7. jar
    commons-digester- 1.7.zip
    jasperreports- 1.2.8.jar
    Any comment or help is appreciated.
    Thanks
    Farbod

  • I have a problem with iTunes Match...

    ...and not like an 'oh man, this bolt's too big for this hole' problem, more of a 'hey man, if you don't stop doing that then you and me gona have a problem' problem.
    For starters, I found that enabling the iTunes Match service means that I can't manually synch any files or playlists to my device.  So when I travel to an area without wifi or phone signal, which happens more than Apple obviously thinks, I can't listen to any of my music. Whose bright idea was that??!
    Secondly, when I do enable iTunes Match, I often find that changes I make on my computer (shuffling the order of songs on playlists, adding new files to my library etc.) don't always correlate with the Match service, for instance I made a playlist on my computer but it doesn't appear on my phone, or I set a playlist on iTunes to order itself by the date the files were added, but on my phone they appear in whatever order they **** well please.  It unfortunately doesn't 'just work'.
    And thirdly, although this isn't really connected to the Match service but rather just a chance for me to vent as I'm already doing it, when I heard they were bringing 'wifi synching' to iOS I was really excited. Then I found out it would only synch while your iDevices were plugged in and charging.  THEN I found out that every time I plugged my phone in it would automatically try to synch, waking up my laptop if it wasn't already awake. So every night I would plug my phone in by my bed, turn over to go to sleep, then have to get up 20 seconds later to re-sleep my machine; this could happen at random points during the night.
    I'm not expecting Apple to change their products over the dissatisfaction of one disgruntled user, I'm just wondering if anyone else is experiencing the same problems and has found any ways around them.  Also I must say as annoying as certain aspects of iTunes Match are, it's still a fantastic service (in theory...).

    peanutismint wrote:
    I hope they manage to fix the playlists issue, hopefully by the next couple of updates.  I figured the syncing/waking thing would be what it was meant to do.  I wonder if there's a command line or something I can tweak in settings to stop my Mac waking on LAN/Bluetooth etc....
    In System Prefs > Energy Saver > Power Adapter unselect the option for "wake for network access." Although this may have the effect of preventing wireless syncing. I'm not sure.
    peanutismint wrote:
    The downloading of songs is pretty much useless as a feature in my situation, as by the time you're out of signal and can't stream music, neither can you download it (and if I were expected to download it first in case of signal loss then doesn't that negate the need for a streaming music service anyway?!)
    iTunes Match doesn't stream to iOS devices, all songs are downloaded. If you have not done so, you can enable "use cellular data" to download music by going to Settings > Store and setting the option to ON. To answer your question, though, yes, pre-downloading of tracks is the "best practice" for using an iDevice with iTunes Match enabled.

  • How do I deal with "non match"pictures?

    I have a folder that is supposed to keep pictures of my wife only. However these pictures have been joined by others that bear tags for other folders.
    In the left top corner of these "trespassing" pictures there is a circle with a line through it titled "non match"
    How can I stop this happening please?
    Cliff

    Cliffie,
    Make sure that youve deselected Options > Show results that do not match in the Find bar (the third line from the top of the Organizer screen). If that doesnt work, then read this thread:
    John Rolfe Ellis, "Exact match" #1, 30 Apr 2008 11:55 pm

  • Problem with updating a record method in a database

    I've searched for the forums for info on this to no avail.
    I am connecting to Access database, using the sun.jdbc.odbc.JdbcOdbcDriver.
    I'm trying to be able to update 2 fields in a record (cost & quantity).
    I have an addrecord method, an update method.
    I can use the addrecord and it works great.
    But (yep, there's always a but!), when I try to update only the 1 or 2 fields on a record, I get a message that says "syntax error in UPDATE statement"
    I've written, deleted and re-written code & I'm going nuts.
    Here are my database methods and the actionPerformed where it calls those methods. Is the error message regarding my UPDATE (sql) syntax?
    Why does it work for adding, but not updating?? It seems my 1st if statement under my "update button" is never gone to... so maybe it's just a problem with my "if" statement.
    Please help me before I go crazy! Thanks!
    //flags
    //snippet of code
    private void enableButtons(boolean flag1)
        boolean flag2 = false;
        if (flag1 == false)
           flag2 = true;
        jbtUpdate.setEnabled(flag2); // was flag1 wouldn't work.
        jbtDelete.setEnabled(flag1);
        jbtAdd.setEnabled(flag1);
        jbtFirst.setEnabled(flag1);
        jbtNext.setEnabled(flag1);
        jbtPrev.setEnabled(flag1);
        jbtLast.setEnabled(flag1);
    //...actionperformed(ActionEvent e)
    else if (e.getSource() == jbtAdd)
        jtfItem.requestFocus();
        enableButtons(false);
        jtfItem.setText("");
        jtfDescription.setText("");
        jtfQuantity.setText("");
        jtfCost.setText("");
        addFlag = true;
      else if (e.getSource() == jbtUpdate)
        double quantity1 = parseInt(jtfQuantity.getText());
        double cost1  = parseCurrency(jtfCost.getText());
        Item itemUpdate = new Item(jtfItem.getText(), jtfDescription.getText(),
        cost1, (int)quantity1);
        System.out.println("update button was clicked");
        //first "if"
        if ((jbtUpdate.isEnabled()) && (addFlag == false))
          InventoryDB.updateField(itemUpdate);
          currentItem = itemUpdate;
          System.out.println("it's going to first if stmt");
        //2nd "if"
        if (addFlag == true)
          InventoryDB.addRecord(itemUpdate);
          currentItem = InventoryDB.moveFirst();
          addFlag = false;
          System.out.println("it's going to 2nd if stmt");
        currentItem = itemUpdate;
        performItemDisplay();
        enableButtons(true);
        System.out.println("it's going to last of update code");
    //method snippets  for database manipulation
    public static void addRecord(Item item) throws SQLException
        String query = "INSERT INTO Items (ItemNumber, ItemDescription, UnitCost, Quantity)  " +
            "VALUES ('" + item.getItem() + "', " +
               "'" +        item.getDescr() + "', " +
            "'" +         item.getCost() + "', " +
               "'" +     item.getQuantity() + "')";
        Statement statement = connection.createStatement();
        statement.executeUpdate(query);
        statement.close();
        close();
        open();
      public static void updateField(Item item) throws SQLException
        String query = "Update Items SET " +// Items (ItemNumber, ItemDescription, UnitCost, Quantity) " +
          "VALUES ('" + item.getCost() + "', " +
          "'" +     item.getQuantity() + "', " ;
    //      "WHERE ItemNumber  = " ItemNumber "'"
    //       "WHERE ItemDescription = " ItemDescription "', ";
          Statement statement = connection.createStatement();
          statement.executeUpdate(query);
          statement.close();
          close();
          open();
       public static void updateRecord(Item item) throws SQLException
        String query = "UPDATE Items SET " +
            "ItemNumber  = '" +      item.getItem() + "', " +
            "ItemDescription = '" + item.getDescr() + "', " +
               "UnitCost =  '" +        item.getCost() + "', " +
            "Quantity = '" +     item.getQuantity() + "', " +
            "WHERE ItemNumber = '" + item.getItem() +  "'";
        Statement statement = connection.createStatement();
        statement.executeUpdate(query);
        statement.close();
        close();
        open();
      public static void deleteRecord(String ItemNumber) throws SQLException
        String query = "DELETE FROM Items " +
            "WHERE ItemNumber = '" + ItemNumber + "'";
        Statement statement = connection.createStatement();
        statement.executeUpdate(query);
        statement.close();
        close();
        open();

    not familiar with this syntax,
    public static void updateField(Item item) throws
    s SQLException
    String query = "Update Items SET " +// Items
    ems (ItemNumber, ItemDescription, UnitCost, Quantity)
    " +
    "VALUES ('" + item.getCost() + "', " +
    "'" + item.getQuantity() + "', " ;
    // "WHERE ItemNumber = " ItemNumber "'"
    // "WHERE ItemDescription = " ItemDescription
    public static void updateRecord(Item item) throws
    ws SQLException
    String query = "UPDATE Items SET " +
    "ItemNumber = '" + item.getItem() + "', " +
    "ItemDescription = '" + item.getDescr() + "', " +
    "UnitCost = '" + item.getCost() +
    etCost() + "', " +
    "Quantity = '" + item.getQuantity() + "', " +one ',' too many
    "WHERE ItemNumber = '" + item.getItem() + "'";

Maybe you are looking for

  • Zen Micro with PC connection Problems and no firmw

    I'm running on Windows XP Service Pack 2 and I have Windows Media Player 0. ...and my Zen Micro wouldn't be detected, so I formatted it completely and I tried reloading the firmware. My old Zen Micro with v firmware still connects perfectly well, but

  • Picking Qty field is disabled

    Hi, i am trying to create a outbound delivery vl02n but picked qty field is disabled. can any on pl help me? Basically i am trying to do a STO with delivery. betw..plant to plant in same company code. How to activate that field. In LT03 also system i

  • Row-Level Security

    Hi. Currently we are running oracle 8.0.5 (client/server mode). We will very soon swith to 9iAS 3-tier web interface with oracle8i database, but before that we would like to know if row-level security or VPD is also supported by oracle8i database. Pe

  • What type of Voice Capabilities does 9iAS provides ??

    IBM recently added Voice capabilities to their application server. I am looking at an application where I need to integrate voice over web. Does any body has any clues so as to how this can be done with the 9iAS. Thanks. KI

  • What kind of connector is required for the fire wire on iMac early 2009 ?

    Need to connect my external hard drive for downloading using the fire wire input. The old fire wire cable will not match with the compuyer input