Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2005

Tip: Looking for answers? Try searching our database.

Ms Access calls sql server DTS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Madhuri - 15 Jul 2005 21:16 GMT
How can I design a form in ms access which could call a DTS package in sql
server ? Also it should perform a certain procedure in msaccess.

Thanks
Madhuri
Joerg Ackermann - 15 Jul 2005 22:21 GMT
> How can I design a form in ms access which could call a DTS package
> in sql server ?

Try:

Sub DTSExecutePackage()
   Dim dtsPackage As New DTS.Package
   dtsPackage.LoadFromStorageFile "F:\ACCESS\DTSSAMPLE.dts", ""
   dtsPackage.Execute
End Sub

A reference to "Microsoft DTSPackage Object Library" is nessesary.

Acki
Madhuri - 15 Jul 2005 23:26 GMT
The problem with MsAccess form coding is that it dosent show me any
components or references to add from. Any idea on where to add these
references ?

Madhuri

> > How can I design a form in ms access which could call a DTS package
> > in sql server ?
[quoted text clipped - 10 lines]
>
> Acki
Joerg Ackermann - 15 Jul 2005 23:45 GMT
> The problem with MsAccess form coding is that it dosent show me any
> components or references to add from. Any idea on where to add these
> references ?

In VBA-Ediitor - Tools - References

Acki
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.