Hello all,
I am trying to append a record from 1 table to another and I am having issues, it appends all of the records currently.
This is the current SQL statement,
INSERT INTO [Inventory Transactions] ( DHRID, ProductID, [DhrLot #], TransactionDate, TransactionDescription, UnitsReceived, SerialNum )
SELECT DISTINCTROW [Work Orders].DHRID, [Work Orders].PartID, [Work Orders].DHRNumber, [Work Orders].StartDate, [Work Orders].DHRDescription, [Work Orders].Qty, [Work Orders].SerialNum
FROM [Work Orders]
This does a fine job of appending all of the records but I only need the last record.
Thanks
Dave