Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

Get(LastError) not working properly (4 Comments)

$
0
0

Issue report by Warren Havens

Product

FileMaker Pro

Version

10.0v3

Operating system version

10.9.4

Description of the issue

I am using the following script:

Set Error Capture [Off]
Perform Find [Restore]
Set Variable [$LastError; Value;Get(LastError)]
Show Custom Dialog [$LastError]

I have made sure that the "Perform Find" step should return an error. When I run the script while on some layouts I get a Filemaker error, click "continue", then the Show Custom Dialog box shows "401". This is obviously the expected result.

When I run the script while on other layouts I get a Filemaker error, click "continue", then the Show Custom Dialog box shows "0". On still another layout, I got no error and a "0" which would be a fine result except that it shouldn't have found anything.

It is like my FMPro is wigging out! I can't see that I am doing anything wrong, yet I am not getting the expected results.

Any help would be appreciated.

Steps to reproduce the problem

Listed above.

Expected result

"401"

Actual result

"0"

Viewing all articles
Browse latest Browse all 3510

Trending Articles