So, the images are already stored in the table? And you have no control over the way they are stored? Is that right?
If so, a possible approach would be to export the images you require to free-standing files on an
ad hoc basis, as and when you need them. And to do that within SQL Server.
So, if your VFP app needs an image for Animal 123, you would get SQL Server to copy the image from Record 123 to a disk file, called, say, 123.jpg. Provided the file is placed in a directory accessible to your VFP app, you can then access it as normal.
So how do you get SQL Server to copy the image to a disk file? There are several possible approaches, including using the BCP utility, or with SQL Server Integration Services. You would write the code to do that in T-SQL, but run it from VFP via SQLEXEC().
I stress that I have never actually done this, so I can't be sure how well it would work. I offer it as something to consider and perhaps to experiment with.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads