Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR not retreiving all directory filenames into DBF
Message
From
28/10/2002 20:56:43
 
 
To
27/10/2002 16:45:37
Jonathan Cochran
Alion Science and Technology
Maryland, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00715886
Message ID:
00716287
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform