Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File in use by another user - Error message
Message
From
06/02/2008 02:44:54
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01289944
Message ID:
01289947
Views:
21
Gerard,

you can't trace inside the DO FORM ? So, for example the LOAD event will never be shown?

The problem isn't the code within you form, it's the scx. To instantiate the form, VFP reads the scx file. (and, if, any vcx that hold class definitions used). The message say that reading that an error occurs.

I would guess that you have forms that are not compiled within an application or exe file.
The form is open with an editor, used otherwise or two users try the same thing simultaneously.

I would suggest to build a exe and run those.

You may also catch the error an retry some seconds later.
BTW. It would be nice to have the VFP version field filled, that would make it easier to provide help.

Agnes
>Hi.
>I am getting a very intermittent error. This happens about twice a day on a busy site (about 6 users).
>..Error loading File..record no 26..MyForm .or one of its members. loading form or the data environment..FILE IS IN USE BY ANOTHR USER
>
>The command line that generates the rror is the Dblclick event of a Listbox and the code is:
>Do Form MYFORM with Param1,Param2,Param3
>
>Myform is a Private Data session form. In its Load Event it has code like:
> Create Cursor Trn ........
>
>I would'nt have thought there was a problem with this code as a new Cursor should be created each time..or maybe the problem is elsewhere...
>
>This is really baffling,particlarly because its so intermittent...It is happening however on a no. of different sites..
>
>Any help appreciated .
>regards,
>Gerard
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform