![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am new to scripting and ActiveX Scripts in DTS I am getting a syntax error on line 11 and it looks like the example from MSDN 'Using ActiveX Scripts in DTS'. Can anyone tell me why? Here is my script: Function Main() Pass = DTSSource("PassID") Select Case Pass Case "6" DTSDestination("TripType")=1 Case "7" DTSDestination("TripType")=2 Case Else DTSDestination("TripType")=<null End Select Main = DTSTransformStat_OK End Function |
#3
| |||
| |||
|
|
Try replacing <null> with null. Francesco Anti "JD" <JD (AT) idfg (DOT) idaho.gov> wrote in message news:%23Xye1T0dFHA.3040 (AT) TK2MSFTNGP14 (DOT) phx.gbl... I am new to scripting and ActiveX Scripts in DTS I am getting a syntax error on line 11 and it looks like the example from MSDN 'Using ActiveX Scripts in DTS'. Can anyone tell me why? Here is my script: Function Main() Pass = DTSSource("PassID") Select Case Pass Case "6" DTSDestination("TripType")=1 Case "7" DTSDestination("TripType")=2 Case Else DTSDestination("TripType")=<null End Select Main = DTSTransformStat_OK End Function |
![]() |
| Thread Tools | |
| Display Modes | |
| |