I'm grateful for suggestions from BruceR and jmormond. Each of you provided steps that seem simple and easy to do. Nevertheless, I'm still failing. Somewhere I must be missing a key point.
I readily get file A to create a new blank record in file B. (Or a Table defined in A so that it contains a view of B.)
But I still haven't managed to create the value that links the newly created record in B to the current record in file A.
While A is linked to B by way of the field "RecordNumberFromA"
. [color:blue]Set Field [TableB::RecordNumberFromA; $ID]
doesn't produce an error message, but nevertheless leaves the field blank (even though $ID has been set correctly).
I thought "Well, if my new record starts with a blank in the match field, how can FM know in what record it's supposed to write $ID ??"
So I created (within A) a tables that is a view of file A and another that is a view of file B, but did NOT link them. Then, trying to write into B's field RecordNumberFromA fails, I get the message "This operation could not be completed because the target is not part of a related table." OK, when they're not related, I can't write.
But when they _are_ related, how do I set the value in B's new record that will relate it to he current record in A? Is it possible some other issue is preventing writing into the new record?
If you'd care to suggest a text in which I could look for more discussion, I'd appreciate that too.