abowlofsoda
New member
- Local time
- Today, 06:06
- Joined
- Mar 14, 2011
- Messages
- 6
I am a database and Access newbie. I am using Access 2007 to build a database of Contacts. These contacts are businesses that carry 10 products we are looking for. Some businesses carry 1 of them and some carry all 10 (and many of them somewhere in between).
I want to create queries that search for 1 of those 10 Products based on City or State, that way we can contact local business first to check on availability.
I have a Contacts table modified off the defaul Contacts template. It has a Business ID, Business name, Business Phone, state, city, and what Products they cary (each product is its own column ex. Product1, Product2,... thru 10)
I have a City, State table that I purchased and downloaded. It does not have any ID column. Tried to add a autonumbered ID field but it wouldn't let me as there is already data in the table. There are too many cities and states to number them manually.
I have a Product table that has Product ID for each of the 10 products. This table will expand over time as more Products are added.
I am trying to wrap my brain around how to search for a Product in a particular City, and show me the Business w/Phone that would carry said Product.
I been studying Relationships but I just don't get it.
Tables
Business ID
Business Name
Business Phone
Product1
Product2
Product3
Product4
Product5
Product6
Product7
Product8
Product9
Product10
(this one has no ID yet)
City
State
ZIP
ProductID
Product
Any direction will help. I been reading and reading and watching youtube videos but haven't been able to figure it out.
I want to create queries that search for 1 of those 10 Products based on City or State, that way we can contact local business first to check on availability.
I have a Contacts table modified off the defaul Contacts template. It has a Business ID, Business name, Business Phone, state, city, and what Products they cary (each product is its own column ex. Product1, Product2,... thru 10)
I have a City, State table that I purchased and downloaded. It does not have any ID column. Tried to add a autonumbered ID field but it wouldn't let me as there is already data in the table. There are too many cities and states to number them manually.
I have a Product table that has Product ID for each of the 10 products. This table will expand over time as more Products are added.
I am trying to wrap my brain around how to search for a Product in a particular City, and show me the Business w/Phone that would carry said Product.
I been studying Relationships but I just don't get it.
Tables
Business ID
Business Name
Business Phone
Product1
Product2
Product3
Product4
Product5
Product6
Product7
Product8
Product9
Product10
(this one has no ID yet)
City
State
ZIP
ProductID
Product
Any direction will help. I been reading and reading and watching youtube videos but haven't been able to figure it out.