Bug Fixes

Home Up

 

I spent a few hours with the Crown Point Babe Ruth League during their registration Sunday, January 22. 2006 and found two bugs in the program.

Please, Always Backup League Champ before making the following changes

The first one only shows up the second year the program is used and was the Amount Paid which was adding registration fees paid in previous seasons.  The fix is:

Go to Report Manager

Player Registration Form

Edit

Double Click the field Amount paid
In Expression left click the button to the right

replace (be very careful to type the replacement EXACTLY as shown)

register.pnamount

with

IIF(register.pddate=>variables.regdate,register.pnamount,0)

save and close.

Now the Registration form will calculate the amount paid including
only amounts in the payment table that are dated during the current
registration period.

 

The second bug was with the calculation of League Age on the Player Registration Form and Leap Year.

Go to Report Manager

Player Registration Form

Edit

Double Click the field League Age
In Expression left click the button to the right

replace (be very careful to type the replacement EXACTLY as shown)


(variables.cutoffdate - register.ddob)/365 + .4

with

(variables.cutoffdate - register.ddob)/365.3333

save and close

This corrects the problem with League Age.

Both fixes are also in a Text file 012206 Registration Report fix.txt


Questions or problems regarding this web site should be directed to Brian@otsdev.com .
Copyright © 2000-2006 OTS Development Corp.. All rights reserved.
Last modified: Monday January 23, 2006.