For those who want to use my program there a re afew things you need to get ready to use it.
Firstly you are going to need a copy of the mysql database installed. It can be found at
http://dev.mysql.com/downloads/mysql/When installing the program as root make the password root123
I have hardcoded this password into the program so if you don't set it to this then the prgram won't work.
Next you are going to need a copy of the java runtime enviroment. Most computers have a copy of this now but if you need it you can get it from
http://java.sun.com/javase/downloads/index.jsp You only need the JRE unless you want to do your own coding.
Once you have these setup there is still the copy of the code and setting up the database.
The executable jar is attached. Just extract it to a directory and you should be able to double click the HorseRacingDB.jar (depends on your jre).
Save table.sql to c:\
Next you need to open a command prompt (start - run - cmd) and type the following :
type "mysql -u root -p"
Enter your password of root123
type "create database pns;"
type "exit"
type "mysqldump -u root -p pns < c:\table.sql
Your database should now be created (but empty).
Double clicking the program should now work and the program should run fine. You hit get Form to get the form daily. Get Results will get the results from RISA and get Unitab data will get the data from unitab. It will only record results/unitab data for those races for which ou have form. It allows you to set how many days to go back for the results/unitab data. Just leave this on 5 usually and you shouldn't have a problem
There are still lots of bugs but it is useable.
I'll improve it over time and will release the improvements to everyone.
[ ERROR: SPECIFIED ATTACHMENT MISSING ]