This Microsoft Developer LOOPING exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl ACCESS VISUAL BASIC course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
A full answer to this exercise is provided as part of the training course!
| 1) | Download the files needed to start this exercise: exercise-260.zip (and click here if you experience any problems unzipping this file after downloading it). |
| 2) | In addition to the FOR EACH ... NEXT loop, there are 3 other types of loop in Visual Basic for Access (listed in the Loops and Logic section of your courseware). |
| 3) | Amend the Goal query so that the parameter is always Michael Owen. |
| 4) | Create a new module and write code which keeps running the Goal query until the value of the Goals field is 50 or more. |
The structure of the loop you need to use.
|
|
| 5) | The function GoalsScoredByMichaelOwen used above will use the DLOOKUP function as follows:
|
Thank you for showing an interest in this Access Visual Basic training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.
Recommended sites: C# corner | Computer tutorials | Training classes