I imported this file into ACCESS and created a query with only one record. The Race on 20220401 (I assume that was 04/01/2022, but cannot tell for sure). Here is some of the field data for that race. I know it was held at Turfway Park and a jockey by the name of Gerardo Corrales rode in at least one race.
View attachment 99996
Can you tell me:
- Which horse he rode?
- How he placed in the race?
- Which other jockeys raced in that race?
- How they placed?
- What is racenumber? Is that the number of races run that day or is that the number of the race that Corrales rode a horse in? So he rode one of the horses in complineho or complineh2 or complineh3 in race #7?
When I created the field connections between jockeys and horses and race dates, I used the complineho field as the horse name that the jockey rode on each date at each racetrack. I don't know if that is correct or not but:
- Each horse needs to have a jockey assigned to it
- Each jockey and horse needs to have a racetrack assigned to them on each race day
- Then there needs to be a race result for each one of those horses, jockeys, racetracks and race dates.
It appears to me that this xml file cannot give you the full information you will need. It only gives partial information. I don't know where you are getting this xml file from, but you cannot build an ACCESS solution without all the information for each race date and racetrack.
For each race track and race day, there should be various jockeys riding their various horses. Each with a result in those races. I don't know for a fact, but there might even be different numbers of races conducted each day at each track. If this is the case, it becomes even more complex and difficult.