Jump to content

Loop for repeating fields


This topic is 8432 days old. Please don't post here. Open a new topic instead.

Recommended Posts

In a table I have fourteen fields event [x] [date] and numOfDays [x] [number].

The scheduling layout should contain the first record and last record. My idea was to use two global repeating fields globalFirstRecord and globalLast to display these two records in the same layout. I am only able to assign the values in the following way:

GoToRecord [First]

SetField [

Link to comment
Share on other sites

Global or otherwise, in order to access the cells in a repeating field within a script, you will have to use the GetRepetition function to tell the script which cell repetition to set. Also when referring to a repeating field in any kind of calculation, you will have to tell which repetition in the repeating field to use. If you don't the FileMaker will just assume it the 1st rep.

HTH

Link to comment
Share on other sites

This topic is 8432 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.