Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prompt within a view 1

Status
Not open for further replies.

codemech

Programmer
Feb 8, 2004
34
US
In an Access .mdb query I can create a prompt using the following criteria syntax --

>[After What Starting Date?]

Is there any whay to accomplish this in a .adp file?

Thanks,
C
 
I am only familar with the Access 2000 Project not the later versions, but I am quite familar with sql server 2000. A View in sql server does not take paramters. If you want to use paramters then a stored procedure is the most common way. A stored procedure can return a resultset just like a query in access. You can build Functions in sql server that can return tables/resultsets and I believe accept paramaters. There is also a Parameterized View in sql server, but I have not used it. Now, if you want to send paramters to a stored procedure and bind a Form to the stored procedure, you can put the parameter prompt in the InputParameter Property. So, bottom line is that the View interface in an access 2000 project limits you to the simple sql server view, and parameters are not part of that equation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top