AnsweredAssumed Answered

Exit after last not working in FMGo! 15

Question asked by KevinDunajski on Dec 1, 2016
Latest reply on Jan 18, 2017 by TSGal

I have a script that has stopped behaving after upgrading from FMGo 14 to FMGo 15 (downloaded on 12/1/2016).  It seems pretty straight forward:




Go to Portal Row [ Select ; First ]




Set Field [ Items::Include in List ; "Yes" ]

Go to Portal Row [Select ; Next ; Exit after last]


End Loop




The problem is that it doesn't exit after last.  There are three items in the portal, plus one of those empty rows you get when you check "Allow creation of records in this table via this relationship".  I've dropped a dialog box in between the Set Field and Go To steps, identifying the portal row, and get back the result:


"On portal row 1"

"On portal row 2"

"On portal row 3"

"On portal row 0"


And then those four results continue to repeat until I force the app to quit.  As I stated at top, it worked fine in Go 14 (and 13, for that matter).  Have I found a bug, or am I committing a grievous coding error?