473,327 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

How do I pass a parameter to a DTS ?

Hi

We still use SqlServer 2000 and DTSs.

My question is: Can I pass a parameter to a DTS and if yes then how ?

We would like to plan our screen like this.
The user will input a parameter on the screen/form and then the DTS will
be activated using the value inputed.

We do have how to work around it if parameters can't be passed but it
would make things a lot easier and straightforward if we could.

Thanks !

David Greenberg

Nov 6 '07 #1
2 1551
On Tue, 06 Nov 2007 22:52:28 +0200, David Greenberg
<da*****@iba.org.ilwrote:

One simple solution might be to store those parameters in a separate
table. Then write code like this:
select * from tblCustomers
where CustomerID = (select CustomerID from tblParameters)

-Tom.

>Hi

We still use SqlServer 2000 and DTSs.

My question is: Can I pass a parameter to a DTS and if yes then how ?

We would like to plan our screen like this.
The user will input a parameter on the screen/form and then the DTS will
be activated using the value inputed.

We do have how to work around it if parameters can't be passed but it
would make things a lot easier and straightforward if we could.

Thanks !

David Greenberg
Nov 7 '07 #2
Thanks Tom !
That was the work around we had planned (we've actually used that method
before successfully)
Tom van Stiphout wrote:
On Tue, 06 Nov 2007 22:52:28 +0200, David Greenberg
<da*****@iba.org.ilwrote:

One simple solution might be to store those parameters in a separate
table. Then write code like this:
select * from tblCustomers
where CustomerID = (select CustomerID from tblParameters)

-Tom.
>>Hi

We still use SqlServer 2000 and DTSs.

My question is: Can I pass a parameter to a DTS and if yes then how ?

We would like to plan our screen like this.
The user will input a parameter on the screen/form and then the DTS will
be activated using the value inputed.

We do have how to work around it if parameters can't be passed but it
would make things a lot easier and straightforward if we could.

Thanks !

David Greenberg
Nov 7 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Yarik | last post by:
Hello there! I am working with MS SQL Server 2000. I have a table function that takes an integer parameter and returns a table, and I can successfully use it like this (passing a literal as a...
7
by: Zlatko Matiæ | last post by:
Let's assume that we have a database on some SQL server (let it be MS SQL Server) and that we want to execute some parameterized query as a pass.through query. How can we pass parameters to the...
0
by: Zlatko Matiæ | last post by:
Hi everybody! Recently I was struggling with client/server issues in MS Access/PostgreSQL combination. Although Access is intuitive and easy to use desktop database solution, many problems...
1
by: Dion Heskett | last post by:
How can I pass a Class as a parameter to in a method ? i.e. Private myMethod( string pram1, Classobject as pram2) { Classobject.DataSource = reader; Classobject.DataBind(); }
9
by: Jay Douglas | last post by:
Hello, I am needing to pass a class object (this) by reference to a method in a different class. When I do the following code I get the error (Cannot pass '<this>' as a ref or out argument because...
1
by: | last post by:
Hi, I've defined an ObjectDataSource and a parameterized DataSet. I would like it if I could pass the parameter value that describes the query that creates the DataSet as part of a user control...
3
by: Brett | last post by:
I have several classes that create arrays of data and have certain properties. Call them A thru D classes, which means there are four. I can call certain methods in each class and get back an...
4
by: _Mario.lat | last post by:
Hallo, I have a little question: In the function session_set_save_handler I can pass the name of function which deal with session. In Xoops code I see the use of this function like that: ...
5
by: David++ | last post by:
Hi folks, I would be interested to hear peoples views on whether or not 'pass by reference' is allowed when using a Web Service method. The thing that troubles me about pass-by-reference into...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.