Professional Documents
Culture Documents
Parameters Query in Access
Parameters Query in Access
Parameters Query in Access
Objectives
Describe
parameter query
Using parameter query in Access
SELECT *
from Student
where StudId = [Enter a student id];
Once this query is executed, Access will prompt for user to enter the
student id. The following pop-up window will be appearing in the
Access. The sentence Enter a student id will become the
parameter query for this query.
Once a value has been entered, press OK and the result will be shown.
LastName
FirstName
Gender
S007
Tham
Tian En
DateEnrolled
GPA
19-Sep-03
3.89
GroupLeader
CourseID
DCS
LastName
FirstName
Gender
DateEnrolled
GPA
GroupLeader
CourseID
S001
Bartell
Joseph P.
15-Feb-02
3.21 S005
DCS
S003
Lee
Choy Yan
05-Jan-02
3.82 S016
DIT
S009
Nicosia
Anthony L.
01-Feb-02
3.11 S005
DICT
S014
Williams
Jason R.
12-Dec-02
2.74 S010
DCS
S015
Chan
Xi Xi
12-Dec-02
3.12 S016
DIC
Limitations on parameters in
Access
Only
Summary
Ways
Access
Understand how the value is being
pass to the query