In Access, I use [Enter Date] in the Criteria field of the Query. I tried the same thing in SQL Server in the Criteria field of the View and it does not recognize this. Is there a comparable command in SQL to get user input into the Criteria field of a view

Prompt for user input in criteria field of view
GrkEngineer
Hi,
you either have to use a procedure with an input parameter or have to put a condition on the query with querying the view with:
Select * from SomeView Where SomeColumn = 'SomeValue'
But there is no GUI on SQL Server.
HTH, Jens Suessmeyer.
---
http://www.sqlserver2005.de
---
samujob
Jack Patrick
Hi Jens,
I was able to find out how to do what I needed using the @ sign (i.e. @Date Required ). In the criteria field of the SQL view, this generates a 'Date Required ' prompt box when running the view.
Thanks anyway!
Ernie