Ok great! Now I'm getting a syntax error in my SQL statement. Also you don't need the column names unless your adding info to items that are not in order. Anyway, I'm getting a syntax error now. What's wrong with it now?
VB Code:
  1. 'Use SQL to insert the information in the strings into the table
  2. SQL = "INSERT into " & table & "(FilePath, Filename, Filesize, Artist, Title, Album, Frequency, Bitrate, Length, Track)VALUES ('" _
  3. & Replace(strFilepath, "'", "''") & "','" _
  4. & Replace(strFileName, "'", "''") & "','" _
  5. & Replace(strFileSize, "'", "''") & "','" _
  6. & Replace(strArtist, "'", "''") & "','" _
  7. & Replace(strTitle, "'", "''") & "','" _
  8. & Replace(strAlbum, "'", "''") & "','" _
  9. & Replace(strFrequency, "'", "''") & "','" _
  10. & Replace(strBitrate, "'", "''") & "','" _
  11. & Replace(strLength, "'", "''") & "','" _
  12. & Replace(strTrack, "'", "''") & "')"
  13. Cnn.Execute (SQL)