The "magic key" method is very neat (but requires a dedicated TO).
thanks Vaughan for your reply. i have searched and read about the "magic key" method. trying to understand the process is kind of mind boggling for me at the moment.
Don't try to understand how it works, just get it working.
am kinda wondering the same as you Isamudysan..
How i have solved it so far is to use this method:
Go to Layout
Go back to Layout
Dont like it, but it works and it doesnt show that its swapping layout.
Using go to layout is a perfectly valid way of creating records however when you start messing with layout level script triggers you have to keep track of the triggers and their many actions or build a way to disable them in certain conditions.
I'm sure their are other reasons for a way to create related records without context change but this is the first to come to mind.
Create related records via the "magic key" method is a great tool because it does not require change of context.
See the attached file and adjust as needed to fit your schema
relatedrecords.fmp12.zip 67.5 K