>Dear all,
>
>I faced another problem. Please help. THanks in advance.
>
>I created a table with a general field to keep picture.
>For example.
>
>eg.picture General 4
>
>The saving part is ok but when I tried to retrieve the
>general field and display it in my form it gave me
>an error "Function argument value, type, or count is
>invalid". I followed the example coding in tastrade but
>still generate error.
>
>The coding goes like this.
>
>LOCAL lcfile
>
>store "" to lcfile
>* IF FILE(eg.picture)
>lcfile = eg.picture
>ELSE
>lcfile = ''
>ENDIF
>thisform.imgphoto.picture = lcfile
>* this is the part which the debugger point at and give
>me an error message.
>What is wrong? Please help.
>
>Dora
Is your 'imgphoto' control a 'OleBoundControl' ? This is needed to display a
general field.
;0)
-------- REPLY, End of original message --------
Dear Gerald,
No. The imgphoto is not an OLEboundcontrol. It is an ordinary image object.
I will try with the oleboundcontrol object. THanks.
Dora
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement