Joined: April 11th, 2005, 2:31 pm Posts: 122 Location: Edinburgh
|
Hi,
As Mack says this is down to the design of your database, which needs to be normalized ;
Each field should contain the smallest meaningful value.
There should be no repeated groups of fields (similar data belongs in the same field).
There should be no unnecessarily repeated data values.
Where practical, all fields in a table should be relevant to every record.
Do a web search - there are plenty of sites which cover this.
The only way I can think of to eliminate duplicates is to store each player's name in an array and check the array before adding another name - but, if you have large amounts of data this will become very slow.
_________________ Windows 7 Ultimate (32 bit)
Opus Pro 6.4, Opus 7
Dual Core Athlon 64 4000+
4 gb Ram
|
|