You may want to compare what you have to the details of what is discussed in this thread: Need layout solution for nested portals...
On the other hand, a very small change to your script that causes FileMaker to lose the "focus" on the selected portal records may be at fault. Check for something like Commit Records that may be taking place at the wrong time.
Ultimately, you may need to post your script for others to examine.
To post a script to the forum:
- You can upload a screen shot of your script by using the Upload an Image controls located just below Post A Answer.
- You can print a script to a PDF, open the PDF and then select and copy the script as text from the opened PDF to your clipboard for pasting here.
- If You have FileMaker Advanced, you can generate a database design report and copy the script as text from there.
- If you paste a text form of the script, you can use the Script Pretty box in the Known Bugs List database to paste a version that is single spaced and indented for a more professional and easier to read format.
Ah, that was a setup I didn't think of. Thanks.
I managed to get the fields working, but not the portal. The detailed portal shows the same post several times.
The detailed portal shows the same post several times.
Unless you have duplicate records, you probably have fields from a different occurrence of the portal's table in the detail portal than that which is shown in "Show Related Records From" in "Portal Setup...".