The purpose of the code is to extract (scrape) the horse racing results for Great Britain and Ireland from the Betfair Race Results website for all the races for all the courses for a particular date. The code is to be written in Visual Basic within an MS Access database ([url removed, login to view]).
When executed the code will populate a table in the database (RACEDETS) for each horse in each race on each course in Great Britain and Ireland for every date in the table DATES.
The URL of the site to be scraped is: [url removed, login to view]
The code must be well commented with a comment before each section indicating what the section of code is doing.
The database [url removed, login to view] is provided with the two tables defined.
The full specification and database are attached.