lodmark
Member
- Local time
- Today, 15:15
- Joined
- Jul 24, 2020
- Messages
- 251
I know!The remark was not directed at you.
I know!The remark was not directed at you.
Thanks @MajPI fixed the record2 form. I made an important fix to the subform.
Although I have tried to be careful, it is very likely I have or will edited the data while testing. So I may not be the same as your good data. The beauty of the Split db is that I can do whatever I want to the data and send the FE back to you without worrying about messing up your data. Plus you can continue editing while I am working.I'm not sure of what you mean with the current version because the current version is the one that you are working on.
I haven't done any adding of record sins I've posted it to the forum
Test the below, it should be fixedWhat did you fix? I dont see the difference.
I did not see any sort issue problems, because what you describe already appears in the version I had. You are correct you cannot sortI noticed that the song disappears from the field in the form until I put the artist there, a little annoying but you get used to it.
It really does not matter, but if you are still working with the table design then you can hold off on splitting the database. But once it gets pretty solid I would split it.The split is interesting, I've read about it. But I thought I've change all the names first.
But at the same time it would still be possible to change them after the split.
Of course, it is best to make a split database. I'll look at this the day I have a database that I'm happy with.Although I have tried to be careful, it is very likely I have or will edited the data while testing. So I may not be the same as your good data. The beauty of the Split db is that I can do whatever I want to the data and send the FE back to you without worrying about messing up your data. Plus you can continue editing while I am working.
What below?Test the below, it should be fixed
Yes, and so it is in the query but something changes that. No I've sorted it in the form. It works.I did not see any sort issue problems, because what you describe already appears in the version I had. You are correct you cannot sort
A1, A10, A11, A2, A3...
You do have to sort the disc side A, B, C then the track 1,2,3
But this was working in my version.
The junction table for artist - record is gone.I personally am not so concerned about the names, but I would Strongly reconsider the junction tables for artist_record and artist_music. IMO these add more pain then benefit. In truth, I think logically these junctions are wrong. I would have a single artist "Donna Summers and Barbara Streisand". IMO that is a single "aritst". It is not Donna and Barbara as child records.
If you want child records so you can see the details of each artist then make a child table to artists.
tblIndividualArtist
CombinedArtistID_FK
IndividualArtistID_FK
So if BS is ID of 1, and DS is ID of 7 and "DS and BS" is ID of 15 then you would have values
15 1
15 7
In truth I doubt you would even really need to do something like this.
So I have a collaboration of Alison Kraus and Robert Plant in my tracks. My details on the artist are on the collaboration and not the each artist. I have a single image of both and not two seperate images.
View attachment 94055
If you do not do it this way you will have to do complex concatenations and searches. Using what you have in the treeview I get seperate albums under BS and DS which is not true. To then do the concatenation in the treeview would be really painful.
What form? Did you missed to add the file? Or do you mean the split version posted in #78?Now if you see my form I can search the database by name. So if I search DS then all of Donna's tracks come up as well as collaborations.
The issue below should be fixed:What below?
I noticed that the song disappears from the field in the form until I put the artist there, a little annoying but you get used to it.
I am suggesting to get rid of both junctions Record_Artist and Music_Artist. I would have just an Artist table., and tracks and albums reference a single artist. So these are all entered in the artist tableThe junction table for artist - record is gone.
I'm happy with the way that duets, and other songs that have more than one artist, are presented with the solution that you have developed for me, the code presented in # 43.
But I guess that solution presupposes that there is a junction table between artist and music.
What I am suggesting is not to use this solution and do away in what I believe is the problem. If you remove the junction table then this solution goes away. It may work, but the design is causing a lot of unnecessary issues.I'm happy with the way that duets, and other songs that have more than one artist, are presented with the solution that you have developed for me, the code presented in # 43
What form? Did you missed to add the file? Or do you mean the split version posted in #78?
To be clear these are just concepts and as I said I probably do not recommed to use a Treeview unless you really wanted to. I hope I made that clear. There are lots of ways to do this.several days and it seems this is becoming way more complicated than it needs to be. ACCESS form controls have their limitations so, I understand why you want to use a tree-view control but my experience is that they are unstable and difficult to implement. You can use continuous forms to achieve the same functionality
The concept is a continuous form and a robust means to filter that not necessarily a treeview. I would still go with the datasheet view that provides the sort and filter you want. I would probably replace the tree with listboxes to provide the same functionality just not as aesthetically pleasing.These are just demo concepts. You can do whatever you want with them. These are kind of advanced concepts, so I provide them with caution because if something does not work you may not be able to fix it. The treeview is very useful in my opinion but unfortunately it is not an Access control so it is not seamless.
The treeview is not the most stable thing. I tried to add multiple treeviews and it became untable. So I settle with the two. Here is the album view
This is the ablum-track view
Understood.The issue below should be fixed:
That will stir up my artist table as I want only one artist per post in that table. With the suggestion above the songs that are done as duetts or with guest performers will show up in it's own post as Peter Frampton and BeeGees and not together with each artist. My goal is that the song shows up together with other songs dona by The BeeGees and also together with Peter Frampton. Today I don't know how I will tell that the song is a duet in that form but it will come to me.I am suggesting to get rid of both junctions Record_Artist and Music_Artist. I would have just an Artist table., and tracks and albums reference a single artist. So these are all entered in the artist table
Bee Gees
BeeGees and Peter Frampton
Peter Frampton
BeeGees and Barry Gibb
Barry Gibb
In other words I recommend you go back to your original design. Records and Tracks have a foreign key to tbl_artists.
This I will try sometimes....What I am suggesting is not to use this solution and do away in what I believe is the problem. If you remove the junction table then this solution goes away. It may work, but the design is causing a lot of unnecessary issues.
What I may have is in the track table an additional artist field and I personally would just make it a text. Then you can those one offs like Run DMC walk this way where there is one track on the album with a featured artist.
Track Artist: Run DMC
Additional Artist: (featuring Aerosmith)
The reason I would simply make this text is that I do not think I want the junction table, for something that is the one percent problem. This requires entering a one off featured artist in the artist table, that you are unlikely ever to collect artist picture or facts on. That is my personal opinion.
If a track had a couple of extra artists then could simply do something like
Track Artist: Some Artist
Additional Artists: (SomeOther Artist, Another Artist, And Another Artist)
As I said, If you wanted to can add the child details to the artist table and have tblIndividualArtists.
Understood.
Sorry for the confusion. The only junction tables I thought I would not include are AlbumArtist and TrackArtist. This junction table is needed.How do I solve this without the junction table and without adding the song twice in the tracks table?
An album can definitely have a cohesive genre or vibe that ties it together as a whole, even if the individual tracks vary widely in style. The overall theme, production style, or artistic vision can create a unified feel that defines the album's genre, much like how LPs used to be categorized. It's the combination of all the elements that gives an album its unique identity.Of course tracks exist independently of records - compilation albums consist of (almost) nothing but tracks plucked out of their original home. Tracks on albums may be released as singles etc.
If it is important to keep track (sorry) of multiple appearances of the same track then that's really the obvious way of doing it - having the track as an entity in its own right and linking that track to however many different records it appears on, and using the linking table to store information specifically related to that track's relationship with each release (i.e. primarily the track's ordinal position on that particular record). A perfectly sensible approach, if that's what's trying to be achieved.
In third normal form terms, information such as artist and genre do clearly link with track rather than record - and so long as track equates to recording rather than song it's not going to change from one instance of a specific track to another.
On the other hand, clearly an album may have a genre of its own which is separate from the genres of the individual tracks - think of the old "File under..." exhortations that used appear on the backs of LP sleeves. I'm not saying there isn't a (musical rather than database) relationship between the two but equally not every track on an album has to fit a specific genre in order for an album to be considered 'electronica' or 'hip-hop' or 'jangly guitar pop' or whatever.
With artist too, especially when dealing with a desktop database and therefore a limit on processing power, disk IO etc, there may be a certain pragmatism to noting that the artist of a particular album is 'The Beatles' without having to examine the artists linked to each of a dozen tracks every single time you want to find it out.