Crystal XI, exporting null date fields to EXCEL without the 01/00/1900

Posted on 2014-02-13
Last Modified: 2014-04-02
I am trying to export from Crystal Xi a date field, based on a grouping, and the most current sequence of dates on my data, In order to get the most current date I have found setting up the field as a date and do a summary on Maximum to the group and just exporting the date field is giving me the right information, BUT...  when I export to Excel if the field is blank the result in Excel is 01/00/1900.  If I change the date to a text field with the else "" I do not have this problem, BUT the most current date does not appear.   Please advise.


{EMSI_EMPLOYEE_SKILLS.USER_DATE_1} <> Date(0,0,0)) then
Question by:Grapelady
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 100

Expert Comment

ID: 39858075
Date(0,0,0) is 1 Jan 1900

Try it this way as strings

{EMSI_EMPLOYEE_SKILLS.USER_DATE_1} <> Date(0,0,0)) then

Open in new window


Author Comment

ID: 39893613
I have attached a document showing what I am trying to accomplish. The suggestion you gave above I am receiving an error, see attached document.

Accepted Solution

Grapelady earned 0 total points
ID: 39893655
I think I just found a solution, if you place a suppression on the field formula for the date and if the date value is 0 then it will suppress those records that do not have a date:  

Date field = Date(0,0,0) it will not export 01/00/1900 to Excel if the value is zero.

I don't know if anyone wants to confirm this or not, but it is working.

Author Comment

ID: 39968339
Please close the question.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question