AccessGuruCarl
Programmer
I need some help working through this. Not familiar with arrays but I'm sure this is the route I need to go.
I have a table of about 50 scouts.
I have 3 other identical tables called Race1, Race2, Race3
Here is the format of the Race tables.
lngHeatNumber - AutoNum Field -PK
intLane1 - Number Field
...
...
intLane6
Here's what I'm trying to do. I want to populate each lane with a scout id at random, starting at record 1 lane1. Then here's where it's gets tricky... I need to do the same thing to Race tables 2 and 3, but... The scout can not race on the same lane as a previous race.
Someone, please point me the direction I need to go, and as much code example as possible.
Thanks in advance...
AccessGuruCarl
Programmers helping programmers
you can't find a better site.
I have a table of about 50 scouts.
I have 3 other identical tables called Race1, Race2, Race3
Here is the format of the Race tables.
lngHeatNumber - AutoNum Field -PK
intLane1 - Number Field
...
...
intLane6
Here's what I'm trying to do. I want to populate each lane with a scout id at random, starting at record 1 lane1. Then here's where it's gets tricky... I need to do the same thing to Race tables 2 and 3, but... The scout can not race on the same lane as a previous race.
Someone, please point me the direction I need to go, and as much code example as possible.
Thanks in advance...
AccessGuruCarl
Programmers helping programmers
you can't find a better site.