Storing a calculated value in this way is incorrect anyway, a simple query will return the date due, it would also appear that you hve fields name Mon, Tues etc. which is a spreadsheet approach to db design. Look up some articles on normalisation/normalization