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

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

Recommended Posts

Posted

How do you go to the next record with AS?

tell application "FileMaker Pro"

create new record

go to current record + 1

--or

go next

--or

go next record

end tell

Thanks

Chas

Posted

I think you'd need to do that with a script:

do script FileMaker script "Go Next"

...where "Go Next" is a FileMaker script you've created.

Posted

Why do you want to create a record and then go to some OTHER record?

Note also that depending on sort order you really don't have any idea where that other record is. If what you want to do is go the record you created, then you would do something like this:

set NewRec to (create new record)

-- result: recordID blah of database blah of application Filemaker Pro

go to NewRec

Posted

THanks guys.... That will work...

Bruce,

The reason I want to do this is to gather file references about images. I want to loop the AS to have a new record for every image - I need to create a new record for every image in the loop.

Thanks

Chas

Posted

Then you definitely do NOT want to do what your request said or what Tom suggested. You'll be in no-where land. You have no idea what record you'll end up on. At least the method I suggested will put you on your new record. Applescript is cool; but why do any of this with applescript? It would also be better if you supply more information about what you are trying to do.

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