What am I doing Wrong!?
The Insert SQL statement:
SQL = "INSERT INTO test.txt VALUES(strName,strStreet,strCity,strState,strZip)"
NOTE: the variables come from a firm and are DIM'd prior to the statement.
The Error:
Error Type:Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)[Microsoft][ODBC Text Driver] Too few parameters. Expected 5.
Help! Larry
SQL = "INSERT INTO test.txt VALUES('Name','Street','City','State','Zip')"
This yields the text,ie: 'Name'(single for double quotes here), into the data fields in the record.
Im a bit lost on the talk of single vs double quotes too.
All quotes should be single
------------------Spooky"I am Spooky of Borg. Prepare to be assimilated, babycakes!"Subscribe to OutFront NewsDatabase / DRW Q & AThe Spooky Login!