March 16, 200916 yr Is it me or has FMP 10 changed the way to obtain the contents of the first field of a repetition field. Many many scripts are having bugs suddenly. In FMP 9 it works perfect. Unless I use the GetRepetition( field; 1) they are not working properly. Quite a pain in the #$@@ : *sigh*
March 16, 200916 yr Author It took me some time to break it down into a small piece. Can even get smaller but here is the basis of my setup. I notice that it is not a matter of version FMP9 or 10. But I believe somewhere in the upgrading I'm started to get this problem. In the example you can see that GetRepetition is needed for the first field in orde to have the script to work. GetRepetition.fmp7.zip
March 16, 200916 yr You didn't say there were TWO repeating fields involved. The way it works when you set a specific repetition of a field, and there is a repeating field referenced in the calculation, Filemaker automatically gets the corresponding repetition of the referenced field. IOW, Set Field [ RepeatingTarget [3] ; RepeatingSource ] is interpreted as: Set Field [ RepeatingTarget [3] ; RepeatingSource [3] ] There's no change here, it has been that way since forever.
Create an account or sign in to comment