Microsoft Visual Basic
Messages and variables exercise
Relatively easy

This Microsoft Visual Basic MESSAGES AND VARIABLES 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.

Exercise: Running a query

A full answer to this exercise is provided as part of the training course!

1) Download the files needed to start this exercise: exercise-246.zip (and click here if you experience any problems unzipping this file after downloading it).
2) From the Access database window, run the update query called Goal, to see what it does (see below).  You should find that it automatically asks you to type in a players name.
Exercise screen-shot 378 You must type in a valid player's name
3) Create a new module called GoalScored.
4) Create a new procedure to run the Goal query.  This should:
  • Suppress any warning messages;
  • Run the query as shown above; then
  • Redisplay warning messages.
5) Save the module and close it.

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.

All content � Wise Owl Business Solutions Ltd 2007.  All rights reserved.  Design by Branches.