By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,503 Members | 1,143 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,503 IT Pros & Developers. It's quick & easy.

ADP Related Query

P: n/a
Hello,

I am developing an Access Data Project (ADP) that connects to MSSQL
server 2000.

I have a combo box on a from that has a stored procedure as the row
source. The stored procedure has a parameter which I need to set to
the value of a control on the form. How do I do this using the EXEC
Stored Procedure command? Could you let me know the syntax especially
the parameter part?

Thanks,

Isaac
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On 30 Nov 2004 20:20:12 -0800, is********@yahoo.com (Isaac Rajan)
wrote:

In the AfterUpdate event for that control, write:
myCombobox.RowSource = "EXEC MyStoredProcedure " & MyTextBox

-Tom.
Hello,

I am developing an Access Data Project (ADP) that connects to MSSQL
server 2000.

I have a combo box on a from that has a stored procedure as the row
source. The stored procedure has a parameter which I need to set to
the value of a control on the form. How do I do this using the EXEC
Stored Procedure command? Could you let me know the syntax especially
the parameter part?

Thanks,

Isaac


Nov 13 '05 #2

P: n/a
Hi Tom,

Thanks a lot for the help. The code works now!

Isaac
Tom van Stiphout wrote:
On 30 Nov 2004 20:20:12 -0800, is********@yahoo.com (Isaac Rajan)
wrote:

In the AfterUpdate event for that control, write:
myCombobox.RowSource = "EXEC MyStoredProcedure " & MyTextBox

-Tom.
Hello,

I am developing an Access Data Project (ADP) that connects to MSSQL
server 2000.

I have a combo box on a from that has a stored procedure as the row
source. The stored procedure has a parameter which I need to set to
the value of a control on the form. How do I do this using the EXEC
Stored Procedure command? Could you let me know the syntax especiallythe parameter part?

Thanks,

Isaac


Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.