Hello Andy,
Thanks for trying to help me.
> JustPath only works if the target HAS a path. You can't use it on just a file name because there is no path associated with it. SO you either need to include the path in the file name, or dervie it somehow.
newpath=Justpath(myoldfull)
As I thought I stated in my post myoldfull contains the full path as provided from an ADIR()
Using the debugger I do see the correct path with curdir()
>
> As for the USE command, it expects a name expression so you can use: "USE (lcFileName)"
>
One part of my post was incorrect
I DO use
USE (myoldfile) In 0
I had tried without the () in desperation.
Consequently I am still frustrated that the USE command does not work.
Yours is a critical routine to open all 20 tables easily and then make copies of them.
> Merry Christmas
And to you and yours and a Happy New Year for 2009.
-Bryan