>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)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca