Barry,
You may have not explicitly SET EXCLUSIVE OFF. Many of the SET commands are scoped to private datasessions, and have to be repeated for each form (or better put into your base formclass). Check Set Datasession in the Help for a complete list of SET variables affected.
HTH
Barbara
>Hello,
>I am developing VFP 6.0 (SP3) programs for a client while using their Clipper/Fox 2.6 files. I am experiencing a File Access error when more than one instance of my program is instantiated.
>They have two files - Invoice and Profile that contain no indexes. I only use them to open and then immediately copy them to a SYS(3) named temporary file for reporting purposes. They are opened as Shared files and then copied with the following code:
>
>Use Invoice in 0 shared
>Select Invoice
>ninvoice = sys(3)
>copy to ninvoice as 1252
>Select Invoice
>use
>(The same code is used for the Profile table).
>
>Many programs in this client's environment utilize these files simultaneously without any problem. My program works fine if only one instance is opened.
>Is there something I should be setting in my VFP program that I'm not?
>
>I am not writing any data to these files. I have Set Multilocks ON.
>
>Any help would be appreciated.
>
>TIA
>Barry