|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all
trying to ge an activeX task to run in a DTS package. Every time i declare something AS somthing, the script says it errors. This is coming from when I press the "Parse" button in the editor window. Even something as simple as Code:
Function Main() Dim logColumns As Variant End Function errors Am I missing something here. Its pretty standard VB stuff here. I can't even declare my DTS objects Anyone got any pointers? Steve |
|
#2
|
|||
|
|||
|
try without the AS argument:
Function Main() Dim logColumns End Function you don't need to declare what type it is, it'll figure it out based on your content |
|
#3
|
|||
|
|||
|
Is this the same with
Dim packageItem AS DTS.Package ? |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > ActiveX DTS Scripts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|