Is the target repetition present on the layout?
Yes, the repetition is visible on the layout (on a tab) and it is editable. I'm using applescript to ask the user a bunch of questions and then build a string of HTML that can be pumped into the field. Right now I'm forced to set the clipboard (or a global field) and then do more scripting which is very annoying...I just want to be able to set the specific repetition but I can't figure out the syntax.
set repetition 3 of cell "HTMLArray" of current record to "some text"
It doesn't work. I can get:
set repetition 1 of cell "HTMLArray" of current record to "some text"
to work but as soon as I try:
set repetition 2 of cell "HTMLArray" of current record to "some text"
(or any repetition greater than 1) I get Applescript Error: "Object not found". The field, with 10 repetitions, is on the layout.
I don't know. I have just tested this again, and it works for me (FMPA 10, OS X 10.5.7).