Kelsey and Matt are in the same advanced Access class and have teamed up to help each other understand VBA. In order to prepare for the VBA test, each has created a multiple choice quiz for the other. Some of Kelsey's questions are shown below.
Why do forms generally contain more VBA than reports?a. They generally show one record of data at a time.b. The user interacts with forms more than reports.c. They store Structured Query Language.d. They may contain expressions that calculate new pieces of information.
What will be an ideal response?
Answer: B
You might also like to view...
A(n) ____________________ button allows you to clear or reset the form fields to the default values so you can cancel the input in the form and start over.
Fill in the blank(s) with the appropriate word(s).
A resume can only be created using a blank, new document.
Answer the following statement true (T) or false (F)
Describe Google hacking and provide an example.
What will be an ideal response?
(Table of Powers Application) Write an application that displays a table of numbers from 1 to an upper limit, along with ethe square and cube each number. The user should specify the upper limit, and the results should be displayed in a JTextArea as in Fig. 8.23.
```
a) Copying the template to your working directory. Copy the directory C:Examples Tutorial08ExercisesTableOfPowers to your C:SimplyJava directory.
b) Opening the template file. Open the TableOfPowers.java file in your text editor.
c) Handling the keyPressed event for the Upper limit: JTextField. Add code to the limitJTextFieldKeyPressed event handler (which begins in line 97) to clear outputJTextArea.
d) Adding code to the Calculate JButton event handler. Add the code specified in steps e through j to the calculateJButtonActionPerformed event handler, which immediately follows the limitJTextFieldKeyPressed event handler.
e) Declaring a variable to store the loop counter. In the calculateJButtonAction- Performed event handler, declare int variable counter and initialize its value to 1.
f) Clearing outputJTextArea. Add a statement to calculateJButtonActionPer- formed that uses JTextArea method setText to clear any previous output in outputJTextAr