Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Russell Hill
  Where is Russell Hill?
 Sydney
 Australia
 Russell Hill
 Tags
Subject: File is in use & VFP 8
Thread ID: 21801 Message ID: 21801 # Views: 28 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Wednesday, April 02, 2003 12:45:52 AM         
   


Hi all.

I have a strange message on a simple line of code.

On trying to debug it the situation seems even stranger.

I have code:

SELECT 1
USE file1
SELECT 2
USE file2
SELECT 3
USE file3
SELECT 4
USE file4
SELECT 5
USE file5

My program crashes on the USE file5 line with the message "File is in use".

That's stange enough, but if I change the order of the SELECT statements to, for eg, have SELECT 4...USE file4 after SELECT 5...USE file5, then the program crashes on the USE file4 line with the same message.

In either situation a DISP STAT shows me that none of the files are open before I start the SELECT statements.

Does anyone have any ideas?

Secondly, I'm thinking of getting VFP 7 or VFP 8. Are there any known bugs which would suggest the better version to obtain?

And will my existing VFP 6 projects automatically work if I install a later version?

Thanks in advance.

Russell.











COMPLETE THREAD

File is in use & VFP 8 Posted by Russell Hill @ 4/2/2003 12:45:52 AM
RE: File is in use & VFP 8 Posted by Jamie Osborn @ 4/2/2003 4:24:51 AM
RE: File is in use & VFP 8 Posted by Russell Hill @ 4/2/2003 5:47:30 AM
RE: File is in use & VFP 8 Posted by Khalil Shaddad @ 4/2/2003 6:18:01 AM
RE: File is in use & VFP 8 Posted by Russell Hill @ 4/2/2003 6:34:31 AM
RE: Anybody experienced such an error? Posted by Khalil Shaddad @ 4/2/2003 6:55:54 AM
RE: Anybody experienced such an error? Posted by Bebot Chan @ 4/2/2003 8:47:18 AM
RE: Anybody experienced such an error? Posted by Russell Hill @ 4/3/2003 12:06:06 AM
RE: File is in use & VFP 8 Posted by Goran Zidar @ 4/3/2003 6:25:20 AM
RE: File is in use & VFP 8 Posted by Russell Hill @ 4/3/2003 7:00:27 AM