Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fcreate worked before, but not now?
Message
De
15/03/2013 16:49:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Fcreate worked before, but not now?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01568525
Message ID:
01568525
Vues:
108
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform