N
nate
Hi i'm receiving -
Syntax error in INSERT INTO statement.
i'm using:
Set objCmd = Server.CreateObject("ADODB.Command")
Set objCmd.ActiveConnection = conn
objCmd.CommandText = "INSERT INTO portfolio
(title,date,dimensions,medium,type,file) VALUES
('test','test','test','test','test','test')"
objCmd.CommandType = adCmdText
'Execute the Command
objCmd.Execute
all the fields in the db are present and are correct.
my db connection works.
what am i doing wrong???
many thanks in advance.
Syntax error in INSERT INTO statement.
i'm using:
Set objCmd = Server.CreateObject("ADODB.Command")
Set objCmd.ActiveConnection = conn
objCmd.CommandText = "INSERT INTO portfolio
(title,date,dimensions,medium,type,file) VALUES
('test','test','test','test','test','test')"
objCmd.CommandType = adCmdText
'Execute the Command
objCmd.Execute
all the fields in the db are present and are correct.
my db connection works.
what am i doing wrong???
many thanks in advance.