Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print image from a blob field
Message
From
09/03/2012 09:42:05
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00962468
Message ID:
01537729
Views:
81
>>Naomil,
>>
>>Just curious on 2 things:
>>
>>i) what made you decide to comment on a message by Colin form 2004 today?
>>ii) why do you use BLOB fields - they are a p.i.t.a. better store your pictures somewhere and call them, to avoid a) BLOB and b) table becoming too big.
>>
>>Regards,
>>
>>Koen
>>
>Koen,
>
>Do you have anything to say on the topic of the printing blob fields?
>
>We're storing data in SQL Server and I retrieve them as blob fields. Now I want to print a report with these fields. I did create a workaround (since I only needed to print 1 row), but I am wondering if SET REPORTBEHAVIOR 90 is the requirement for the above code to work correctly?
>
>The code works fine in Preview, but doesn't print when I use CutePDF as a printer. I am using ReportBehavior 80.
Naomi,
It is just that I have had very very bad experience with BLOB fields and I was just wondering why you use them.

The above code by Lisa only works with reportlistener.vcx and therefore with Reportbehavior 90.
Set RB to 90, if it works fine in preview print it with a normal printer first. If that's ok and it does not print with CutePDF, you know whom to blame.
Good luck
Regards,
Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform