Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can photos be stored in VFP?
Message
 
À
09/11/2008 09:00:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01360739
Message ID:
01360793
Vues:
11
>Thank you Craig.
>Could you please be more explicit about how to do that?

Create a table with a field for storing the name of the photo file something like;
MyPhotos.dbf
Field Name   Type
PhotoFile       C (80)
Now store your photo files in a folder on disk somewhere perhaps a folder named C:\Photos. You have a photo named John.jpg so you add a record ot the table and put the file name in the field;
INSERT INTO MyPhotos (PhotoFile) VALUES ("John,.jpg")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform