Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to verify if file exist an place the path on my curs
Message
De
07/06/2013 06:49:41
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
 
 
À
07/06/2013 04:37:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01575803
Message ID:
01575823
Vues:
32
Hello Tore

I try with your last coding but without sucess, but if i change where i put : "&&I change here, your code work."
Why that fail if i use a path with ip address like \\127.0.0.1\Imagens\

Thanks for your interest to help me, i wait for your reply.
Luis Santos

Local lcFile As String, ;
lcImageName As String, ;
lcImagePath As String
Select ImgMarca && My cursor name
m.lcImagePath = ([c:\imagens\]) && I changed here
Scan
m.lcImageName = Alltrim(ImgMarca.campo)
m.lcFile = m.lcImagePath + m.lcImageName + [.jpg]

If Adir(laDummy, m.lcFile) > 0 && i change here
Replace u_imgMarca With m.lcImagePath + laDummy(1, 1)
Else
Replace u_imgMarca With []
Endif
Endscan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform