I occasionally prepare a variety of reports utilizing different fields from
this database that I export into Excel spreadsheets. I do not want to
memorize the numerous drug types that are associated with the drug names so
was hoping this information would automatically pop up in the desired field
in one uniform database.
I'm not suggesting that you memorize anything.
I have been told it can't be done but thought
perhaps they were wrong.
They were indeed wrong.
I have separate tables for different fields that I
have. Thanks anyway.
Please explain your table structures. Having one table for drug categories,
and an unrelated table for drug names would be a mistake - the whole POINT of
a database is to allow you to have information about entities (Drugs,
Categories, Prescriptions, Patients, etc.) properly related. Your Drugs table
should either contain a field for the category of that drug, or (if each drug
can be in multiple categories) you will need a third table linking drugs to
categories. It's very straightforward (given proper table structures!!!) to
create a Query joining multiple tables to export one field from this table,
one field from another.