Blank or null date fields are displaying 1/1/1901

I have optional date fields that users may leave blank.  When they do, the result is that my report is printing 1/1/1901 (which I am guessing is a default setting somewhere in the options???)  Can anyone point me in the right direction so that if the field is null, the "text string" & doesn't print?
Here's the formula, maybe it's a fundamental problem with the way I've done the formula:
if totext({Command.SHIPDATE}) = ""
then ""
else "Needed by: " & {Command.SHIPDATE}
Any help is greatly appreciated.

Is SHIPDATE a date type or text field?  I an presuming a text field based on your example.  If the date is defaulting to 1/1/1901, I am guessing that is a function of your database server rather than Crystal Reports.  So I would alter your code to say:
if totext({Command.SHIPDATE}) = "1/1/1901"
then ""
else "Needed by: " & {Command.SHIPDATE}
Fuskie
Who notes you could also put the text and data object directly in the report and use a suppression formula instead of a report object formula...

Similar Messages

  • Office 2010 Don't print blank lines when data fields are empty

    How do you do this in office 2010?  Where do we go now?
    This used to be under the Tools menu in previous versions:
    On the Tools menu, click Mail Merge.
    In the Mail Merge Helper dialog box, click Merge.
    NOTE: You must select the main document and data source for the merge before doing step 2.
    In the Merge dialog box, under When Merging Records, click either:
    Don't print blank lines when data fields are empty.
    -or-
    Print blank lines when data fields are empty.
    Click Close in the Merge dialog box, and then click
    Close in the Mail Merge Helper.
    NOTE: If you made no changes in the Merge dialog box, the
    Close button is not available. Click Cancel instead.
    Back to the top

    Hi,
    In Word 2007 or Word 2010, you can add
    Mail Merge Helper to the Quick Access bar, and perform the steps then.
    To add the
    Mail Merge Helper command in the Quick Access Toolbar in Word 2007, follow these steps:
    a.                 
    In Word 2007, click the
    Microsoft Office Button, and then click Word Options >
    Customize.
    In Word 2010, click File > Options > Customize Ribbon.
    b.                 
    Click
    All Commands in the Choose commands from, and then click
    Mail Merger Helper in the Choose commands from list.
    c.                  
    Click
    Add, and then OK.
    Best Regards,
    Sally Tang

  • Date fields are showing as  /  /   in DSO for blank dates or no dates

    We are loading flat file data to DSO and the date fields are showing as  /  /   in DSO for blank dates or no dates in the flat file source system.  We don't want to see this / /  and instead of this, we would want to this field in DSO to be in blank. Please help how to achieve this. Is there any way to do this transformation. If yes, then can you please provide  the sample coding.
    Advance Thanks,
    Christy

    I have added the code and data loading is successful. while DSO activation, it is failing. The error message is,
    Value '#' of characteristic 0DATE is not a number with 000008 spaces.
    It seems that we need to change the code. Can you provide me the corrected code please. Thanks.
    Christy

  • No data fields are available in the OLAP cube

    i was able to access data in Excel yesterday, but now all the cubes that i have created cannot be accessed by Excel any more and after authenticating and selecting the cell for the pivot table i get this error:
    No data fields are available in the OLAP cube
    i just hope this is some process in HANA that needs restarting and not some endemic MDX problem. if so, where do i look?
    has anyone seen this?
    BTW, shouldn't there be a single log on for the connection? i have to enter credentials twice: 1 when creating the connection and 2 when opening the pivot table.

    something/someone has locked my userid when i was recreating the steps in Excel (i don't think i have tried 'wrong' passwords, but i did try a ['wrong' user|http://misiorek.com/h/GMSnap206%202011-11-27.jpg]
    Here are the steps:
    1. Open [Excel|http://misiorek.com/h/GMSnap202%202011-11-27.jpg].
    2. Enter [connections|http://misiorek.com/h/GMSnap203%202011-11-27.jpg].
    3. Select [HANA cube|http://misiorek.com/h/GMSnap204%202011-11-27.jpg].
    4. Select [Pivot cell|http://misiorek.com/h/GMSnap205%202011-11-27.jpg].
    5. Enter credentials (see above).
    I'm also not sure why I see these security messages:
    [locked|http://misiorek.com/h/GMSnap207%202011-11-27.jpg], Microsoft [warning|http://misiorek.com/h/GMSnap208%202011-11-27.jpg], HANA [warning|http://misiorek.com/h/GMSnap209%202011-11-27.jpg], HANA db [warning|http://misiorek.com/h/GMSnap210%202011-11-27.jpg]

  • Data arrived in ODS new data - all  data fields are cleared

    Hello Experts
    We are loading every day since 3 years data into a DSO   There is a simple start routine.
    Issue:
    Suddenly 1x  record out of 12'000 records loses the data fields or in other words the data fields are cleared. The key part of the record still extists. The table of new data shows the record with all cleared data fields. Thus before activation the data are lost already somwhere in updating.
    We dont use expert routines, no end routines ect. It is a simple 1:1 transformation with a simple start routine.
    We debugged the start routine and the record still exists correctly at the end of the start routine with all entries in the data fields.
    So quite tricky and we hope of some good ideas , you may help us.
    Thanks a lot for your input and help
    Christian
    Our system is SAP BW 7.01 on DB6

    Hello Raf
    The data request has been split in 2 x data packages.
    And the erroneous record was exactly the last data record in data package 1.
    I have than increased the data request size from 10’000 Records to 50’000
    records (default) and it worked than perfectly without clearing any data
    columns
    For me absolutely not understandable, why this can happen.
    Do you have an idea.
      Best regards
    Christian

  • Extract Year (only) from Date Field and Display in Text Field

    I need to extract the year from a user entered date field and display the year in a text field. Can someone help me with the correct script to do this?

    Hi,
    that's quite easy to realize with FormCalc.
    In you date fields exit event add the following code:
    textField1 = Num2Date( Date2Num($.formattedValue, "MM/DD/YYYY"), "YYYY")
    Note: This sample assumes that your date field formats the date with "MM/DD/YYYY". You may have to change the pattern to make it work at your end.

  • Business Partner Creation/Display - General Data fields are missing

    Hi,
    We have an issue in our ECC6.0 system. In FPP1/FPP2/FPP3 transactions General data fields such as Driver's license, SSN, Employee class are missing under Identification tab. But the same are displayed in BP transaction code. What configuration would causing this issue.

    I found a SAP Note 844949 which is talking about the same kind of issue. As per the note I regenerated subscreen containers for application object BUPA.
    Call transaction BUSP and generate the subscreen containers for the application objects BUPA, FICA and BUPR. To do this, set the "All screens" indicator under "Generate All Screens or Just Selected Screens".
    If this does not correct the incorrect display, use transaction BUPT for the business partner or transaction CAWM for the contract account to make sure that the fields are not missing due to the field modifications. (If you cannot call these transactions, exit the SAP Easy Access menu by using /n and then call BUPT or CAWM.

  • How to replace blank values in DATE field with 00000000

    Hi
    I have a DSO with Date field in which there are blank values. I want to replace the blank values in the DSO for date field with 00000000. Because of this blank values in the DSO the report is giving an ORA error.
    How do we replace the blank values in the DSO for historical data and also the new loads?
    Please advise.
    Thank you.
    Regards,
    Pavan.

    Hi Suman,
    I'm trying to run a query built on a DSO. The DSO has a field 'Start Date'. This Start Date InfoObject has a reference Char as 0DATE.
    This Start Field has blank values due to which I'm getting the ORA-01722 error. I came across many threads with same topic of discussion. As mentioned in one of the Threads I have written a program to update 'Start Date' with 00000000. The code wriiten is "UPDATE /BIC/AZ_MONINV00 SET /BIC/ZSTR_DTE = '00000000' where /BIC/ZSTR_DTE = ' '.
    Now when I see the data in the active data table of DSO the blank value is replaced with '00000000'.
    But If I right click on the DSO click on display data the 'Start Date' field is blank. And now the Query also gets executed without any error. But in the output of the query the 'Start Date' Field has "#" values.
    Can anyone suggest on how to remove these "#" values in the report?

  • Not All Fields are Displayed in RSA3 for a Generic Extractor ??

    Hi all,
        I have a created a Generic Extarctor based on a View and enhanced the Extract Structure with 3 ZZ Fields. Now it has 26 fields with width of 273. In RSA3, I could see inly 12 fields with width of 147 only.
       <b>No</b> field has checked as HIDE in DataSource.
       I have checked <b>Settings</b> --> <b>Layout</b>  --> <b>Current</b>, there are <b>NO</b> columns in Hidden Fields box which is on right side. All fields are there in left side box under Line 1.
       I could see all the fields in ROOSFIELD table for this DataSource.
      When I copy it into Spreadsheet from RSA3, I could see all the fields with data including ZZ fields (Appended Fields).
       What is the problem and how could I fix it, PLEASE ?
       Thanks in advance.
    Regards,
    Venkat,
    Message was edited by:
            Venkat Kodi

    Hi Venkat
    sorry for late response.
    Anyway did you solve your issue.
    Forget about the icon now and check again in ROOSFIELD table and check if the missing field for selection has any parameter value. If so (shoudl be a P value ) then maintain it and put a blank value save the changes.
    this should solve your issue.
    hope this could help you
    regards
    Boujema

  • Visio 2010 - Shape Data Fields Are Not Saving

    I am having a problem with a number of shape data fields which are not saving data that has been entered into it, whether by entering it through the "shape data" or "define shape data" dialog boxes, or by editing the "shape
    sheet". 
    All data fields appear to save normally while file is open, it remains as entered.  However, when file is closed and later reopened select data fields do not retaining data correctly.  Some retain nothing (null), or revert back to a "default"
    value, see below for a couple examples:
    Rack Units:  Want to enter data as 1U, 2U, etc. ... in some cases it will save it as entered while in other cases it reverts to "1 RU", "2U", etc.
    Room:  Enter the data as I want it stored, most of the time it appears to come back empty, there are some shapes which will retain as entered.
    Comments:  Fails to retain any data
    I have looked at a number of reasons to explain why, whether the problems occur with stencils is supplied by Microsoft, a vendor, or were custom created.   Looked into whether it might have to do with a particular vendor's stencils/drawings
    but I have a number of Cisco drawings where some save those fields as entered while others do not.  I believe it could be a setting within the stencil preventing it from saving the data as entered, enabled in some cases and not in others.
    I have checked "Protection" under the "Developer" tab, but nothing appears to be set to prevent editing/storing data entered. 
    Is there some setting(s) or field(s) somewhere that I can look at to allow this data to be saved as entered?
    Is there a GLOBAL setting that can be set once within a file?
    Thank you in advance for your time to assist me in fixing these problems. Have a great day!
    MJ_NWE
    MJ

    >Can I build logic so that they can't fill in a field unless the previous field has been filled in?
    It's theoretically possible to do this (e.g. each field has an action
    of removing read-only on the next). It's considered extremely bad form
    design, because people don't always fill in fields in the order
    specified. If you watch people with a form they fill in their name,
    address, other easy stuff; then they go back for the harder stuff.
    They may want to save a form because one piece of information needs
    research.
    What you might like to consider is a large splash "FORM INCOMPLETE" in
    Red or whatever, which vanishes when all the fields are completed.
    Aandi Inston

  • Count records based on detail row containing a null date field

    i need to count the no of rows where a date field is null and print the result in each group footer. the formula isnull works well in details section  but not when I create a running total to count records where evaluate condition is based on a formula and when i test isnull(field) ?
    works in detail section:
    Global NumberVar numOpen;
    if (IsNull({db.DateField}))
    then numOpen := numOpen + 1;
    does not work in group footer?
    IsNull({db.DateField})

    Abhilash Kumar wrote:
    Well, what database are you reporting off and how did you insert a NULL value to the date column?
    In my case, I have worked with Oracle, Access, and now SQL.,
    and have used several different versions of Crysal (but never XI)
    I/we don't put anything into the date...  the field is simply empty and I use 
    IsNull({datefield})
    also for numbers (&currency)
    IsNull({numberfield})
    For text fields I now use
    IsNull({textfield}) or {textfield} not equal ""
    as SQL is a little funny about the empty text fields. Sometimes one works and sometimes the other so I use both.
    Debi

  • Importing data file back into blank PDF - some data fields don't populate

    I have created a writable PDF in Adobe LiveCycle 8. Once the form is completed the person filling out the form submits by email. The email is successfully received and the data file is complete (opening it in a browser verifies this). However, when I use try to import the data back into the PDF file (by opening Adobe Pro | blank form | managage form data | import data - only some of the fields are populated. I need this data to repopulate the form so I can print it and I also need to export it to Excel for other purposes. What am I doing wrong?

    Check the binding on the fields that don't populate and see that it is set to something other than None.

  • New DSO data fields are not available for transformations in the upwardflow

    Hello,
    There are data flow from
        many source DSOs -> Target DSO -> Final DSO.
    Different transformations are defined and activated with DTPs. This works fine and provides the desired results.
    now new fields are added to the target DSO, final DSO and one of the source DSO.
    When I now try to edit the transformations, the new fields are not part of the sources at the different stage.
    The fields are available in the Data Source created out of a DSO but not directly when using a DSO as a data source.
    Have anyone faced such a problem?
    any solutions to this?
       - I cannot delete all the other transformations as this is too much work to do and there is no time for it.
    Regards
    Kannan

    We created ZMD_BS_MAT_OVP_LAYOUT. But the situation has not changed - the fields are not available for edit.

  • CRVS2010 beta -  date field not display in details section

    I use Visual stdio 2010 so i install crystal report 2010 for report.
    It work fine .
    but in report detail section there is date field then it will not be display.
    alos if we do group on date field it will give error when we try to open report.
    Plese geve me possible soluction for date field problem.
    Edited by: hitesh_tatva1 on Jun 22, 2010 11:35 AM
    Edited by: Don Williams on Jun 22, 2010 7:20 AM

    Solution Found
    Don't install sp2it sucksclassic case of the cure being worse than the disease.
    Downloading and installing the SP3 redisist fixed the issue.
    This link is probably appropriate:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Software Product->select Crystal Reports
    Version->select Crystal Reports 2008
    important part
    Software Type->Utility Click Search Download the redist install.
    Not very intuitive, but you'll need to do this so you download the runtime and not the full version.
    Hope that saves you the 5 hours it took me to figure this darn thing out...I hate unintuitive products--they aren't very professional.
    +
    SAP, where do I send the bill for supporting your own product?
    I too have the same problem. Hopefully we can get a solution to this soon as the delayed release of the 2010 runtime has us in a difficult place.
    The problem: I upgraded my project to Visual Studio 2010; therefore, I upgraded to the Crystal Reports for Studio 2010 beta.
    Everything worked fine until I modified the app.config so that I could deploy the application into our test environment. We do not have Visual Studio installed in this environment, so we needed to have a Crystal Reports Runtime. According to the SAP website deployment guide, currently the only way to deploy a 2010 app is to use the 2008 runtime by modifying the app.config file to redirect the bindings.
    __Now, none of my date fields appear on the reports.__
    Just to test, in my development environment, I commented out the redirects in the app.config and the dates appeared. I uncommented the redirects so that the 2008 runtime would be used and then my dates disappeared from the report.
    Here is the entry I put into the app.config:
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.Framework" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.InfoStore" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    Your help is much appreciated.
    Thanks,
    Michael
    Edited by: SaganDraxan on Jul 16, 2010 8:23 PM

  • Multi Language- Picklist fields are displayed only one language for Reports

    Hi!
    I am working on Siebel On Demand with Multi Language (English and Spanish) and it works well for web interface, the automatic translation for picklist works properly.
    However when I create any report (with any Record Type) the fields setup with picklist are displayed only in spanish language even though I am on English mode.
    Have you any reference(s) or previous experience(s) on that?
    Thanks in advance
    Mtb

    Hi,
    in reports the language of the picklists corresponds always to the company default language.
    The only solution I now (its really static and not so nice):
    Create one report per language and change the picklist field by using CASE statements...you see its hard to refresh if you have lots of values :)
    cheers
    Myriam

Maybe you are looking for