Groups | Blog | Home
all groups > sql server dts > september 2004 >

sql server dts : Insert records througth ActiveX Script


Ed
9/27/2004 11:29:06 AM
hi,
I am wondering if I can create a recordset in ActiveX Script and then
Insert/Update data.
e.g.
Dim rst
set rst = OpenRecordset("TableName")
Do until rst.eof
xx
xxx
rst.update
loop

the above statement work in vb/vba
does it work in DTS, too?

Thanks
Allan Mitchell
9/27/2004 9:26:44 PM
Have you tried?

Why would you want to open an ADO recordset and insert rows?


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


[quoted text, click to view]

AddThis Social Bookmark Button