Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Error

Status
Not open for further replies.

terawebwriter

Programmer
Nov 22, 2002
10
US
Could someone tell me what causes this error.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/AddRecords/AddRecord-catano.asp, line 15

This is what the SQL statment looks like:

sqlString = "INSERT INTO SoftwareLicenses (SoftwareName, SerialNumber, LicenseCount, OrderNumber, RegNumber, DatePurchased)"

sqlString = sqlString & " VALUES ('" & SoftwareName & "','" & SerialNumber & "','" & LicenseCount & "','" & OrderNumber & "','" & RegNumber & "','" & DatePurchased & "')"

SET RS = objConn.Execute( sqlString )

 
Check the security settings on the database (are you using pws/iis?) - you need to have write permissions for the user (all users perhaps - depending on who's going to use your application). If this isn't clear, tell me more about your set-up.

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top