My apologies, I should have done more testing.
The following code does not work (same as before): tell application "FileMaker Pro Advanced" to tell layout "Temporary Folder Contents" tell (create new record) set {cell "thePrefix", cell "theNumber", cell "thePartLetter", cell "theRevision", cell "FileName", cell "theRest", cell "theExtension", cell "AttachmentType", cell "FileSize", cell "Contributor"} to {theprefix, theNumber, thePartLetter, theRevision, theFileName, theRest, theExtension, theKind, item i of theFolderSizeList, theContributor} end tell end tell
The newly created record is the last record not the current record:
tell application "FileMaker Pro Advanced" to tell layout "Temporary Folder Contents" create new record tell last record set {cell "thePrefix", cell "theNumber", cell "thePartLetter", cell "theRevision", cell "FileName", cell "theRest", cell "theExtension", cell "AttachmentType", cell "FileSize", cell "Contributor"} to {theprefix, theNumber, thePartLetter, theRevision, theFileName, theRest, theExtension, theKind, item i of theFolderSizeList, theContributor} end tell end tell
Hope I didn’t confuse anyone.
- David Crowe |