That isn't MS SQL Server, it's MS Access, right?
Values (12343009,TRUE,'30/06/2022 11:57:35',RD,Descrizione,TRONCHETTI_RAME_12.IPT,20050082
What's "Descrizione" and the others; it's not a fix string literal?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Here is my SQL INSERT statement
sSqlInsert = "Insert into GruppoColl Values (12343009,TRUE,'30/06/2022 11:57:35',RD,Descrizione,TRONCHETTI_RAME_12.IPT,20050082,'Tipo B','Bombato',0,oransen,'In')"
Here is the error message:
HResult=0x80040E10
Message=No value given for one or more required parameters.
I know 'In' is a reserved word and that 'Tipo B' has spaces so I've put them in single quotes.
Here is the definition of the table in Access:
I've clearly missed something, but what?
That isn't MS SQL Server, it's MS Access, right?
Values (12343009,TRUE,'30/06/2022 11:57:35',RD,Descrizione,TRONCHETTI_RAME_12.IPT,20050082
What's "Descrizione" and the others; it's not a fix string literal?
Try with:
sSqlInsert = "Insert into GruppoColl Values ('12343009',TRUE,#2022/06/30 11:57:35#,'RD','Descrizione','TRONCHETTI_RAME_12.IPT','20050082','Tipo B','Bombato',0,'oransen','In')"