>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)