Re: Append general problem by Dan
Dan
Tue Oct 26 11:24:43 CDT 2004
This is one of the fundamental problems with General fields and one of the
reasons few people use them.
The display of a general field is the responsibility of whatever application
"owns" that data type on your machine. No two applications will display the
same thing at the same time. Sometimes you'll get an icon, sometimes a
filename, and sometimes the image. It gets worse when you move to another
machine because there may be another "owner" of that data type installed and
it may behave entirely differently.
There are other reasons not to use general fields. Please revisit this
requirement with your customer. It's a recipe for being less than
successful.
Dan
Anto Maric wrote:
> WinXPPro SP2
> VFP8 SP1
>
> Create cursor curImage (gImage G)
> select curImage
> append general from f:\images\saturn.jpg
>
> I create report with picture control. I selected 'picture from field'
> option with 'curImage.gImage' as a source. Instead of picture I get
> text 'saturn.jpg' on report. When I browse curImage I also have text
> 'saturn.jpg' in field. I must double click on text to see picture. I
> usually use 'picture from file' option for these tasks but in this
> case I must use append general option (Customer request. Don't ask
> why.) What is wrong here?