Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 'File Not Open' when issuing a Close Database
Message
De
08/06/1998 14:46:22
 
 
À
08/06/1998 14:04:25
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00105949
Message ID:
00105997
Vues:
34
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform