I assume the military has a budget, which probably (hopefully) doesn't incorporate beer POS software, lol.
I'd setup two tables:
- Tbl_Beer
- Tbl_Soldier
Tbl_Beer would have the Fields:
- Name
- Price
Tbl_Soldier would have the Fields:
- Name
- Limit
I'd then setup a form that allows a soldiers name to be specified (or an ID number, or however soldiers are identified), probably from a list box, but choice of selection type really depends on whether there are 10, 100, 1,000, or 10,000 soldiers you need to deal with.
Once the soldiers name is specified, his current limit will be displayed. If the limit is < 3, then the beer selector will become available. User selects a beer from the list, and uses a 'Submit' button.
The 'Limit' field in 'Tbl_Soldier' gets incremented by one, and the form resets.
Each day you simply reset every record in 'Tbl_Soldier's 'Limit' field, so they get a fresh limit each day.
Thimbles.
