R
Robin via AccessMonster.com
I have developed 2 tables. One is an inventory of sorts table with a
medication name, dose, lot number, and expiration date. There may be many
entries with same medication name and dose but the lot number will be unique.
The other table is one which patient names will be placed along with the
medication we are giving (samples), name, number of samples, lot number, and
expiration date. What I need is how to get the total number available of each
medication and dose (of all lot numbers) AND when I sign out a medication to
a patient, it will decrease the amount that was signed in under that lot
number and decrease the total amount. I.e. Jane Doe receives #30 of
Amoxicillin 500mg Lot #ABC. It will automatically decrease my inventory of
Amoxicillin Lot #ABC by #30 and decrease my total of Amoxicillin 500mg by 30.
Am I making sense? It is just two tables but I am a novice at access and
can't figure how to make the relationships or if I need to reformat my tables.
Any help would be greatly appreciated!!!
medication name, dose, lot number, and expiration date. There may be many
entries with same medication name and dose but the lot number will be unique.
The other table is one which patient names will be placed along with the
medication we are giving (samples), name, number of samples, lot number, and
expiration date. What I need is how to get the total number available of each
medication and dose (of all lot numbers) AND when I sign out a medication to
a patient, it will decrease the amount that was signed in under that lot
number and decrease the total amount. I.e. Jane Doe receives #30 of
Amoxicillin 500mg Lot #ABC. It will automatically decrease my inventory of
Amoxicillin Lot #ABC by #30 and decrease my total of Amoxicillin 500mg by 30.
Am I making sense? It is just two tables but I am a novice at access and
can't figure how to make the relationships or if I need to reformat my tables.
Any help would be greatly appreciated!!!