Pop_Access
Member
- Local time
- Today, 05:03
- Joined
- Aug 19, 2019
- Messages
- 66
- I intend to design new Access databased, I created 3 tables
1- tbl_room, PK roomID "Short Text"
2- tbl_bed PK roomID "Short Text" AND bedNO "Number"
3- tbl_item PK itemID "Number", bedNO "Number" AND roomID "Short Text"
I want to create correct relationship between them; knowing that the relationship should be as below:-
tbl_room with tbl_bed (one to many)
tbl_bed with tbl_item (one to many)
I already designed form (frm_room) which contains two sub forms (tbl_bed subform & tbl_item subform) to enter the data through it.
when I tried to connect tbl_bed with tbl_item I faced message "No unique index found for the referenced field of the primary table"
please see the attached file.
Attachments
Last edited: