The parent file contains all the specifics of the book or video (name, author, copy right, etc.) One of the items it has is what's called a call number made of of a topic category, sub topic category and a sequence number. The child also contains this call number as well as the fields for the person who checked it out, the check out date, due back date and returned date. To determine if it's checked out one checks that the checked out date for an item contains a date while the returned field is empty.
I can run the script and it will go to the first record of the parent table and then pull up the first record of the child table (assuming that the item has a related record). After that is continues looping in the portal and never shows any other related records in the child table regardless if it has any and never exits that loop.
I'm using the go to record/request. page [first] record script step for the parent table and go to portal row [first] for the child table. I'm using the go to record/request/page [Exit after last, next] to increment through the parent table and go to portal row [Exit after last, next] to increment through what I hope is the child records with the matching call number.
I'm also running FIlemaker Pro 5.
Thanks!