October 18, 200421 yr 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
October 18, 200421 yr 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.
October 18, 200421 yr 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
October 19, 200421 yr Author 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
October 19, 200421 yr 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.
Create an account or sign in to comment