Jump to content
Server Maintenance This Week. ×

How to set a specific value in a repeating field


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

Recommended Posts

  • 1 month later...

Don't know if this will work with FMP 6.

tell application "FileMaker Pro Advanced"

tell document "YourDB"

--assumes cell 2 has 2 or more repetitions

set repetition 2 of cell 2 of current record to "Test"

end tell

end tell

Edited by Guest
Link to comment
Share on other sites

  • 1 year later...
  • Newbies

set repetition 2 of cell 2 of current record to "Test"

Although this seems so incredibly straight-forward, this solution did not work for me. Does anyone else have a clue?

[color:red]UPDATE: The error I encountered was a variable typing error. I was using using variables instead of actual numbers, and AppleScript doesn't recognize the cell's type (e.g. "number") when copying the value into a variable.

Edited by Guest
RESOLVED
Link to comment
Share on other sites

This topic is 5456 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.