课程: Access 2016 Essential Training
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Creating flexible queries with parameter requests
- Sometimes you'll want to create a query framwork that answers many variations on the same question. Instead of hard coding your queries to use the exact same criteria every time they're run, you can instead ask the user when it's run for the criteria then. This is called a parameter request and they're another very useful tool to have when building out your databases. Let's start by creating a very simple query here in the Designer, and I'm going to pull in data from our Guests table. Let's go ahead and close the Show Table window and I'm going to pull down the FirstName and LastName field, and also the Country just by double-clicking on each of these here. Now we've seen how we can specify a criteria that looks for a specific value. So for instance, if I come down here into Country and type in France here, and if I were to run it, we can see that there are a total of five guests that come from France. Let's go ahead and switch back into Design View. Now if we were to save this…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
-
(已锁定)
Understanding queries3 分钟 10 秒
-
Creating queries with the Simple Query Wizard3 分钟 58 秒
-
(已锁定)
Building queries in Design view9 分钟 23 秒
-
(已锁定)
Establishing constraints with criteria5 分钟 28 秒
-
(已锁定)
Specifying criteria with wildcards4 分钟 16 秒
-
(已锁定)
Leveraging multiple criteria with AND and OR statements6 分钟 7 秒
-
(已锁定)
Filtering with mathematical comparisons3 分钟 41 秒
-
(已锁定)
Creating flexible queries with parameter requests5 分钟 7 秒
-
Building expressions7 分钟 26 秒
-
(已锁定)
Obtaining summary statistics7 分钟 3 秒
-
(已锁定)
Challenge: Creating queries42 秒
-
(已锁定)
Solution: Creating queries4 分钟 38 秒
-
(已锁定)
-
-
-
-
-
-
-
-