Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To acess file from a path stored in a field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01331794
Message ID:
01331797
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
>I stored the paths to files in dbf files fields
>
>How can I double click the path in the grid of my form I display the file in order
>to copy it or delete it ?

Copy:
lcFile = ALLTRIM(YourCursor.Field)

COPY (lcFile) TO .....
The same is for delete:
lcFile = ALLTRIM(YourCursor.Field)

ERASE (lcFile)
But for display you should use ShellExecute to invoke the default application that handle that type of file.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform