Automatic updates

G

Guest

I have a database that keeps track of discipline. In a table Infractions,
there is a field Consequence. The consequences are based on the number of
demerits (one of three types of demerits). The consequences up to this point
are being entered manually. Every two weeks (pre-established by the staff),
the demerit count starts over. I currently run all queries, forms, and
reports by offering a start date and end date (the two week cycles) and then
use a between statement in my queries to help with organizing the demerits
for the current two weeks.

What I would like to do is be able to press a button and have the
consequences automatically entered based on the number of demerits reached so
far during the two week cycle. I would like to be able to keep this up daily
or everyother day as opposed to waiting for the two week cycle to be over.

Is there any hope? By the way, I am learning as I go. The more I check out
this community, the more I go back and streamline.
 
G

Guest

I would seperate the function of clearing out after 2 weeks and calculating
punishments. To make it easier I'd create a control table where I'd keep a
date that the 2 week cycle is based on. Then you should be able to check back
to it on a daily basis if the cycle is up do both functions and enter new
cycle date or just calculate punishments if the cycle isn't up.

HTH
Martin J
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Smart Calendar 3
Check Boxes as Report Criteria 2
Date Question 9
Option Group Makinig it work? 4
One table or Two? 7
Ready to Start (For Real) 2
How to program Option Group to do this.. 1
SUM in a UNION query 2

Top