R
Rachel
I am hoping someone can help me with a query I have regarding a
database structure I am working on, and if there is any way to improve
what I have created. Basically, I need a solution that records pets,
treatments assigned to pets, and subsequent invoices for the
treatments. Pets can have more than one concurrent treatment, and
treatments can have several invoices.
I have created 3 separate tables (Pets, Treatments, Invoices) each
with a primary key being an auto-generated ID number. The pet_id is a
foreign key in the treatment table, and I have a one to many
relationship set up. The same goes for treatment_id in the invoices
table.
Can anyone think of a better way to do this using an ADP front-end to
a SQL Server database?
Many thanks.
database structure I am working on, and if there is any way to improve
what I have created. Basically, I need a solution that records pets,
treatments assigned to pets, and subsequent invoices for the
treatments. Pets can have more than one concurrent treatment, and
treatments can have several invoices.
I have created 3 separate tables (Pets, Treatments, Invoices) each
with a primary key being an auto-generated ID number. The pet_id is a
foreign key in the treatment table, and I have a one to many
relationship set up. The same goes for treatment_id in the invoices
table.
Can anyone think of a better way to do this using an ADP front-end to
a SQL Server database?
Many thanks.