miramaya Posted April 16, 2001 Posted April 16, 2001 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 [
WBlanchard Posted April 16, 2001 Posted April 16, 2001 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
miramaya Posted April 16, 2001 Author Posted April 16, 2001 I understand, but I am not able to alter the code and incorporate in a loop: GoToRecord [First] SetField [
LiveOak Posted April 16, 2001 Posted April 16, 2001 Great Idea! But you can't do it. FileMaker cannot access a give repeat of a repeating field based upon a variable (field). I would probably use a relationship and a portal to build the tables. -bd
Recommended Posts
This topic is 8662 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 accountSign in
Already have an account? Sign in here.
Sign In Now