Jump to content

Improved Error Feedback with Minor Code Changes


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

Recommended Posts

When EasySync encounters an error it passes the error back, which is great. When there is a 102 error it tells us that a field is missing. But from which table? It would help to know where we should start to look.

In the Server Side scripts at about line 295 in "Process Payload from Client" I've modified the value of the $LastError variable returned for an 102 error to this:

"Field " & $field_name & " is missing from table " & $table_name & ". FileMaker Error Code 102."

It provides the user with better information. The result of the error is something like this:

Field BranchName is missing from table ES_Memberships. FileMaker Error Code 102.

 

Edited by m_fitzgerald
Link to comment
Share on other sites

This topic is 2235 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
 Share

×
×
  • Create New...

Important Information

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