filemaker go to the next record

How can I tell to filemaker to go to the next, or previous record??

Thanks

The “Go to Record/Request/Page” script step already built into FileMaker has all of those options and more. You could just make a one step script in FileMaker with say, [next] or [previous] as the option, name and save it. From AppleScript, you can trigger it with:

tell app "FileMaker Pro"
do script "Go to Next Record"
end tell

You could also use the syntax:

go to record after current record

thank you!

the syntax go to record after current record is right for me!!!

Thanks