Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Reading file
Message
 
À
15/06/2005 12:41:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01023245
Message ID:
01023694
Vues:
12
So whats the error 1104 is then?

At least my foxpro rises the error 1104 "Error reading file"

Mainly trick in the code I send is that do things before and avoid the "error reading file" error never happening.

I found that in my case it was always connected to the issue that DBC has left open in my computer (or mayby better to say that fetched TMP DBC has left open but the pointer to DBC in remote has corrupted because of the connection loosed) when connection to the remote was loosed even a while => opening a table (in that DBC) generates the "Error reading file" error.

I tested it as follows:

* Test1
- Connection OK
CLEAR ALL
CLOSE ALL
RELE ALL
USE table1 && DBC table
USE table2 && Free table
use IN table1
use in table2
* unconeected the LAN-wire
- no connection
USE table1
USE table2

* Test2
- Connection OK
CLEAR ALL
CLOSE ALL
RELE ALL
USE table1 && DBC table
USE table2 && Free table
* unconeected the LAN-wire
- no connection
use IN table1
use in table2
USE table1
USE table2

Usually USE table1 generated the ´"error reading file" error but USE table2 never. Always I was able to open table1 without error when I first closed the DBC.

AT



>Hmmm...
>
>As I know "Error reading file" can not be intercepted by an VFP Error Handler. If so, how your code works?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform