Sage 100

 View Only
  • 1.  Someone posted a method to find corrupt dates in M

    Posted 12-09-2011 12:58
    Someone posted a method to find corrupt dates in MAS, does anyone recall the technique? I've been searching bad or corrupt date terms here, but cannot find it. TIA


  • 2.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-09-2011 13:00
    Go into your SOTAMAS90 ODBC source. Check off ""NULL Date"". Create a report in Crystal that draws from the file with the bad date. The bad date will no longer stop the report from processing. Sort by the date field. The bad dates will sort to the top (or end). Now go into Sage ERP MAS 90 or MAS 200 (usually through Data File Display and Maintenance) and fix the bad record(s).


  • 3.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-09-2011 13:03
    Thanks Wayne, that's it.


  • 4.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-09-2011 13:06
    Wayne wins!!!


  • 5.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-09-2011 14:43
      |   view attached
    Check off or Check on? My ODBC setting is NOT selected by default.


  • 6.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-09-2011 17:46
    Check it on.


  • 7.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-12-2011 07:27
    I noticed that even with this setting on, if you try to import tables into SQL, it will choke on ""12/31/5999"" because the date/time in SQL is by default ""smalldatetime"".


  • 8.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-12-2011 09:31
      |   view attached
    Checking ""NULL Date"" didn't work for me as these invalid dates came into Crystal as blank which makes them impossible to isolate. Nor did ""Set Null to Default"" help or any combination thereof. I used this VBScript instead. Works like a charm.

    Attachment(s)

    zip
    Find_Bad_Date.zip   760 B 1 version


  • 9.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-12-2011 11:21
    Not being a VBS wizard, in the past I used VI to export the dates into a csv then used the find feature. What I found was that there was usually a space in the date.


  • 10.  RE: Someone posted a method to find corrupt dates in M

    Posted 12-12-2011 12:30
    Using V/I to export AR Invoice History of many clients might take until Romeny wins the White House.


  • 11.  RE: Someone posted a method to find corrupt dates in M

    Posted 02-15-2012 11:17
    Just had to resolve an Invalid Date Contents issue with a custom S/O report. Enabling the Null Date setting on the ODBC driver didn't help us in that it just showed a blank date (which we realized after-the-fact), but exporting the data via VI and pulling it up in Excel did. Then rather than fixing it via DFDM, we just re-keyed the bad date in S/O Entry - which appears to look perfectly fine on screen.


  • 12.  RE: Someone posted a method to find corrupt dates in M

    Posted 02-15-2012 11:41
    I have used VI also in exporting it as a text file.