Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR not retreiving all directory filenames into DBF
Message
De
29/10/2002 12:52:52
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
À
28/10/2002 20:56:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00715886
Message ID:
00716515
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform