getError
Retrieves the result of Get ( LastError ) and sets 2 additional variables to help with debugging.
Average rating: 4.0 (1 vote) Log in to vote
Josh Ormond - Show more from this author
Iozax, LLC http://iozax.com |
$errorDetail: account name of the user with the record lock
$errorMessage: "ERROR # 301: Record is in user by another user" ( no quotes )
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns the result of Get ( LastError ), and sets two additional variables named $errorDetail, and $errorMessage.
• Get ( LastExternalErrorDetail ) in FM16, or above, returns the account name of the user with the record lock.
• errorMessage ( ) returns the text of the description of the error number from the Get ( LastError ) function.
Requires the custom function errorMessage ( ): https://www.briandunning.com/cf/2265
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.