![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
#3
| |||
| |||
|
|
You would generally do this in the FE app that calls the package. Once the user has chosen the file you pass the name and location to the package and execute. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote in message news:%23IhzFdl0EHA.3280 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
#4
| |||
| |||
|
|
Thanks Allan. I found this package on your site, but it would probably require me to register this dll on every computer that I want to run this package from - right? But at least it does exactly what I want it to do. http://www.sqldts.com/?226 Andre "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote You would generally do this in the FE app that calls the package. Once the user has chosen the file you pass the name and location to the package and execute. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
#5
| |||
| |||
|
|
Correct The problem here is the user needs direct access to the package itself which is maybe not something you want. Personally I prefer to build the package my way with my valkues and have the user enter via another way anything they need to change. I do not in general allow them to mess with my packages. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote in message news:%23cRJ83l0EHA.2600 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Thanks Allan. I found this package on your site, but it would probably require me to register this dll on every computer that I want to run this package from - right? But at least it does exactly what I want it to do. http://www.sqldts.com/?226 Andre "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:uj8eXvl0EHA.3808 (AT) tk2msftngp13 (DOT) phx.gbl... You would generally do this in the FE app that calls the package. Once the user has chosen the file you pass the name and location to the package and execute. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote in message news:%23IhzFdl0EHA.3280 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
#6
| |||
| |||
|
|
Thanks Allan. I found this package on your site, but it would probably require me to register this dll on every computer that I want to run this package from - right? But at least it does exactly what I want it to do. http://www.sqldts.com/?226 Andre |
#7
| |||
| |||
|
|
You would generally do this in the FE app that calls the package. Once the user has chosen the file you pass the name and location to the package and execute. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
#8
| |||
| |||
|
|
Allan, What if you wanted to query a folder and delete files based on number of days using a DTS package, can this be done? - Sonya "Allan Mitchell" wrote: You would generally do this in the FE app that calls the package. Once the user has chosen the file you pass the name and location to the package and execute. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote in message news:%23IhzFdl0EHA.3280 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
#9
| |||
| |||
|
|
Number of Days what? Days Old? Sure you can do that. You can Loop through the directory and check the file date. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Sonya" <Sonya (AT) discussions (DOT) microsoft.com> wrote in message news:94A99C87-BC44-4798-A693-157DDC2ADE74 (AT) microsoft (DOT) com... Allan, What if you wanted to query a folder and delete files based on number of days using a DTS package, can this be done? - Sonya "Allan Mitchell" wrote: You would generally do this in the FE app that calls the package. Once the user has chosen the file you pass the name and location to the package and execute. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote in message news:%23IhzFdl0EHA.3280 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
#10
| |||
| |||
|
|
Number of Days what? Days Old? Sure you can do that. You can Loop through the directory and check the file date. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Sonya" <Sonya (AT) discussions (DOT) microsoft.com> wrote in message news:94A99C87-BC44-4798-A693-157DDC2ADE74 (AT) microsoft (DOT) com... Allan, What if you wanted to query a folder and delete files based on number of days using a DTS package, can this be done? - Sonya "Allan Mitchell" wrote: You would generally do this in the FE app that calls the package. Once the user has chosen the file you pass the name and location to the package and execute. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - SQL Server 2005 Integration Services. www.Konesans.com "Andre" <no (AT) spam (DOT) com> wrote in message news:%23IhzFdl0EHA.3280 (AT) TK2MSFTNGP12 (DOT) phx.gbl... I'm writing a dts package that imports a file. I want to allow my user to browse to the file, but can't figure out how. Any suggestions? Thanks, Andre |
![]() |
| Thread Tools | |
| Display Modes | |
| |