December 31, 200718 yr 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 Thanks Ron
December 31, 200718 yr 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 December 31, 200718 yr by Guest
Create an account or sign in to comment