Welcome to Forums Sign in | Join | Help | Forums
in Search


Why do certain Database Fields make a report blank if "empty" of data?

Last post 06-14-2011 12:03 PM by Naomi Harding. 16 replies.
Page 1 of 2 (17 items) 1 2 Next >
Sort Posts: Previous Next
  • 05-05-2008 12:09 PM

    Why do certain Database Fields make a report blank if "empty" of data?

    For example, I'd like to create a report that lists the "Next Steps" (Note type) in a single report that is sorted by Solicitor.  I can add Solicitor, Target and Region and the preview appears fine.  When I add the notes data field in the report and preview it the report is then blank.  Any ideas why??  I'm sure there is a simple solution. 

    Related question: Why can you add certain database fields that may or may not include data in a constituent's record and will still show up on the report (region, target, etc.), where as adding other database fields either wipe out the entire report (notes) or don't pull the constituent's record if the field is blank (solicitor)?

    Hope some of this makes sense!  Thanks in advance for any assitance you can offer.

    Nick

  • 05-05-2008 12:30 PM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 514
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    This is probably the most frequently asked question for people who are switching from version 8.5 to version XI.  You need to go into your database expert and change your joins from INNER JOINS to LEFT OUTER JOINS.

    The reason that some blank fields behave differently from others is due to the fact that the entire record is blank in one case and only a particular field is blank in the other.  The parent table will never contain a null value (in BB Report Writer Reports), so if the entire child record is blank (including the join field), they will never match.  When you are using INNER JOINS, it will exclude the record from the parent table, because it doesn't meet the join conditions; when you are using LEFT OUTER JOINS, you're telling it to always include the parent record, even if it doesn't meet the join conditions.

    I hope this makes sense.

    Drew 

    J. Drew Allen
    The Children's Hospital of Philadelphia
  • 05-05-2008 1:14 PM In reply to

    Re: Why do certain Database Fields make a report blank if "empty" of data?

     Drew,

    Thanks for your prompt post.  The concept makes sense.  Now, how do I change my joins from INNER JOINS to LEFT OUTER JOINS within the database expert?

    Thanks,

    Nick 

  • 07-16-2008 4:58 AM In reply to

    • Alan Kay
    • Top 75 Contributor
    • User Since: 1998
    • Posts 98
    • Organization: St. Ann's Hospice
    • Products:  Blackbaud NetCommunity, The Raiser's Edge

    Why do certain Database Fields make a report blank if "empty" of data?

    Just a quick qustion on this topic.  Can you change the joins in CR v8.5 in preparation for converting to v11 or, can you only make the changes after upgrading?

    Regards

    Alan

     

  • 07-16-2008 9:01 AM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 514
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    Re: Why do certain Database Fields make a report blank if "empty" of data?

     

    Alan Kay:
    Can you change the joins in CR v8.5 in preparation for converting to v11 or, can you only make the changes after upgrading?
    If your report is working in Crystal 8.5, there is no reason to convert it to Crystal XI.

    If you have some other reason to convert it to Crystal XI, you'll have to make the change after the conversion.

    Drew
     

    J. Drew Allen
    The Children's Hospital of Philadelphia
  • 07-16-2008 10:28 AM In reply to

    • Alan Kay
    • Top 75 Contributor
    • User Since: 1998
    • Posts 98
    • Organization: St. Ann's Hospice
    • Products:  Blackbaud NetCommunity, The Raiser's Edge

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    Thanks Drew

     

    I was thinking on the lines of 'future proofing' my v8.5 custom reports.

     

    Regards

    Alan

  • 07-16-2008 12:29 PM In reply to

    • Drew Allen
    • Top 10 Contributor
    • Posts 514
    • Organization: Children's Hospital of Philadelphia
    • Products:  The Information Edge, The Raiser's Edge

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    Unfortunately, the future of RE reporting is MS SQL Server Reporting Services, so updating your Crystal 8.5 reports to Crystal XI won't help you in future proofing your reports.

    Drew 

    J. Drew Allen
    The Children's Hospital of Philadelphia
  • 04-01-2010 1:42 PM In reply to

    • Jolanda Hains
    • Not Ranked
    • Posts 2
    • Organization: Cesar Ritz Colleges Switzerland

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    Thank you very much for this reply. It took my a long time to figure out what was happening, but now I understand and I was able to change the joins.

    Jolanda Hains

  • 04-20-2010 4:30 PM In reply to

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    Drew Allen:
    Unfortunately, the future of RE reporting is MS SQL Server Reporting Services, so updating your Crystal 8.5 reports to Crystal XI won't help you in future proofing your reports.

    Drew 

    Drew, does this apply only to the Crystal Reports module and custom reports within RE, or in the future will Crystal Reports as it's own application not work with RE?

    Thanks in advance!

  • 04-22-2010 12:28 PM In reply to

    • Tracie Cassidy
    • Top 10 Contributor
    • User Since: 2002
    • Posts 655
    • Organization: Children's Hospital Foundation
    • Products:  The Raiser's Edge

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    I'm not Drew, but thought I'd chime in. Once RE goes to the new platform (Infinity), they will not longer use or support Crystal Reports within the database. It's my understanding that all canned reports will be written with MS Reporting Services. You might be able to use Crystal outside of RE, but it may not be easy?

    Tracie J. Cassidy
    Database Coordinator
    Seattle Children's Hospital Foundation
    Seattle, WA
  • 10-11-2010 6:38 PM In reply to

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    You are brilliant - thank you!

    Stephanie

    Verde Valley Medical Center - Arizona

  • 10-22-2010 4:14 PM In reply to

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    Tracie Cassidy:
    I'm not Drew, but thought I'd chime in. Once RE goes to the new platform (Infinity), they will not longer use or support Crystal Reports within the database. It's my understanding that all canned reports will be written with MS Reporting Services. You might be able to use Crystal outside of RE, but it may not be easy?

    It is my understanding now that Crystal Reporting outside of RE will not be affected as Crystal pulls reports directly from SQL, and the RE will still be on a SQL platform.

  • 10-29-2010 3:26 PM In reply to

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    I do not believe that Custom Crystal Reporting pulls from SQL - it pulls from the export you link to it which creates an .mdb file somewhere on your network.  That is not to say that Crystal can not pull from SQL because it can, but any of those crystal reports would be created outside of RE - not under Reports - Custom Reports. It is those users who use the custom reports function in reports who would be affected in some way.

    Melissa S. Graves
    Annual Fund Development Services Manager
    Pathfinder International
  • 06-14-2011 11:27 AM In reply to

    • Margaret Whitaker
    • Top 75 Contributor
    • Posts 99
    • Organization: Novant Health
    • Products:  The Raiser's Edge, The Researcher's Edge

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    How do you change the joins? thx
    Margaret Whitaker
    Donor & Financial Services Coordinator
    Presbyterian Hospital Foundation
  • 06-14-2011 11:32 AM In reply to

    • Naomi Harding
    • Top 25 Contributor
    • User Since: 1999
    • Posts 213
    • Organization: Blackbaud, Inc
    • Products:  Admissions and Registrar's Office 6, Blackbaud Direct Marketing, Blackbaud NetCommunity, Blackbaud Student Information System, Online Campus Community, The Education Edge, The Information Edge, The Raiser's Edge

    Re: Why do certain Database Fields make a report blank if "empty" of data?

    Hi Margaret,

    Check out the following Knowledgebase solution for instructions on changing the joins: BB364154.

    Hope that you find that information helpful,

    Naomi

    Naomi Harding
    Principal Educational Consultant – Professional Services
    Raiser's Edge, Education Edge, Crystal
    Blackbaud, Inc.
Page 1 of 2 (17 items) 1 2 Next >