John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement