G
Guest
I have an update query which I'm using to write data from another Access
query into tables from an external non-Access database (that I've linked via
an ODBC driver).
When I try to run the query it asks me to manually input the parameter
values for every field in the query. It doesn't seem to be accepting the
output of the other Access query as the data to be written to the external
tables.
An example of the SQL code of the Update Query is below. Can anyone see any
problems with it?
Thanks,
FJ
UPDATE ExpenseLine SET ExpenseLine.Date = [Advances - Check
Table]!ChequeDate, ExpenseLine.Name = [Advances - Check Table]!CompanyName,
ExpenseLine.Amount = [Advances - Check Table]!SumOfAdvanceAmount,
ExpenseLine.[Memo] = [Advances - Check Table]!Notes, ExpenseLine.Ref =
[Advances - Check Table]!ChequeNumber
WHERE (((ExpenseLine.Account)="Bank Chequing") AND ((ExpenseLine.Save)=0));
query into tables from an external non-Access database (that I've linked via
an ODBC driver).
When I try to run the query it asks me to manually input the parameter
values for every field in the query. It doesn't seem to be accepting the
output of the other Access query as the data to be written to the external
tables.
An example of the SQL code of the Update Query is below. Can anyone see any
problems with it?
Thanks,
FJ
UPDATE ExpenseLine SET ExpenseLine.Date = [Advances - Check
Table]!ChequeDate, ExpenseLine.Name = [Advances - Check Table]!CompanyName,
ExpenseLine.Amount = [Advances - Check Table]!SumOfAdvanceAmount,
ExpenseLine.[Memo] = [Advances - Check Table]!Notes, ExpenseLine.Ref =
[Advances - Check Table]!ChequeNumber
WHERE (((ExpenseLine.Account)="Bank Chequing") AND ((ExpenseLine.Save)=0));