Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter/Retrive Picture/Signature from database
Message
De
10/08/2008 12:53:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/08/2008 09:11:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01337885
Message ID:
01337913
Vues:
14
>Greeting all.
>
>Please, i'm having issue with my program on payroll. I need to attach/save the employees' picture and signature against their record.
>
>Please can anyone assist me on how to use VFP 6 in achieving it. All my programs are written on VFP 6 but I do not know how to code the picture and signature, that on click of a button and entering an employee's name/number, it will display the records, picture and signature of the staff.
>Thanks

Most programmers here will agree that you should NOT use a General field. It takes up too much space, and it is difficult to get a picture back out.

The usual recommendation is to keep the picture as a separate file, for example, a JPG file. In the database, you will only have the name of the picture file.

You can show this picture on the form, with an Image control. You will need some commands to update the picture on the Image control, for example, when you change to another record.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform