Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: File()
Divers
Thread ID:
00862385
Message ID:
00862557
Vues:
17
<snip>

>>
>>With good reason apparently !
>>
>>
>>
>>Local cEmployeesFolder , xFile
>>
>>cEmployeesFolder = Addbs(Addbs(oApp.cEmployeeImagesFolder) + "_" + Transform(employees.Id))
>>If Not Directory(cEmployeesFolder)
>>	Md (cEmployeesFolder)
>>Endif
>>
>>xFile = cEmployeesFolder + "300x350.jpg"
>>lFileExists = File(xFile)   && this returns .T. when the file doesnt exist
>>lFileExists2 = Adir(aMyFile,xFile) > 0  && this returns false when the file doesnt exist
>>
>>
>
>Greg, please post the value of cEmployeesFolder and xFile after its allocation.

the value of cEmployeesFolder is "\\Server_ii\MIS\MIS\Shared\Images\EmployeePics\_235\"
the value of xFile is "\\Server_ii\MIS\MIS\Shared\Images\EmployeePics\_235\300x350.jpg"
Greg Foote
Software At Work, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform