>I am experiencing an intermittant problem creating or opening text files. FOPEN and FCREATE both will occationally return an empty string rather than a numeric file handle. If I exit VFP and restart it works fine. I am running VFP7 SP1 on Win2k Pro Build 5 SP4. Any thoughts on this would be appreciated.
Jeff,
Just finished reading your answer to Cetin.
It is most likely imo that you have a currently selected table/cursor with a field name that is the same as your variable
this is consistent with the behaviour of gets() && fputs() you described
?fgets(' ', 20)
?fputs(' ', 'ppp')
Gregory