Let me start off by saying this is my first post here and I was unsure which category to post this under because it involves tables and forms. Please let me know if I need to bump it to a different thread!
Here is what I have built:
tblAlbums (Primary key field is albumID)
tblSongs (Primary key field is songID)
tblAlbums has a lookup field called songIDs, which allows multiple values so that one album can have multiple songs.
I have tried to create a form that allows you enter the album information (tblAlbums) and the song information (tblSongs) at one time and save the whole thing.
I created a main/master form, frmAlbum, and placed controls that allow the user to input album information. I then created a subform control for songs, so I can enter all the songs at the same time. I set the master property to AlbumID and the child property to songID. I have also tried setting the master property to songIDs (the lookup field in the album table).
When I open the form to use it, I can successfully create a new album, and as many songs as I want (the subform for song entry looks like a data sheet - not my preference, but I thought I could worry about handling an unknown number of record entries for songs later).
The problem I need help with is when I create the songs, I need them to link to the master record in tblAlbums and I am not sure how to accomplish this. Any pointers would be helpful, and if you need further information, please let me know! Thanks in advance for your assistance![]()