I can take VB, but I HATE VB w/ SQL! I've been messing with this forever, and I have to have gotten EVERY possible error. What's wrong with it now? There's supposedly another error in the SQL statement. Someone help me before I give up on my program!
VB Code:
  1. SQL = "INSERT into " & table & "(FilePath, Filename, Filesize, Artist, Title, Frequency, Bitrate, Length) VALUES ('" _
  2. & Replace(strFilepath, "'", "''") & "','" _
  3. & Replace(strFileName, "'", "''") & "','" _
  4. & Replace(strFileSize, "'", "''") & "','" _
  5. & Replace(strArtist, "'", "''") & "','" _
  6. & Replace(strTitle, "'", "''") & "','" _
  7. & Replace(strFrequency, "'", "''") & "','" _
  8. & Replace(strBitrate, "'", "''") & "','" _
  9. & Replace(strLength, "'", "''") & "')"
  10. Cnn.Execute (SQL)