Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum DTSSource fields to get DTSDestination value

Status
Not open for further replies.

texusgirl

Programmer
Aug 17, 2003
17
US
Hey Everyone,
I am converting data using DTS packages. I need to know the syntax to add several DTSSource fields together to get the DTSDestination. I am using ActiveX script. Thank you in advance.
texusgirl
 
Hey everyone,
No need to reply to this one, I figured out the problem. I had my syntax correct DTSDestination("fieldname") = DTSSource("fieldname") + DTSSource("fieldname") etc...
The problem was that my destination and source were two different data types, I had to convert first and then it worked. Thanks anyway, maybe this will help someone else?[surprise]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top