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

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

Recommended Posts

Posted

I am able to push data from FMP to Address Book via AppleScript:

tell application "FMPA 11"

	tell current record

		set theFirstName to cellValue of cell "name_first"

		set theLastName to cellValue of cell "name_last"

		set theOrg to cellValue of cell "company"

	end tell

end tell



tell application "Address Book" etc.




But what happens if the Company is not in the current record, but is a Parent Record (e.g. one company has many people).  Is it possible to set a variable to a Parent Record?




tell application "FMPA 11"

	tell current record

		set theFirstName to cellValue of cell "name_first"

		set theLastName to cellValue of cell "name_last"

		set theOrg to cellValue of cell "Company::company"

	end tell

end tell



tell application "Address Book" etc.




Note: 




set theOrg to cellValue of cell "Company::company"

does not work; I'm using it for illustration purposes. Does anyone know what will work, that is, how I can grab the Parent record?

Thanks.

Posted

The expression is valid and should work fine as is; there is some other problem.

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