I'm trying to set up a form to automatically populate certain fields when a user chooses a selection from a drop-down list. I know I have to use the AfterUpdate command, and I have found several different 'solutions' for this on the web, but nothing is working for me.
Layout is like this:
Table1.Column2 has an entry of 'ABC123'.
Table2.Column2 is blank.
I want to update Table2.Column2 with the value of Table1.Column2.
I have tried:
UPDATE Table2
SET Table2.Column2 = (SELECT Table1.Column2 From Table1 WHERE Table1.Column3 = Table2.Column3)
UPDATE Table2
INNER JOIN Table1 ON Table2.Column3 = Table1.Column3
SET Table2.Column2 = Table1.Column2
WHERE Table1.Column3 = Table2.Column3
In both cases, the query comes back blank.
Your help is appreciated!