*!* Try changing the code above to this:
pnFileCount = ADIR(paFiles,'*.dat')
FOR lni = 1 To pnFileCount
APPEND FROM (paFiles[lni]) DELIMITED
ENDFOR
*!* Or if you'd like you can do it like this:
lcPathAndMask = "C:\*.dat"
lcFile = Sys(2000, lcPathAndMask)
Do While !Empty(lcFile)
APPEND FROM (lcFile) DELIMITED
lcFile = Sys(2000, lcPathAndMask, 1)
Enddo
craig1442@mchsi.com
"Whom computers would destroy, they must first drive mad." - Anon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.