Pictures in DataReport

shminhas
01-12-2004, 08:26 AM
I need help to print the Pictures stored in Access database through VB program and whenever I want to print the list of pictures that must be through from DataReport/Access Reporter fromm VB Program.

I tried from many angles but in vain,,, soo please some one help me........!

When I store the pics directly fromm access table with Insert Object (Bitmap)... Its is stored and cann be printed from Access repoorter but when I try to store from VB program, it sshows that it is store in "Long Binary" word in table but not print In report even in DataReport/Access Report.


Thanx in Advance

shminhas
01-13-2004, 03:12 AM
Please some one Help Me.................................!

to Store Pics in Access Database via Visual Basic Program and print the stored pics at the Datareport or any reporter as a list of records........

I tried it but instead of pics some funny character are printed at report,


Please it is very Urgent.....for my job stability.......For GOD sake......

Shurik12
01-13-2004, 06:21 AM
Hi,

I think what you could try to do is to save a path to a picture in your table, place rptImage control (in Details section?)


Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Image1.Properties("Picture") = "You_path_here"
End Sub


Regards,
Shurik

shminhas
01-14-2004, 06:44 AM
Thanx But Where I put this code...!

Shurik12
01-14-2004, 07:09 AM
If I understand correctly, you are automating Access and showing
a report which is already created in Access. You could try to put this code "behind" the report itself, meaning in the On Format Event of the Details section.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum