Creating a db

G

Guest

I am trying to create a db. So far I have two tables, one is for providers
and the other is for the services the provider offer. I need to know how to
link these to tables. Provider has info such as provider name, provider id,
address, phone, ect. The services table has service provided and service id.
I don't know how to create the relationship between them so that I can
either have provider showing the services they offer or by services by the
provider. Need help.
 
G

Guest

You need a third table - Provider_Servie. Have a primay key field in both
the provider and service table. In the Provider_Servie table have foreign
key field to set a one-to-many relationship from the provider and service.
In the Provider_Servie table have files like StartDate, EndDate, Contact,
Price, Terms, etc.

Use form/subform for data entry.
 
G

Guest

Thanks for your help.
--
pat


KARL DEWEY said:
You need a third table - Provider_Servie. Have a primay key field in both
the provider and service table. In the Provider_Servie table have foreign
key field to set a one-to-many relationship from the provider and service.
In the Provider_Servie table have files like StartDate, EndDate, Contact,
Price, Terms, etc.

Use form/subform for data entry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top