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

Click here to load this message in the networking platform