Hi there!
I've got a listbox (SelectedSongs) which lists selected songs that is fed by a table containing: My primary key (SongID) then a PrintOrder number and finally the title of the song in the third column.
Here's the code I have in the double click event:
The code works but it is reading the number of songs contained in the listbox and going to said record. So, if I fill the listbox with, say, 5 songs and I double click the fifth songs, the above code assumes that the SongID is "5" not SongID 94 as it should for that specific selection.
I tried using a string variable to refer specifically to the song title but I failed.
Any suggestions? Thank you much!
I've got a listbox (SelectedSongs) which lists selected songs that is fed by a table containing: My primary key (SongID) then a PrintOrder number and finally the title of the song in the third column.
Here's the code I have in the double click event:
Code:
Me.Recordset.FindFirst "SongID=" & Me.SelectedSongs
The code works but it is reading the number of songs contained in the listbox and going to said record. So, if I fill the listbox with, say, 5 songs and I double click the fifth songs, the above code assumes that the SongID is "5" not SongID 94 as it should for that specific selection.
I tried using a string variable to refer specifically to the song title but I failed.
Any suggestions? Thank you much!