All,
I've previously posted about my music database which is working well and proving very helpful (no doubt to the fantastic help on this forum). However, I want to see if it is possible to do something for data entry purposes.
I have a junction table where Musicians (MusicianID) and Roles (RoleID) are combined with Tracks (TrackID) (i.e. who plays what on which track). Let's call this TrackRoles information. However, sometimes I add a CD that is already on the database but might, for example, have a different mastering. In that situation, for data entry it makes sense to copy over the existing information. At present, I use combo boxes to copy the TrackRoles information for each Track individually (select the Source Album/Track and Insert Into the junction table for the Destination Album/Track). So if there are 12 tracks I do this 12 times, once for each Track.
So, to the question. Is it possible to use two Multi-Select listboxes? The first would show the 12 TrackIDs on the Source Album and the second the 12 TrackIDs for the Destination Album (the albums selected using combo boxes). I would then want to press a button that would run code and insert into the junction table the MusicianID/RoleID information from the Source TrackIDs into the Destination TrackIDs. In essence, it would map the information from the first entry in the first listbox to the first in the second listbox, the second to the second and so on. Obviously the number of selections in each listbox would need to be the same.
I'm not sure if this is actually possible but thought it was worth checking anyway. Any ideas/help much appreciated.
I've previously posted about my music database which is working well and proving very helpful (no doubt to the fantastic help on this forum). However, I want to see if it is possible to do something for data entry purposes.
I have a junction table where Musicians (MusicianID) and Roles (RoleID) are combined with Tracks (TrackID) (i.e. who plays what on which track). Let's call this TrackRoles information. However, sometimes I add a CD that is already on the database but might, for example, have a different mastering. In that situation, for data entry it makes sense to copy over the existing information. At present, I use combo boxes to copy the TrackRoles information for each Track individually (select the Source Album/Track and Insert Into the junction table for the Destination Album/Track). So if there are 12 tracks I do this 12 times, once for each Track.
So, to the question. Is it possible to use two Multi-Select listboxes? The first would show the 12 TrackIDs on the Source Album and the second the 12 TrackIDs for the Destination Album (the albums selected using combo boxes). I would then want to press a button that would run code and insert into the junction table the MusicianID/RoleID information from the Source TrackIDs into the Destination TrackIDs. In essence, it would map the information from the first entry in the first listbox to the first in the second listbox, the second to the second and so on. Obviously the number of selections in each listbox would need to be the same.
I'm not sure if this is actually possible but thought it was worth checking anyway. Any ideas/help much appreciated.