Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fopen - Datatype mismatch
Message
From
18/07/2006 12:17:39
 
 
To
18/07/2006 11:29:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01137264
Message ID:
01137280
Views:
18
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform