What are the symptoms you are seeing? How many .jpg files are there, and how many are showing up in your array? Do you see any pattern to the ones that aren't showing up in the array?
>Hi Jonathan,
>
>YES
>
>Path is:
>mHomePhotos_PAW = 'H:\HomePhotos_MLS\'
>
>No subdirectories or hidden files to worry about.
>
>Does the number of variables or memory have any thing to do with it?
>
>Thanks
>Roland
>
>=========================================================================
>Does your path end in a backslash? Try:
>>
>>
>>ADIR( aDirJpgFiles, ADDBS(mHomePhotos_PAW) + '*.JPG' )
>>
>>
>>>Hi,
>>>
>>>I seem to be having a problem with retrieving ALL filenames & file info into a Dbf using the ADIR() and APPEND command. I use the following code:
>>>
>>>USE DirPhotos IN 0 ALIAS DP EXCL
>>>SELECT DP
>>>ZAP
>>>
>>>DECLARE aDirJpgFiles(1,5)
>>>ADIR(aDirJpgFiles,(mHomePhotos_PAW)+'*.JPG')
>>>APPEND FROM ARRAY aDirJpgFiles
>>>RELEASE aDirJpgFiles
>>>BROW
>>>
>>>Anyone see any problems with the above code? If so, what would be the proper coding or work around?
>>>
>>>Thanks
>>>Roland