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

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

Recommended Posts

Posted

I'm assuming that you just want to access data from the current record in your Applescript? If so then the syntax goes like this

tell application "FileMaker Pro"

tell database "MyFile.fp5"

-- Putting data into the database field

set cell "MyField" of current record to "this is sample data"

-- Getting data from the database field

set MyAppleScriptVariable to cell "MyField" of current record

end tell

end tell

In fact, I think the current record is the default, so you should be able to leave out the "of current record" part.

Posted

Hi Bob,

>>you should be able to leave out the "of current record" part.

If you don't specify the 'current record', the FIRST record of the found set will be changed.

Regards,

Ernst

  • 1 month later...
Posted

Warren Roberts said:

Can someone tell me how to select the current record in a scritp?

This question doesn't make any sense. If it's the current record, it's the current record. it is already selected. What are you trying to do?

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