>LOCAL ARRAY laFilename[1] >lnTotalFiles = adir(laFilenames, "*.*") >for lnFile = 1 to lnTotalFiles > insert into mytable (filename, size, attributes) ; > values (laFilenames[1], laFilenames[2], laFilenames[5]) >endfor>Or something similiar to the snippet above.
IF ADIR(laFiles,"*.*","A") > 0 CREATE CURSOR cFiles (cFileName c(50), iFileSize i,; dLastMod d, cTimeMod c(8), ; cFileAttrib c(5)) INSERT INTO cFiles FROM ARRAY laFiles BROWSE ENDIF