Hi Ailish,
instead of storing the Drug in your table, store SyrDrivID as a Long
Integer and set up these tables to define what goes into it:
SyringeDrivers
- SyrDrivID, autonumber, PK
- SyringeDriver, text -- for a verbal description
Drugs
- DrugID, autonumber, PK
- DrugName, text
SyringeDrivDrugs
- SyrDrivDrugID, autonumber
- SyrDrivID, long integer -- FK to SyringeDrivers
- DrugID, long integer, FK to Drugs
- DrugAmt, number, double (dug amount in cc's or however you measure it)
This way, you can have one or many drugs in a syringe and specify the
amounts as well
In the table you are talking about, you would store SyrDrivID as a Long
Integer and display SyringeDriver to the user
how to do this: make a combobox:
Name --> SyrDrivID
ControlSource --> SyrDrivID
Rowsource --> SELECT SyrDrivID, SyringeDriver
FROM SyringeDrivers
ORDER BY SyringeDriver
ColumnCount --> 2
ColumnWidths --> 0;2
ListWidth --> 2.2 (sum of column widths + 0.2" for scrollbar)
Warm Regards,
Crystal
remote programming and training
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*
have an awesome day
*