kennedymr2
Programmer
I am interested in a simple way of carrying out the following using ADO
I am using Access 2007.
InsertOneTimeInvoice is an append query, which has a lot of complicated formula's etc..
I am trying to avoid creating a massive sql statement, and just use the stored access 2007 query.
There seems to be several ways of doing it.!!
Is there an 'easy' way ..???
Current method....
Dim qdf As QueryDef
Set db = CurrentDb
Set qdf = db.QueryDefs("InsertOneTimeInvoice")
qdf.Parameters(0) = Invoice
qdf.Parameters(1) = order
qdf.Parameters(2) = overseas
qdf.Execute
Appreciate some advice
Kennedymr2
I am using Access 2007.
InsertOneTimeInvoice is an append query, which has a lot of complicated formula's etc..
I am trying to avoid creating a massive sql statement, and just use the stored access 2007 query.
There seems to be several ways of doing it.!!
Is there an 'easy' way ..???
Current method....
Dim qdf As QueryDef
Set db = CurrentDb
Set qdf = db.QueryDefs("InsertOneTimeInvoice")
qdf.Parameters(0) = Invoice
qdf.Parameters(1) = order
qdf.Parameters(2) = overseas
qdf.Execute
Appreciate some advice
Kennedymr2