Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
LinkBack Thread Tools Display Modes
Old 10-08-2005, 07:50 PM   #1 (permalink)
Hall Of Famer
 
metsgeek's Avatar
 
Join Date: Dec 2002
Location: Norwood, MA
Posts: 5,450
Thanks: 3
Thanked 2x in 2 posts
Alphabetical Order Database?

I want to create a modified Ankit database that takes all the players and reorders their debut alphabetically.

There are approxiamtely 9750 players in Ankit's regular database. Ideally I'd like to have the first 600 or so debut in 1901, then have 80-90 debut per year after that.

I'm not much of an expert with Excel, so I was wondering if it was an easy process....or if I need MS Access, would there be any database expert out there who could crunch the numbers quickly.

I'd also like to make a Reverse Alphabetical database as well.

Any ideas?
metsgeek is offline  
Old 10-09-2005, 01:28 PM   #2 (permalink)
Major Leagues
 
Join Date: Apr 2004
Location: Philadelphia, PA
Posts: 376
Thanks: 0
Thanked 0x in 0 posts
Changing the debut year in the master file is the easy part. The hard part is that the batting, pitching, fielding, fieldingof all need to be changed to match the new debut year and subsequent years.
arod23 is offline  
Old 10-09-2005, 07:39 PM   #3 (permalink)
Hall Of Famer
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 2,490
Thanks: 220
Thanked 142x in 110 posts
Quote:
Originally Posted by arod23
Changing the debut year in the master file is the easy part. The hard part is that the batting, pitching, fielding, fieldingof all need to be changed to match the new debut year and subsequent years.

Easily done in Access...... and Excel. What I did to do my random debut database in 2004 was to bring in the Master CSV and add a column and using the randbetween function added a new debut year. I then imported all the tables including this new master csv into Access. I added a column in Access that had the difference from the debut year and the new debut year. Then just ran a query that subtracted this value from all the batting, pitching and fielding records, keyed by the lahmanID. Very quick and easy. You also need to do this to the birth year in the master csv file also. Then you just export the tables back to csv format, but before you do this you delete the debut column, keeping the new random debut column and you also delete the difference column..... works like a charm....
SandMan is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:45 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments