Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can photos be stored in VFP?
Message
 
To
09/11/2008 09:00:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360739
Message ID:
01360793
Views:
10
>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")
Previous
Reply
Map
View

Click here to load this message in the networking platform