Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handling in Scan Endscan Loop
Message
De
29/01/2014 04:42:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Error Handling in Scan Endscan Loop
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01592536
Message ID:
01592536
Vues:
105
I have a SCAN-ENDSCAN loop with Millions of records in between. The records are infact the name of Files like C:\Bills\1.txt,c:\bills\2.txt.

The code between takes the files and edit the TXT files as per my requirement.

Generally Things go fine, however sometimes there are files with error inside TXT files only and my code does not satisfy the condition and therefore gives an error window like

CANCEL,SUSPEND,IGNORE.

At this time I Select IGNORE and my process goes further to the next record.

Is there anyway by which is during course of SCAN ENDSCAN Error occurs, it should automatically IGNORE and move to the next record. so that I have not to wait infront of the screen for contionious monitorng

If yes, kindly provide the piece of that Code.

Regards
Harsh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform