|
I think I have solved the problem. The problem was that the line of history that stated that the player went 5-6 did not contain what league he was in, like the awards or the other items that are pulled from the player's history. So, it could be in the history file for the player, even if the player is a major league player now.
So I had to be trickey. I searched the line for the team number and then check an index to see if this team was a MLB team or a minor league team. If it was a minor league team, and the no minor history is checked, it will skip it.
You will see minor league teams in there, like scoring 10 runs in a game, etc. That may be a little harder to remove, due to the league information is NOT contained in that file I get that information from. I would have to look up each game number in another file and check the team numbers and that could slow the routine down.
I created a fictional league with full minors and it seems to work here, so let me know if it solved the problem.
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it!  New show every Monday!! New Blues HOF![/COLOR][/FONT]
|