Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I need to locate a record on a specific layout and set one of the cells to a value. I have done this thousands of times in FMP6 but am having great difficulty in FMP7. Can anyone help me please?! Here's my code...

tell application "FileMaker Pro 7"

tell database "IMS"

go to layout "shell [imageTemp Lookup]"

show(every record whose cell "id" contains "T0000003")

set cell "status" of current record to "Completed"

end tell

end tell

--This causes "Event Failed" error.

Posted

I need to locate a record on a specific layout and set one of the cells to a value.

tell application "FileMaker Pro 7"

tell database "IMS"

go to layout "shell [imageTemp Lookup]"

show(every record whose cell "id" contains "T0000003")

set cell "status" of current record to "Completed"

end tell

end tell

--This causes "Event Failed" error.

I think you may need to be more explicit in the set cell step.

set cell "status" of current record of table "ImageTemp Lookup" to "Completed"

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