chriscrowhurst
IS-IT--Management
Hi,
In one of my VFP7 apps the company runs, I am occasionally getting the following error when a form loads :
Error loading file - record number 35. frmSiteVisitUpload. Loading form or the data environment : File access is denied THISFORM
The form is automatically launched from a timer and I cannot reproduce the error so it is tricky to debug! I have seen this type of error before, but only if a form is trying to open a table that is opened exclusively elsewhere, so that has been easy to fix.
I have opened the SCX and browsed record 35 and it contained details about the form itself, and not a object withing the form. I could not see anything in particular that was suggesting a file access is denied error.
I have checked the form to make sure in the data environment all tables are open shared. I have removed the few views it was using and replaced with queries to see if that made a difference.
Can anyone shed some light as to what might be causing this, as I am running out of things to check for ?
Cheers
Chris
In one of my VFP7 apps the company runs, I am occasionally getting the following error when a form loads :
Error loading file - record number 35. frmSiteVisitUpload. Loading form or the data environment : File access is denied THISFORM
The form is automatically launched from a timer and I cannot reproduce the error so it is tricky to debug! I have seen this type of error before, but only if a form is trying to open a table that is opened exclusively elsewhere, so that has been easy to fix.
I have opened the SCX and browsed record 35 and it contained details about the form itself, and not a object withing the form. I could not see anything in particular that was suggesting a file access is denied error.
I have checked the form to make sure in the data environment all tables are open shared. I have removed the few views it was using and replaced with queries to see if that made a difference.
Can anyone shed some light as to what might be causing this, as I am running out of things to check for ?
Cheers
Chris