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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active X Script (IF Then)

Status
Not open for further replies.

NotSQL

Technical User
May 17, 2005
205
GB
Hi,

Can any one tell me why this might not be working?

If DTSDestination("2Number") = DTSSource("PNo")then

DTSDestination("PDescription") = DTSSource("Description")

End If

Cheers
 
You need a space between your ".. = DTSSource("PNo") THEN" but that could just be a typo here and not in your code.

Try putting "Main = DTSTransformStat_OK" after the END IF

Journeyman -- The Order of the Seekers of Truth and Penitence
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top