Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Define Function
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Titre:
User Define Function
Divers
Thread ID:
00565911
Message ID:
00565911
Vues:
47
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform