Update Query?

snagrat

Registered User.
Local time
Today, 03:36
Joined
Apr 2, 2002
Messages
61
I cuurent have two tables which store my data.

When a command button is clicked on my form I want all the data from one table to be moved to the other. I thought about using an Update Query however this does not work.

I design it using QBE, but here is the SQL of the query:

UPDATE tblTemp, tblInvoice SET tblTemp.CustomerID = tblInvoice!CustomerID, tblTemp.ProductID = tblInvoice![Product ID], tblTemp.Quantity = tblInvoice!Quantity, tblTemp.Price = tblInvoice![Price Each], tblTemp.[Line Price] = tblInvoice![Amount exVAT];

Anyone see why this is not working?
 

Users who are viewing this thread

Back
Top Bottom