Results 1 to 3 of 3

Thread: data report help needed

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    182

    data report help needed

    i need to include images from a database in the data report ...can any body tell me how to do it..i have done that in crystal reports but due to some reason i cannot use it
    thanx

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: data report help needed

    According to MSDN, the rptImage control cannot be bound to a data field. You can load the image in code using something like

    VB Code:
    1. Set DataReport1.Sections("Section1").Controls(1).Picture = LoadPicture("c:\windows\FeatherTexture.bmp")
    2.     DataReport1.Refresh

    I don't think you can show an image per record.
    Last edited by brucevde; Nov 4th, 2005 at 01:36 AM.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: data report help needed

    Moved to Reporting section.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width