duongduong12345
Programmer
Hi all,
Please help me !
I design the form in visual fox 9.0.
I used OleBoundCotrol to design General Field, i add picture to this field by code below:
--------
Local cJPGFile
cJPGFile = Getfile('jpg')
If !Empty(cJPGFile)
Select nhan_vien
Append General hinh From (cJPGFile) LINK
= Tableupdate()
Thisform.hinh1.refresh
Endif
--------
That code is ok, i mean it can add the picture to the general field
But after i add the picture, I CAN NOT see the picture, there's only a name of picture's file.
That picture only is view when i doulbe click on this picture.
I tried to change AutoActivate in field's properties but it's not ok.
Kindly help me
NCD
Please help me !
I design the form in visual fox 9.0.
I used OleBoundCotrol to design General Field, i add picture to this field by code below:
--------
Local cJPGFile
cJPGFile = Getfile('jpg')
If !Empty(cJPGFile)
Select nhan_vien
Append General hinh From (cJPGFile) LINK
= Tableupdate()
Thisform.hinh1.refresh
Endif
--------
That code is ok, i mean it can add the picture to the general field
But after i add the picture, I CAN NOT see the picture, there's only a name of picture's file.
That picture only is view when i doulbe click on this picture.
I tried to change AutoActivate in field's properties but it's not ok.
Kindly help me
NCD