Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Detect no data in a text file
Message
De
23/08/2005 17:25:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01043067
Message ID:
01043082
Vues:
14
Is this a text file created by your system? If so, can't you just tell that there were no records to send this time?

>We have a system where we upload text files into an AS400 as input. Unfortunately, since the two systems, FoxPro and AS400 are quite separate, we have to give input to the AS400 in this text mode.
>
>What I need to do is to detect that a text file has no data in it so that I can run a FoxPro program that will reverse an update flag field. The Question is How do you detect that a text file has no data in it? Use low-level commands?

(On an infant's shirt): Already smarter than Bush
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform