Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture field in a form
Message
 
À
13/01/2012 09:54:12
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01532874
Message ID:
01532876
Vues:
46
>>I create a form with all my students information without any problem, later I add a general field so that I can insert their picture.
>>I was able to insert their picture through the form but in the olepicutre is only display a icon and not the picture of the student.
>> what I did wrong or what can I do to show the picture of the student in the ole
>>Thank you
>
>Rule #1: Never, absolutely NEVER use a general field
>Rule #2: If you need to use a general field, see rule #1.
>
>Instead you save the pictures as separate files, and only store the file name in the table, with or without the path. Optionally you use the new blob field type to store the picture, and use the Pictureval property of the image control.

If you want to use BLOB see Rule #1 :-)
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