dwcrockford
New Member
- Joined
- Sep 1, 2015
- Messages
- 27
Hi All, it's been a few years since I've sought out Access help and need some guidance once again.
I am designing a choir music database... most of which is completed but I am having a problem it getting a form to display info correctly on two forms that I want to be inter-related (for lack of a better term.
The two tables involved are:
tblMusicDetails (contains all information about the songs; title, publisher, composer, etc.)
tblPerformances (contains info regarding performance title, location, date)
Both tables have a relationship to SongID for referencing
For data entry purposes, the "forms" are:
frmMusicDetails
frmPerformances
I am having difficulties in the following:
On the frmPerformances form, I want to add a set list of songs performed at that event - a combo box drop down in a datasheet view. Based on the song titles in the tblMusicDetails table.
Secondly, on the frnSongDetails form, I want to add the list of all performances that the particular song was performed in - again, in datasheet view based on the tblPerformances table.
Intent-wise, is to be able to enter information on EITHER of the forms, and the information would automatically appear in the other form in the appropriate area.
I have attempted adding a subform to the Performance form to allow such a thing, however, the combobox does not show any results. If I look at the subform directly (as it's own form), everything needed shows up (songID, SongTitle).... If I try to enter song title in the parent form, there is nothing in the dropdown (datasheet view) to choose the song, or to begin typing it and it shows up). It also gives me the error of not allowed to enter info, even though the subform is set to allow edits.
I have a "temp" form set up for performances that allows me to add songs (based on MusicDetails table) but each song is it's own combo box rather than a datasheet view (don't ask - it's the only way I could get it to work "OK") but not the results I am looking for (info enter in Performances, does not currently populate info on the MusicForm.
I know, most will need more information/details, but this is a start. I'm obviously missing something (field?) I need in one or both of the tables, but my brain cannot yet figure it out based on the current structures.
Help is appreciated.
Daryl
I am designing a choir music database... most of which is completed but I am having a problem it getting a form to display info correctly on two forms that I want to be inter-related (for lack of a better term.
The two tables involved are:
tblMusicDetails (contains all information about the songs; title, publisher, composer, etc.)
tblPerformances (contains info regarding performance title, location, date)
Both tables have a relationship to SongID for referencing
For data entry purposes, the "forms" are:
frmMusicDetails
frmPerformances
I am having difficulties in the following:
On the frmPerformances form, I want to add a set list of songs performed at that event - a combo box drop down in a datasheet view. Based on the song titles in the tblMusicDetails table.
Secondly, on the frnSongDetails form, I want to add the list of all performances that the particular song was performed in - again, in datasheet view based on the tblPerformances table.
Intent-wise, is to be able to enter information on EITHER of the forms, and the information would automatically appear in the other form in the appropriate area.
I have attempted adding a subform to the Performance form to allow such a thing, however, the combobox does not show any results. If I look at the subform directly (as it's own form), everything needed shows up (songID, SongTitle).... If I try to enter song title in the parent form, there is nothing in the dropdown (datasheet view) to choose the song, or to begin typing it and it shows up). It also gives me the error of not allowed to enter info, even though the subform is set to allow edits.
I have a "temp" form set up for performances that allows me to add songs (based on MusicDetails table) but each song is it's own combo box rather than a datasheet view (don't ask - it's the only way I could get it to work "OK") but not the results I am looking for (info enter in Performances, does not currently populate info on the MusicForm.
I know, most will need more information/details, but this is a start. I'm obviously missing something (field?) I need in one or both of the tables, but my brain cannot yet figure it out based on the current structures.
Help is appreciated.
Daryl