Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP!!! This code works in debug but not in program.
Message
De
17/09/1998 07:55:21
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
16/09/1998 16:27:56
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00137460
Message ID:
00137719
Vues:
17
>What happens if you change:
>lcCmd = 'USE ' + lcFile + ' IN 0 ALIAS ' + lcCurName
>to
>USE (lcFile) IN 0 ALIAS (lcCurName)
>?
>...snip
>>One other thing, the method's error handler picks up an error 'Structural index not found'. These files are downloaded from a vendor's ftp site and have no index files associated with them. If I use the same macro expansion from the code window, it runs just fine.
>...snip

Same Result. I tried running the code in a separate program with the same results.

Solved the problem late last night, though. Seems like the ON ERROR handler was causing some kind of problem. When we issue ON ERROR prior to running this loop and then turn ON ERROR &lcOnError, the code runs perfectly.

Thanks for the suggestion......
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform