Updating a target field via portal
I'm a newbie, and this is probably a problem with an easy solution; if its been asked before, I apologize.
I have 2 tables, a layout based on Table A, containing a Portal to Table B, and a separate container field (for photos) from Table B.
I want to be able to select a record in the Portal and have the container field in Layout A update its target to the record currently selected in the Portal.
How do I accomplish this? I've tried different script steps and nothing seems to work.