Hello,
Upon trying to write the following subquery in the SELECT list of an UPDATE query, I get the following error messages: "...is not a valid name. Make sure that it does not include invalid characters or punctuation." Or "...Too many characters..."
However, when changing to a SELECT query, it runs fine. Is there some special syntactical convention that I am missing, or is it simply not possible to run a subquery within an Update?
Thanks much....ricky
BEGINNING_AMT
SELECT ENDING_AMT
FROM AL_MAN_METRIC_FINANCIAL_DELTA_FULL m2
WHERE m2.EFFECTIVE_DATE=Format(DateAdd("m", -1, AL_MAN_METRIC_FINANCIAL_DELTA_FULL.EFFECTIVE_DATE), "YYYY-MM-DD") AND m2.SEGMENT_ID=AL_MAN_METRIC_FINANCIAL_DELTA_FULL.SEGMENT_ID)
Upon trying to write the following subquery in the SELECT list of an UPDATE query, I get the following error messages: "...is not a valid name. Make sure that it does not include invalid characters or punctuation." Or "...Too many characters..."
However, when changing to a SELECT query, it runs fine. Is there some special syntactical convention that I am missing, or is it simply not possible to run a subquery within an Update?
Thanks much....ricky
BEGINNING_AMT
FROM AL_MAN_METRIC_FINANCIAL_DELTA_FULL m2
WHERE m2.EFFECTIVE_DATE=Format(DateAdd("m", -1, AL_MAN_METRIC_FINANCIAL_DELTA_FULL.EFFECTIVE_DATE), "YYYY-MM-DD") AND m2.SEGMENT_ID=AL_MAN_METRIC_FINANCIAL_DELTA_FULL.SEGMENT_ID)