Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying images from Image field in SQL table
Message
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01146286
Message ID:
01146303
Views:
18
>Hi Vladimir,
>
>after querying the table I get indeed a field of type General in vfp. When I run a simple form with an olebound control on it, which has its controlsource set to the General field, I get following error message:
>'OLE object is invalid or corrupted. Unbinding object oleboundcontrol1.'
>Any idea why ?
>
>Best Regards,
>Hans

Becuase data stored in that General field is not exactly in format VFP expected. There is no information about Class which manage the picture.
Check Vlad Grynchyshyn's How to work with Image field type on SQL Server (binary data) FAQ #7995
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform