Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 'File Not Open' when issuing a Close Database
Message
From
08/06/1998 14:46:22
 
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00105949
Message ID:
00105997
Views:
33
STUPIDITY RULES!!!

I found my problem when I try to close files I got a 'File Not Open' error.
The problem is I had an index cross linked between files. See following code:


** set index for reports
SELECT rpt15
INDEX ON avcost DESCENDING TAG cost OF rpt15
INDEX ON emp TAG emp OF rpt15 ADDITIVE
LOCATE

SELECT curcost
INDEX ON emp TAG emp OF curcost
INDEX ON avcost DESCENDING TAG cost OF rpt15 ADDITIVE
LOCATE

The Second index statement for curcost creates an tag for curcost in rpt15's CDX file. I hate typos!!!!
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Reply
Map
View

Click here to load this message in the networking platform