I am trying to use the following script to test dates in a column from a Foxpro source.
If Year( DTSSource("Date") ) < 1900 Then
DTSDestination("Date") = null
Else
DTSDestination("Date") = DTSSource("Date")
End If
Main = DTSTransformStat_OK
I am getting the following error when I run the task...
Error Source: Microsoft Data Transformation Services (DTS) Data Pump
Error Description: The number of failing rows exceeds the maximum specified.
Error Code: 0
Error Source=Microsoft VBScript runtime error
Error Description: Invalid procedure call or argument: 'DTSSource'
Error on Line 6
I am using SQL2K Sp3a.
Thanks.