September 10, 201213 yr Newbies All, On one of our Filemaker Server 10 databases, a user has been getting intermittent errors when running a script, attached to a button: Unkown Error: -1728 Based on what I've learned from the user, the error happens right before a "show layout" command. (see below). I am suspecting the "set theInventoryID" command that executes right before the error: set theDatabaseName to "F&B POs" set theCellName to "Product ID" tell application "FileMaker Pro" set theInventoryID to contents of cell "ID" of current record tell database theDatabaseName -- -1728 error happens here!! show layout "Inventory - All Quantities" show every record ... What's the best practice in FM to bullet-proof against that? Something like? tell application "FileMaker Pro" try set theInventoryID to contents of cell "ID" of current record on error display dialog ("Make sure all inventory ids are valid") end try tell database theDatabaseName -- -1728 error happens here show layout "Inventory - All Quantities" show every record ... Thanks!
September 10, 201213 yr Automatic message This topic has been moved from "FileMaker Product Family → FileMaker Pro 10" to "FileMaker Server Administration → FileMaker Server → FMS on OS X".
Create an account or sign in to comment