>Hi thanks, yes they have the same structure. I'm trying the code you gave me and made some modification. The file is .DAT, I'm getting error on the use (m.lcMyDir + laFiles[m.lnI,1]) in 0 alias Workfile. It says NOT A TABLE/DBF.
>
>I'm trying to work that out. Thanks! :)
If the file is .DAT you can not open it with the USE command.
In other words, the code now would be even simpler, something like
append from (m.lcDir + laFiles[m.lnI,1]) type SDF && (or what is your type?)
If it's not broken, fix it until it is.
My Blog