First, I am quite a beginner in macros.
I copied and edited meakasteve’s Listing A. It worked fine but:
In my case the relationship between tables is opposite. (TableA contais Properties and TableB Owners.) There can not be TableA_ID in TableB. Then, TableB opens only to the Record(0).
In the FormA there is a MainForm_Grid where I can choose a row (a Property). In the row exist both indexes, RowInA_ID and corresponding RowInB_ID (a Owner).
I have succesfully put both indexes in Global, but can not use them correctly to open the right form of record (that particular Owner). Should be simpel, but not for me, yet.
Listing A is found in question: Problems with OpenFormAtRecord()
Many thanks in advance for help. --vmjpak–