..
..
--update OfficeDB with new Master mailbox settings
if boxFlag is true then
set catMailPath to (catName & ":" & mailBoxName as string)
tell application "FileMaker Pro Advanced"
try
tell record ID currentRec of table 1 of document odbActivities
set cell "Activity_mailbox_loc" to catMailPath
end tell
on error errMsg number errMsg
-- failed
display alert "Could not update Category Mail folder name" message ¬
"Check folder <" & catMailPath & ¬
">, redo operation (folders may exist now) or reset manually" as warning buttons {"Cancel"} default button 1
return {false}
end try
..
..