473,326 Members | 2,133 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,326 software developers and data experts.

ADP Related Query

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
2 2186
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Uri Lazar | last post by:
hi, im working on this for a long time. i'm using MSsql-server2000 i have a table that records users visits to rooms. the columns are room_id, user_id, visits. i want to write a query that can...
17
by: Steve Jorgensen | last post by:
Terminology question: Is there a term for a set of records related directly or indirectly by key value in several tables? For example, a single invoice record and its line item records -or- a...
1
by: hartley_aaron | last post by:
Hi, I was wondering if it was possible to build a query that will include a column that will provide a count related records from another table. Although there is a way to achieve this through...
3
by: Jason | last post by:
I am trying to filter records in a primary form based on records in related tables. The data in the related tables is being displayed in the primary form through subforms. To be more specific, I...
2
by: Fons Roelandt | last post by:
Heelo, I have to Update all fields from a table with the values of a related table, i've tried some querys i found on the internet, but nothing seems to word, i even tried to lookup the value...
2
by: Colm O'Hagan | last post by:
Hi there, I having a problem with a database I'm setting up, I would be delighted if someone out there could help. The database I'm setting up is a task register datebase, it will be used to...
5
by: monomaniac21 | last post by:
hi all On a networking site i am working on each user has their own id and the id of another person who they are linked to. what i want to do is to be able to pull up a list of everyone linked...
4
bhcob1
by: bhcob1 | last post by:
I have 2 tables, related between the fields 'field1' and 'field2' tbl1 - field1 - field2 tbl2 - field3 - field4 I want to run a query so that it displays 4 columns (1 for each field),...
14
by: abctech | last post by:
Helo experts, I'm working on my first ever web application and I have some basic questions related to servlets if I may, I have 5-6 Java statements and preparedstatements in my servlet to...
11
misscrf
by: misscrf | last post by:
I have received data which contains similar records, where the customers have similar records. A customer, i.e. Jane Doe may have moved, or something, or a change to her account. When that happened...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
1
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: 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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: 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...

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.