John Baird
Coatesville, Pennsylvania, United States
General information
Category:
Coding, syntax & commands
>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......
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only