>
> >> How do you store the images in a general field (other than PCX,BMP)? I
> have
> >> not been able to figure out what "CLASS" to use in the "APPEND GENERAL
> >> fieldname FROM file CLASS....." statement. Or how to add a valid class
> for
> >> the GIF,JPG files.
> >
> >Aah. This changes things. FoxPro (at least FPW, I haven't tried VFP
> >with this) recognizes compressed .BMP files and expands them to their
> >uncompressed form. I don't have any idea why. The workaround for me
> >was to store the .BMP files as separate files and have the filename
> >stored in the .DBF.
> >
> What do you mean by storing "the .BMP files as separate files and have the
> filename stored in the .DBF"? How about an example? Isnt the *.BMP already
> a "separate file"? I know that by using the "LINK" verb you are
> (supposedly?) storing a reference to the file (*.BMP,...) in the general
> field as opposed to a copy of the file in the field. In any case, are you
> talking about *.BMP or GIF & JPG files?
Yes, the LINK clause will store a reference, not the actual file. I
didn't see this in your example above, so I assumed it wasn't there.
And I'm strictly talking about .BMP files stored with RLE encoding. I
missed the line above saying "(other than PCX,BMP)".
Have you had a look at Espia for displaying the images? It seems to be
fairly well advertised.
/Paul