Parameter query?

J

Jay

Is it possible to have a parameter user-prompt in an .adp stored proc or
query? (and if so....how?)

Many thanks.....Jason
 
T

Tom van Stiphout

It's quite unconventional, but yes it is possible.
Set inputparameters property for your form to something like:
@CatID=[Which CatID would you like to see:]

and have a sproc like this:
create procedure CategoriesByCatID
(@CatID int)
as
select * from Categories
where CategoryID=@CatID

-Tom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top