Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 USER INPUT AT RUNTIME OF DTS

Author  Topic 

wennerberg
Starting Member

2 Posts

Posted - 2004-02-18 : 13:36:59
How can I prompt the user for a string when DTS is run. The user's typed-in string will be a value that is written to each row. I am a very biginner-- just a business analyst learning this new tool. Here's what I have that works in the TRANSFORMATION-- I just want to get and put the user's typed-in value into column named LLDEF:
-----------------------------
Dim N

Function Main()

If IsEmpty(N) Then
N= 0
End If

DTSDestination("LLEVNTIMPID")=N
DTSDestination("REQ_CODE")="1"
N = N + 1
Main = DTSTransformStat_OK

End Function

KIM WENNERBERG

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-02-19 : 13:07:44
You should not even be considering DTS for this.

What do you need to do? Explain what your requirement is.

Tara
Go to Top of Page
   

- Advertisement -