Trigger relationship programmatically

Thanks for the added feature of building relationship between tables. What is the best way to trigger and update of a relationship. I know that entering a Tab or Return key on a Key Field in the Datasheet will trigger an update. CloseActionItem or entering a Tab or Return key in a Text Edit Object linked to a Key Field will also trigger an update. I have a case where I would like to trigger the update programmatically.

All the auto-join feature does is run the joinrecord statement. You can simply include that statement in your code when needed.