You cannot mix field definitions with 'FROM ARRAY' clause. For the 'FROM ARRAY' clause, the array has to have particular structure and content describe in the help for AFIELD() function.
See
Re: Adir() help Message #
909954 on how to add ADIR() array info to a cursor
>Can someone tell me what's wrong with my syntax on this?
>
>numfolders = adir(aFolders,'j:\*.*')
>
>create table myFolders (cName c(40),filesize N(10), filedate D ) from array aFolders
>
>Thanks
--sb--