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

DTS in VB

Status
Not open for further replies.

mslezak

Programmer
Nov 7, 2000
2
US
I am trying to pull a DTS package through a vb application. I am using a loadfromSQLServer command. I keep getting a compile error but it seems correct.

objPackage.LoadFromSQLServer("Michelle2", , , , , , , "DataWarehouseTest")

objPackage is a defined variable as DTS.Package. I've looked up help and followed the syntex. The specific error I'm getting is "expected :="

HELP!!!
 
Hi

Remove your brackets in the program where your calling your DTS from loadfromsqlserver

If still problem exists let me know

Jai
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top