5 Replies Latest reply on Jan 11, 2013 2:38 PM by Maclurv

    Repeating container field issue

    Maclurv

      Hello!

      I'm converting a solution from FMP11 to FMP12. The FMP11 version had a repeating field (3) for a thumbnail picture that had a script that would put in up to three Picture ID's into the repeating ID field, and the container field was defined as a lookup based on the ID. Worked fine in 11. Does not work in 12. Sometimes I can see the thumbnail; othertimes, I get a counter-clockwise circle. Just does not work. The script that worked in 11 is:

       

      Set Variable ($GraphicID: Value: from portal selected)

      If (IsEmpty ( GetRepitition (idField; 1) )

      Go to Field (idField)

      Set Field (idField; $GraphicID)

      Commit Record

      Exit Script

      Else If (IsEmpty ( GetRepitition (idField; 2) )

      Go to Field (idField [2])

      Set Field (idField[2]; $GraphicID)

      Commit Record

      Exit Script

      Else If (IsEmpty ( GetRepitition (idField; 3) )

      Go to Field (idField [3])

      Set Field (idField[3]; $GraphicID)

      Commit Record

      Exit Script

      End If

       

      Why is this not working in 12? I'm using OS X 10.6.8 on an iMac if that is a potential issue.

       

      Thanks for any assistance.