Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi Guys

Filemaker doesn’t give me a 301 Error when trying to Insert an Open File, instead it just brings up a Error Box saying: "File is locked or in use". But shouldn’t I be able to stop this with Error Caption Set on and Get(LastError) ?

Maybe a Filemaker Bug B)

Thanks

Ron

Posted (edited)

Do you have Files and Records a little confused?

Error 301 will result when the RECORD is locked or in use. It does work too. Use the "Open Record" command to initiate the record lock and test for the error after that.

When trapping for errors bear in mind that the last error available is only relevant to the last script line executed. If you have another script step after the "Open Record" and it executes successfully then you will lose the error that you tried to trap for.

In other words the last error can only be trapped for on the following script line.

Edited by Guest

This topic is 6173 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.