I have my music database in Access. My SongFind Query has a field SongFile that lists the full file path name of each song. I have written code to open winamp and cycle through the SongFile column, but I can't figure out how to get that song file data into the shell code. The troublesome line is this:
Shell "C:\Program Files (x86)\winamp\winamp.exe /ADD " & ["SongFile"]
How do I get that field data into the shell code? Is it a syntax problem or what? Without the brackets around "SongFile" Winamp opens, Access runs through all the records in the right place, highlighting each file name as it goes, but instead of loading the song, it loads the word SongFile. Thanks.
Shell "C:\Program Files (x86)\winamp\winamp.exe /ADD " & ["SongFile"]
How do I get that field data into the shell code? Is it a syntax problem or what? Without the brackets around "SongFile" Winamp opens, Access runs through all the records in the right place, highlighting each file name as it goes, but instead of loading the song, it loads the word SongFile. Thanks.