Jump to content
Server Maintenance This Week. ×

Debugging Intermittent Client Errors -1728


slinky66

This topic is 4248 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 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!

post-107372-0-00461900-1347282616_thumb.

Link to comment
Share on other sites

This topic is 4248 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.