C
cjohnson300
Hi, I am trying to execute an INSERT INTO query using the command qdf.Execute
and the SQL string I am using is the following:
"PARAMETERS [Job Number] CHAR, [Invoice Number] CHAR, [Invoice Date]
datetime; INSERT INTO tblInvoices (JobNo, InvoiceNo, InvoiceDate) VALUES
([Job Number], [Invoice Number], [Invoice Date]);"
Every time I try to execute it, it says it cannot execute a select query.
The table is a linked ODBC table to a SQL Server 2000 database. I can
manipulate the table but just cannot make this query work. Please help!
Many thanks in advance for any comments
and the SQL string I am using is the following:
"PARAMETERS [Job Number] CHAR, [Invoice Number] CHAR, [Invoice Date]
datetime; INSERT INTO tblInvoices (JobNo, InvoiceNo, InvoiceDate) VALUES
([Job Number], [Invoice Number], [Invoice Date]);"
Every time I try to execute it, it says it cannot execute a select query.
The table is a linked ODBC table to a SQL Server 2000 database. I can
manipulate the table but just cannot make this query work. Please help!
Many thanks in advance for any comments