Oct 01 2022 01:04 PM
Hello experts, I have an update query SQL below and I am getting an error message. Do you see anything obviously wrong with it? I am not sure why I am getting that error msg in the screen shot.
UPDATE tblFXParent INNER JOIN qryFXSettDtCLast ON tblFXParent.IDFXParent = qryFXSettDtCLast.IDParentfk SET tblFXParent.DateSettleC = [qryFXSettDtCLast].[LastOfDateSettle];
thank you
Oct 01 2022 01:12 PM
Oct 01 2022 01:29 PM
Ok that makes sense. qryFXSettDtCLast is an aggregate query. Do you happen to know of a workaround? I definitely need to update tblFXParent.DateSettleC to the LAST of Date Settle as found in [qryFXSettDtCLast]
If it helps, below is my sql of qryFXSettDtCLast
SELECT tblFXRollsChild.IDParentfk, Last(tblFXRollsChild.DateSettle) AS LastOfDateSettle
FROM tblFXRollsChild
GROUP BY tblFXRollsChild.IDParentfk;
Oct 01 2022 02:25 PM
@Tony2021 I am working on a tablet (Android} now and need to try some things first. I will be back later.
Oct 02 2022 12:52 AM
SolutionOct 02 2022 12:52 AM
Solution