Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fcreate worked before, but not now?
Message
From
15/03/2013 16:49:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Fcreate worked before, but not now?
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01568525
Message ID:
01568525
Views:
110
Hi and happy Friday

I need to create several text files and most of them are being created from existing 'master' files with some minor changes.
  mfh = Fopen('c:\temp\' + m.TestSection + m.TestCycle + '.cna')		&& Source file
  mfo = Fcreate('c:\temp\' + m.TestSection + m.TestCycle + '.anc')		&& Target file
m.TestSection and m.TestCycle are defined as either 'R' or 'L' and '022013' respectively.

The above two commands worked perfectly in the section above this one, and yes, I did issue an fclose() on each. The fopen works but the fcreate returns a -1 with no error.

Can anyone see anything wrong with this?

Thanks

Dorris
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Next
Reply
Map
View

Click here to load this message in the networking platform