A
Adam
I am trying to count down how many "sessions" a client has left.
I have a table where i keep the total number of sessions a client purchased
(ie. they buy 12 and that is recordeed in the sales table with a sale ID
along with a package type ID identifying that package of 12).
I have another table holding the attributes of a session (i.e date it
occured, etc.).
I want to be able, as i a log that a session occured (fields include a check
box stating whether session completed or not, the date, the client name, and
the sale id which tells the size of the session purchased; 12, 24, etc.), be
able to deduct that session from the total the client purchased and do a
count down. How can perform this kind of count down?
I have a table where i keep the total number of sessions a client purchased
(ie. they buy 12 and that is recordeed in the sales table with a sale ID
along with a package type ID identifying that package of 12).
I have another table holding the attributes of a session (i.e date it
occured, etc.).
I want to be able, as i a log that a session occured (fields include a check
box stating whether session completed or not, the date, the client name, and
the sale id which tells the size of the session purchased; 12, 24, etc.), be
able to deduct that session from the total the client purchased and do a
count down. How can perform this kind of count down?