How to perform SQL INSERT from vbs script

  • Thread starter Siegfried Heintze
  • Start date
N

NateBuckley

The following SQL statement works for me and is an insert

strSQL = "INSERT INTO tblEmployees [fldClockNo], [fldName] VALUES '" &
ClockNo & "', '" & name & "'"

Quite hard to make out the single quote characters but that works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top