Visual Basic for Applications
Recordsets exercise
Average difficulty

This Visual Basic for Applications RECORDSETS 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: Using recordsets

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

1) Download the files needed to start this exercise: exercise-267.zip (and click here if you experience any problems unzipping this file after downloading it).
2) Create the following 3 macros:
  • A procedure called AddChelsea to add Chelsea into the Teams table
  • A procedure called DeleteBlueTeams to delete all teams who play in blue
  • A procedure called ChangeArsenalGround to change Arsenal's ground from Highbury to Ashbourne Grove
Training exercise hint You should do this using recordsets, but might reflect on the fact that this could have been done much more quickly using append, delete and update queries.

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 copyright Wise Owl Business Solutions Ltd 2008.  All rights reserved..