Connecting Tech Pros Worldwide Forums | Help | Site Map

How can i load picture in image control in Report..

Newbie
 
Join Date: Mar 2007
Posts: 1
#1: Mar 29 '07
Plz give me some clue or code to load a picture in image control in Report.. i am going to show a pic of a person who is a regular customer of a super market...

Newbie
 
Join Date: Apr 2007
Posts: 1
#2: Apr 30 '07

re: How can i load picture in image control in Report..


Quote:

Originally Posted by pram

Plz give me some clue or code to load a picture in image control in Report.. i am going to show a pic of a person who is a regular customer of a super market...


U can't directly load picture in image control in Report.

U can use an image control and pass it to image in report

Hide the image box.

The code is

first create a image box named image1 in form

Then set the picture property of image control in design time or at runtime
Image1.picture=loadpicture(picture path)

set datareport1.sections("section1").controls("image1" ).picture=image1.picture
Reply