Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Define Function
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Title:
User Define Function
Miscellaneous
Thread ID:
00565911
Message ID:
00565911
Views:
45
Hi.
Is it possible to call a user define function from a DTS ActiveX Script.
There is my code :
Function Main()
If trim(DTSSource("TXT"))="MONTHLY STATEMENT" THEN
DTSDestination("LPAGE") = "1"
Else
DTSDestination("LPAGE") = "0"
End If
DTSDestination("DDATE") = date()
DTSDestination("NDATE") = dbo.fn_tton(date())
Main = DTSTransformStat_OK
End Function

It doesn't recognize the function.
Next
Reply
Map
View

Click here to load this message in the networking platform