Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fopen - Datatype mismatch
Message
De
18/07/2006 12:17:39
 
 
À
18/07/2006 11:29:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01137264
Message ID:
01137280
Vues:
19
>strFile ="h:\abc.txt"
>When I run =Fopen(strFile)
>there is an error said "DataType mismatch"
>
>What's wrong it is??
>thanks a lot

You sure it's not the variable into which you're returning your (numeric) file handle? e.g

lcFileHdl = ""
lcFileHdl = FOPEN( strFile) && Returns an error cos Fopen() returns a numeric file handle.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform