Setting Parameters for an SQL Statement 
Use
You
can set parameters for SQL statements. When you execute an SQL statement
for which parameters exist, the system displays a dialog box where you have to
enter a value for the parameter.
Procedure
-
When you create the SQL
statement, insert square brackets in all the places where you want the
user to enter variables.
-
If you want to formulate a
prompt for the dialog box, enter this prompt within the square
brackets.
-
By setting parameters you
can also replace entire sections of an SQL statement.