R
roberts
Hello,
I have a problem with making update query using ADO Command obj.
....
text = "insert into mat(month) values(200412)"
....
Set cmd = New ADODB.Command
cmd.ActiveConnection = con
cmd.CommandText = text
cmd.Execute
If I make regular Access query using the same text it updates without
problem. Also DELETE works well using this Command structure. But if I want
update it shows "INSERT INTO syntax error"
Thanx for any help
Robert S
I have a problem with making update query using ADO Command obj.
....
text = "insert into mat(month) values(200412)"
....
Set cmd = New ADODB.Command
cmd.ActiveConnection = con
cmd.CommandText = text
cmd.Execute
If I make regular Access query using the same text it updates without
problem. Also DELETE works well using this Command structure. But if I want
update it shows "INSERT INTO syntax error"
Thanx for any help
Robert S