Anybody any ideas???
Rgds
Laphan
Laphan <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
Hi Ray
Thanks for the lightening fast reply.
To be honest, I have the team names and want it to be home and away, it's
just the logic of how to create 18 'weeks' of non-duplicated fixtures apart
from the home and away aspect.
At present, I have entered all of the fixtures manually using this web site
(90-odd or so) and then set a 3rd field/array to store each 'block' of
fixtures, eg the first 10 fixtures are section 1, the next 10 fixtures are
section 2, etc and then I've created a 4th field that randomly jumbles these
sections up so that section 1 might be on week 3 and section 7 might be on
week 1, etc.
Not very elegant compared to the one on the web site, which did a random
selection without any conflicts of having the same team playing twice, three
times in the same week AND doesn't even fall foul of a team playing 4 home
fixtures and then 3 away fixtures and so on.
It's exactly what I want, but I just can't get my head round it.
Rgds
Laphan
Ray at <%=sLocation%> <myfirstname at lane34 dot com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
Do you want to duplicate this? (VB code? VBS?) Okay, sure, there are a
number of people here who could certainly do it, but I don't know that
anyone will just go and do it for fun and post it here for you. What part
are you stuck on?
Ray at work
"Laphan" <ne**@DoNotEmailMe.co.uk> wrote in message
news:3f********@127.0.0.1...
Hi Guys
I need logical help
The best way that I can explain what I want is if you could do the
following:
1) Go to http://www.fixturelist.com/createalist.php
2) Name doesn't matter put test.
3) Type of participant = Team.
4) Number of participants = 10
5) Frequency = Weekly
6) Number of Meetings = Home and Away.
7) Click the Continue button.
8) A, B, C, D, etc for the 10 team names and click the Continue button.
The results that are generated are exactly what I am after. The bonus of
running this is that the fixtures are different everytime you generate it,
but every team still plays each other the correct number of times.
Do you know how to emulate this in VB code?
Rgds
Laphan