![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have the following transformation defined for a source and destination column: Function Main() IF DTSSource("EMP'MARITAL") = "M" THEN DTSDestination("empTaxCategory") = DTSLookups("TaxCategoryLookup").Execute("Married-Filing Jointly") ELSE DTSDestination("empTaxCategory") = DTSLookups.Item("TaxCategoryLookup").Execute("Sing le") END IF Main = DTSTransformStat_OK End Function When I test the transform, I get an error message that says: Error Description, Object Required: DTSLookups that is, there is no DTSLookups collection. Everything I read (sqldts.com, msdn, msKB) says the syntax is as above. SQL 7.00.623 on NT 4, sp 6 Need a solution, need to know what I am missing. Thanks Bruce |
![]() |
| Thread Tools | |
| Display Modes | |
| |