You can just read the last paragraph - that has the whole question, the rest is just background!
I am using Access 2007 and am making a pretty complicated database with a subform. This then sends some of the form names to the query which generates a report. All of this works fine except for one part. This is because there is a relationship shown below:
DB1 DB2
Ref No <-----> Ref No
Branch Branch
All the info is on DB1, and, once I enter the Ref on DB2 and close & reopen the form or go back and then forward records, the Branch automatically appears. The branch has to appear before the query works.
Can I get Access to update the table (with the Branch) without having to close & reopen (or refresh by pressing F5, which also works) - maybe a macro that refreshes once the Ref No has been updated?