>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only