Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture
Message
From
15/04/2004 02:26:26
 
 
To
15/04/2004 02:08:06
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00894721
Message ID:
00895031
Views:
26
>hello,
>thank you,
>
>this is my code
>
>I store a picture in myform(pic)
>
>select 1
>use pic
>APPEND GENERAL pic FROM d:\manylast\newlamp.bmp(no problem)
>
>.......
>
>But when I write this code
>select 1
>use pic
>locate for no=thisform.text1.value
>thisform.IMAGE1.value= general .from . pic.pic
>
>(error message operator is invalid for a general field)at query form.

Mohammed. You cannot store the contents of the general field to the picture property of the image control. Instead of reading the bmp into your pic memo field just do this:
thisform.IMAGE1.picture = "d:\manylast\newlamp.bmp"
Do not use APPEND GENERAL for this example. You do not need it.

PS. image control does not have a value property as per your code.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform