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!

Number of Rows Transfer by DTS

Status
Not open for further replies.

sanjoo306

Programmer
Nov 14, 2003
1
IN
HI All,
My Extration Program is working fine.
I am using DTS through VB and transfering data from one database to another. But now I need to know how many rows transfer from each table from scource to destination is there any property of DTS object in VB.

Thanx in Advance
 
Create a global variable in your DTS. In one of your transformations, add 1 to that global variable each time it passes a record.
When you are done with the DTS, you can query and display it from VB:

goPackage.execute 'execute you package
nvar = gopackage.GlobalVariables("Records copied").value

Msgbox nvar & " Records were transformed"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top