Nathan87
Registered User.
- Local time
- Today, 12:44
- Joined
- Mar 8, 2013
- Messages
- 20
Hello. I'm trying to learn Access and can't seem to get my head wrapped around a concept that should be fairly straight forward (I think).
I am trying to make a simple database to start with 2 tables that are related with a one to many relationship. An Items table and a Pictures tables. The pictures table can contain multiple pictures for each item.
I was hoping to have the two table linked together so that on a form with with the Item details I could display the number of pictures. I started out by making 2 items in the Item table and then making 4 records in the Picture table. 3 pictures for Item 1 and 1 picture for Item 2. The problem is when the tables were linked and shown on a form, the form displayed Item 1 3 times (once for each picture). After digging some more in my Access book I realized when you have a 2 table linked together on a form you will get one record for each child and the rest of the information will be filled in for the parent. In other words by design I would have 3 records on the form for Item 1.
I'm not sure why you would want it like that. If I'm trying to show the details of each Item on a form, I don't want the item to show up 3 times because there is 3 pictures linked to that item.
It seems like I'm missing something obvious here.
In case, it helps at all I'm attached the database.
Thanks.
I am trying to make a simple database to start with 2 tables that are related with a one to many relationship. An Items table and a Pictures tables. The pictures table can contain multiple pictures for each item.
I was hoping to have the two table linked together so that on a form with with the Item details I could display the number of pictures. I started out by making 2 items in the Item table and then making 4 records in the Picture table. 3 pictures for Item 1 and 1 picture for Item 2. The problem is when the tables were linked and shown on a form, the form displayed Item 1 3 times (once for each picture). After digging some more in my Access book I realized when you have a 2 table linked together on a form you will get one record for each child and the rest of the information will be filled in for the parent. In other words by design I would have 3 records on the form for Item 1.
I'm not sure why you would want it like that. If I'm trying to show the details of each Item on a form, I don't want the item to show up 3 times because there is 3 pictures linked to that item.
It seems like I'm missing something obvious here.
In case, it helps at all I'm attached the database.
Thanks.