You may have to introduce code that steps through the form to find out what it's doing just prior to the error. Another try is to fake NOFILTER by going with select .... into <unique name> along a different path.
Are the workstations working from their local disks or is a network path the default? -Lew Schwartz On Fri, Mar 29, 2013 at 5:37 PM, John J. Mihaljevic < john.mihalje...@gmail.com> wrote: > Hi all, > > I'm working on a system (VFP 6.0) that works just fine for one user. But > when a second user is in the system and tries to run a form that the first > user is on, they were getting the following message: > > Error loading file - record number 23. Form1 <or one of its > members>. Loading form or the data environment : File access is > denied > > I looked at the environment for the form and saw that a few tables were > being opened with Exclusive=.t. I changed that to .f. (as they didn't need > exclusive access anyway) and that error went away. > > But now, they're getting a more simple error: > > File access is denied. > > I see that two cursors are being created in the Load event of the form. And > since this is VFP 6.0, they're not read-write (I don't believe cursors > could > be read-write back in 6.0). Could that be the problem I'm having? If so, is > there any way to work around this? > > Thanks very much, > > John > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAFuU78dHHuY0pntsWoNXA22dsqWAdP66vHP15d1+6=0qqcg...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.